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.

[参考译文] TM4C1294NCPDT:带 UART 的 UDMA 获取电流缓冲器索引(缓冲器指针)

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/904837/tm4c1294ncpdt-udma-with-uart-get-current-buffer-index-buffer-pointer

器件型号:TM4C1294NCPDT

我将 UDMA 与 UART 配合使用、它工作正常。

有没有函数返回数据的索引最终被 DMA 添加到 Rx 缓冲器中?

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

    您好!

     没有此类功能。 UDMA 将使用中断通知处理器传输完成。 用户应用应该知道 UDMA 将数据传输到的缓冲区的目标缓冲区地址和大小。 您希望在下一次传输开始前处理这些数据、这可能会覆盖未处理的数据。 在这方面、使用 uDMA 乒乓模式应该会大有帮助。