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.

[参考译文] TMS570LC4357:如何实现IIC数字回路?

Guru**** 2463330 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1104385/tms570lc4357-how-to-implement-iic-digital-loop-back

部件号:TMS570LC4357

各位专家,您好!

手册没有详细描述如何实施I2C的数字回送测试。
据我所知,I2C需要配置I2CMDR的位6才能使用环回。

我不清楚的是应该如何发送和接收测试数据。

(Q1)在将数据写入I2CDXR寄存器并立即读取i2CDRR寄存器后,我们是否需要使用启动和停止位(并将地址设置为自)执行完整的数据传输并等待在I2CDRR中接收数据?

谢谢,顺祝商祺!
最大

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

    您好,Max,

    设置DLB位将启用I2C数字回送。 在环回模式下,还会生成和传输启动/停止位和从属地址。