MPC5777M UART+DMA problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MPC5777M UART+DMA problem

625 次查看
underdangerous
Contributor II

Hi,community:

When I configure LINFlexD in UART mode and use it with DMA, for UART TX mode, data can be transmitted normally, but for UART RX mode, data in UART FIFO (LINFLEXD. BRDM) cannot be transmitted to RAM normally through DMA. I configure the corresponding TCD and peripheral DMA request sources according to Tables 7-25 and 7-26 in MPC5777MRM, but UART RX DMA seems to have not been executed correctly, which has been bothering me for a long time, I hope you can help me, thank you very much!The attachment contains the corresponding source code and values in the registers.

标记 (3)
0 项奖励
回复
1 回复

610 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

With receive LinFlex DMA channel, you have set CITER/BITER to zero. I don't think it would be correct.

davidtosenovjan_0-1690466682972.png

 

标记 (1)
0 项奖励
回复