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/TMS570LS1227:i2cSendByte()函数是否无法发送数据0?

Guru**** 2393725 points
Other Parts Discussed in Thread: ADS122C04

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/932589/ccs-tms570ls1227-is-the-i2csendbyte-function-unable-to-send-data-0

器件型号:TMS570LS1227
主题中讨论的其他器件:ADS122C04

工具/软件:코드 컴포저 스튜디오


在实现 ADS122C04 IC 的 I2C 配置集时发生。
通过使用 I2CSEND 发送8个字节来使用问题本身没有任何问题。

如果使用 I2CSendByte()函数发送数据0,则没有响应。


如果我在 TD 缓冲区中输入值0、我想知道不响应是否正常。

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

    您好、Dongwook、

    0是 I2C 通信中的有效数据。 但0不是 ADS122C04的有效命令(RESET、PWRDN、START、RDATA、PREG、WREG)。 发送从器件地址后、您是否获得了 ACK?