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.

[参考译文] UCD9090:如何使用 I2C 命令读取 DEVICE_ID (0xFD)?

Guru**** 2473260 points
Other Parts Discussed in Thread: UCD9090

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

https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/687211/ucd9090-how-to-read-device_id-0xfd-using-i2c-commands

器件型号:UCD9090

我将使用 提供以下命令的 QNX I2C 资源驱动程序与 UCD9090通信:

读取 DEVICE_ID (0xFD)、 LOADD_FAULTs (0xEA)、 LOGGE_FAULT_DEail (0xEC)需要发出读取或 R/W 块命令。
我可以使用 I2C send/recv/sendrecv 结构执行单字节 R/W 命令、以便读取电源轨电压、电流、温度等

如何使用 I2C send/recv/sendrecv 结构构造适当的 SM/PMBus 块读取?