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.

ADS8345转换问题,求解答

Other Parts Discussed in Thread: ADS8345

最近在使用ADS8345做AD转换,采用单端输入方式输入,按手册SPI接收数据时。逻辑分析仪采集到的数据如下图:

下图是输入电压超过参考电压采集的。

参考电源是1.5V(1/2 Vcc),为什么我在输入0V的时候,输出第二位一直是高电平,也就是第一个byte是0x40,

为什么①处的只要输入电压小于参考电压的时候,一直是怎么理解,

②处一直是高位,这个理论上应该是LSB,与手册上时序对不上

x1 = SPI_WriteByte(SPI1, 0) & 0x3F;

x2 = SPI_WriteByte(SPI1, 0);

x3 = SPI_WriteByte(SPI1, 0);

ADC_DCS();

value = ((x1 << 9) | (x2 << 1) | (x3 >> 7));

return value;

这是最后的计算等式,现在输出结果最大值是32767,为什么不是65535。