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.

ADS1115的RDY脚输出与设定SPS不同步的问题

Other Parts Discussed in Thread: ADS1115

你好,

1,我的驱动中设置SPS为250的连续转换模式,即每秒转换250次。

2,将ADS1115配置的比较器low threshold配置为最大值0x7fff即+32767,hi threshold配置为最小值0x8000即-32768。

3,转换完成后RDY脚输出到芯片产生中断,然后芯片通过I2C读取转换数据。

碰到的问题:当SPS为250的连续转换模式下,RDY脚(pin2)输出的波形不等于250Hz,实际在205Hz左右。测试了其它SPS,同样RDY脚输出的波形不等于设置的SPS。请问问题出在哪里?RDY脚输出的波形如下:

ADS1115配置数据如下:

1,设置low thresh register(2H)寄存器值为0x7f,0xff (0x7fff)

2,设置hi thresh register(3H)寄存器值为0x80,0x00 (0x8000)

3,设置config  register(1H)寄存器值为0x86,0xb0 (0x86b0)启动连续转换

4,将寄存器指向conversion registor(0H)

我的目的:希望配置好ADS1115后,RDY脚能按设定的SPS输出信号触发芯片中断来读取数据。

烦请帮分析下是什么原因,谢谢你。