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.

[参考译文] TMS570LS3137:I2C 和 DMA

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/915719/tms570ls3137-i2c-and-dma

器件型号:TMS570LS3137

你(们)好

是否有一个有关如何使用和设置 i2c 与 DMA 的示例?  

感谢你的帮助。

大家好。

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

    您好!

    使用 DMA 进行 I2C 数据传输与使用 DMA 进行 SPI 或 SCI 传输没有什么不同。  

    在主发送器模式下、在 START 条件之后会生成一个发送事件。 DMA 根据接收事件和发送事件接收数据并发送数据。 读取和写入事件的时序分别与 I2CRRDY (I2CRINT)和 I2CXRDY (I2CXINT)相同。

    我没有带 DMA 的 I2C 示例。