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.

[参考译文] TMS320F2800157-Q1:使用 I2C 总线在两个微控制器之间进行通信

Guru**** 2544120 points
Other Parts Discussed in Thread: C2000WARE

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1388906/tms320f2800157-q1-communication-between-two-micro-controller-using-i2c-bus

器件型号:TMS320F2800157-Q1
Thread 中讨论的其他器件:C2000WARE

工具与软件:

您好!

我正在尝试使用 I2C 总线在两个微控制器(都处于控制器模式)之间进行通信 一个控制器发送命令、另一个控制器应发送回响应。 请提供相同的代码。

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

    您好!  

    您可以参考 C2000Ware 中提供的示例。  该文件夹中提供了 I2C 示例 \driverlib\f280015x\examples\

    您可以参考 i2c - i2c_ex3_external_loopback 和 i2c_ex5_controller_target_interrupt 示例、并根据您的用例开发代码。

    此致

    Siddharth