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.

[参考译文] ADS7828:ads7828 -读取问题

Guru**** 2386620 points
Other Parts Discussed in Thread: ADS7828
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/data-converters-group/data-converters/f/data-converters-forum/1008001/ads7828-ads7828---reading-issues

器件型号:ADS7828

我在 RaspberryPi4上使用 smbus 读取 ADS7828的数字。

我写入0x48、0x84以在单端模式下读取 Ch0。

我无法使用相同的方案读取其他通道。 例如、当我尝试读取 Ch1时(使用0x48、0xC4)、它将返回 Ch0的读数。 这太令人困惑了。

要逐个读取所有通道、应通过 smbus 写入什么内容?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    命令字节看起来是正确的、但地址字节似乎被移位。  

    我相信您尝试使用的地址实际上是0x90、而不是0x48。  

    此致

    Cynthia