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.

[参考译文] CCS/SM72445:I2C

Guru**** 2465890 points
Other Parts Discussed in Thread: SM72445

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

https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/681805/ccs-sm72445-i2c

器件型号:SM72445

工具/软件:Code Composer Studio

我使用 i2c 通信将 sm72445与控制器连接、在这种通信中、我遇到了 i2c 问题、我获取的数据为 02 E0 03 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

以进行以下编码


I2C_start();
I2C_WRITE (0x02);
I2C_WRITE (0xE1);

I2C_start();


I2C_WRITE (0x03);

for (i=0;i<=7;i++)

data[i]=i2c_read (真);

I2C_STOP();

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    请参阅回复同一主题上的其他帖子。 让我们关闭这里的这个线程。