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.

uart DMA 问题请教



startware中的uartEco_edma例程中调用API:EDMA3EnableTransfer()发送数据,紧接着是 while(0 == clBackFlag);等待flag清零。此flag是在API:Edma3CompletionIsr()中清零的。我的疑问是:

1.如何理解DMA传输可以降低MCU的loading呢? DMA调用发送API后,数据发送,此过程中MCU还是在while等待中,没有去做其他的事情啊

2.第11章节中EDMA event number 对应有两个表格:Direct Mapped和Crossbar Mapped ,两者使用有何区别?

uart0 属于Direct的,对应26、27,例程中是直接用的;如果使用Uart4的话DMA如何配置呢?

谢谢!