我用的是ti的slaa222a中的单电感的例程
遇到的几个问题:
1、向SIFDEBUG写入0x01,0x02读到的SIFDEBUG值为0;
2、在金属圆盘经过电感附近时,SIFCNT没有计数的动作,内容一直为零;
3、管脚SIFDACOUT是不是参考电压的输出,如果是参考电压的输出的话,它是根据什么进行计算输出的呢,是根据SIFDACRx 和SIFDACRx+1中的值吗?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我用的是ti的slaa222a中的单电感的例程
遇到的几个问题:
1、向SIFDEBUG写入0x01,0x02读到的SIFDEBUG值为0;
2、在金属圆盘经过电感附近时,SIFCNT没有计数的动作,内容一直为零;
3、管脚SIFDACOUT是不是参考电压的输出,如果是参考电压的输出的话,它是根据什么进行计算输出的呢,是根据SIFDACRx 和SIFDACRx+1中的值吗?
第一个问题的答案。
请参考www.ti.com/.../slau056j.pdf 中 Scan IF Debug Register
Only the lower two bits should be written when writing to the
SIFDEBUG register and only MOV instructions should be used write to
SIFDEBUG. After writing the lower two bits, reading the SIFDEBUG contents
gives the user different information. After writing 00h to SIFDEBUG, reading
SIFDEBUG shows the last address read by the PSM. After writing 01h to
SIFDEBUG, reading SIFDEBUG shows the index of the TSM and the PSM bits
Q7 to Q0. After writing 02h to SIFDEBUG, reading SIFDEBUG shows the TSM
output. After writing 03h to SIFDEBUG, reading SIFDEBUG shows which DAC
register is selected and its contents.