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:是否需要在超时后调用 i2cSetStop()?

Guru**** 2459220 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1158670/tms570lc4357-is-calling-i2csetstop-after-a-timeout-necessary

器件型号:TMS570LC4357

大家好、TI Gurus:

假设我正在超时的循环中检查 i2cIsRxready()和 i2cIsBusBusy()。

问:如果达到超时,是否需要调用 i2cSetStop()来重置总线? 如果没有、   超时后的内务处理方法是什么?

我们始终非常感谢您的帮助。  

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

    Joe、您好!

     超时后、需要发出停止条件以释放 I2C 总线并清除 I2CSR 寄存器中的 BB 位。