ADS8328数据可以读取,但是在某些位置输入电压变化后采样值确没有变化,且出现的位置基本都在0x??fc位置(??是任意值),CFR配置是0x06FD.求解,谢谢
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.
请问,你这个问题后来解决了吗?
我现在也遇到了类似的问题,CFR的配置也是0x6FD;其他的操作都正常,但是读取转换结果,最低位,一直是c,一直不变,如0x91c, 0xa0c,0x35fc等等。。
甚至手册中,关于读取adc结果这块有个特殊的说明,也就是读取adc的结果不仅仅可以用1101(0xd)这个命令,其他类似的操作(我用了写cfr的命令,16个sclk,确实可以读到值)。验证了这种方法也是
可以,但是读到的结果还是一样,低4位基本都是0xc,偶尔有个别的其他值,但是极少。
NOTE:
Whenever SDO is not in 3-state mode (that is, when FS/CS is low), a portion of the conversion result is output at the SDO pin. The number of bits depends on how many SCLKs are supplied. For example, a manual select channel command cycle requires 4 SCLKs; therefore, 4MSBs of the conversion result are output at SDO. The exception is that SDO outputs all 1s during the cycle immediately after any reset (POR or software reset).