MPC5777M UART+DMA problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5777M UART+DMA problem

449 Views
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.

Tags (3)
0 Kudos
1 Reply

434 Views
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

 

Tags (1)
0 Kudos