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.

[参考译文] UCD9081:读取 Rails 时通过 I2C 接收到 nack

Guru**** 2553260 points
Other Parts Discussed in Thread: UCD9081

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

https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/1075577/ucd9081-nack-received-over-i2c-when-read-rails

部件号:UCD9081
“线程: 测试”中讨论的其它部件

我们使用 Raspberry PI4作为 UCD9081的 Linux Master 运行 i2c 每100毫秒读取一次。

由于 UCD9081使用了链路上的 SCL,我们将主中继器配置为使用软件 i2c,而不使用其所拥有的 i2c 硬件,因为它不支持链路上的链。

但是,我们偶尔会遇到通信错误,无法确定问题所在。

在该图中,我们可以看到主控制器的 i2c 最终在 SCL 中产生1,584ms 的暂停,此时 UCD 返回一个 nack。 默认情况下,主 I2c 最终尝试再次发送相同字节,但 UCD 仍返回 NAKC。

由于 i2c 通信是异步通信,并且主中继器拥有控制 SCL 的特权,因此我们无法确定出现这种情况的原因。