Can someone help with DMA control of a UART on the MCF5441x?

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

Can someone help with DMA control of a UART on the MCF5441x?

579 Views
stevemillerabb
Contributor I

I am trying to use the DMA to control data transfers to/from a UART on the MCF5441x, but it is not working.  I got the Rev. 3 reference manual, which fills in the missing information of the Rev 4 manual.  I thought that I had everything set up correctly, but the DMA channel never starts.  On a transmit attempt, it appears that the channel receives the DMA Request from the UART (per the HRS register), but it never does anything.  ERQ is enabled for the channel and there are no error flags.  Even if I explicitly set the start bit, the channel never starts (the start bit stays 1).  I attached snippets from the code that do the initialization and initiate a test transfer.  Can anyone help?

Original Attachment has been moved to: UART-DMA-control-code.txt.zip

0 Kudos
1 Reply

423 Views
miduo
NXP Employee
NXP Employee

Hi,

I am sending you the sample code for MCF5329 project. The DMA module for MCF5329 and MCF5441X are same so the example is compatible. The difference is the way the register macros are called. Please make reference the attached code and hope it is helpful.

B.R.

Fang

0 Kudos