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.

ADS1220: 得到的转换结果减半

Part Number: ADS1220

  测量AIN1的电压为1.3左右,但是AD转换出来的换算电压值为0.65左右,非常疑惑

  • 芯片丝印为ADS1220 18KG4 CE06

  • 您好,

    您读取的AD转换出来的code是多少?Gain设置多少?我想看下您这里换算为模拟输入电压的时候是否有误;

    您是在SCLK的下降沿读取的数据吗?

    您是使用的哪种模式?Continuous 还是Single-Shot?DRDYM bit设置的是0还是1?我是建议您用示波器抓下SPI 波形,看下24bit 数据读取时序是否有异常?

  • 另外确认下供电电压和基准电压实测正常?外接基准电压是2.5V对吗?

  • 外接2.5V正常,波形正常,我查了下论坛资料说是测量范围时0x800000~0x7FFFFF,我现在除数都是16777216/2减半

  • 是的,输出code 范围是0x800000~0x7FFFFF,1LSB= (2 · Vref / Gain) / 2^24 

    增益Gain设置多少?可以根据这个公式计算出1LSB,然后用输出code 乘以1LSB就是对应的输入模拟电压值