使用的是6748,串口2通过DMA搬移数据送出,但是在应用时,发现如果数据量较大,数据最后一部分全部为0x00;在语句最后加延时会好。但是随着数据量增大,延时也要随之增大才可以保证数据不出错。
请问这个DMA搬移数据出错的问题有什么办法可以解决或者优化吗?延时的办法不太适用目前的工程。这个和输出buffer的字节对齐有关系吗?如果有关系那6748的这里DMA搬移的buffer需要多少字节对齐呢?

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.
请参考TRM手册16.3.4.4 Ping-Pong Buffering
https://www.ti.com/lit/ug/spruh79c/spruh79c.pdf