LPC1763 UART DMA Issue

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

LPC1763 UART DMA Issue

1,065 Views
balakrishnan_ch
Contributor I

I am using LPC1763. Already verified the UART operation on my product. Now needs to use DMA for UART, especially UART0. Based on the example code provided by NXP, upated my source code. While I transmit data through UART0 by using DMA, I am not getting the expected data at the receive side of the other device. I am only receiving the value 0xFF. My message packet contains 0xFF as a first byte, maybe I am receiving only one byte data in the other side. Verified the transfer size set in the register, everything looks fine. Also to mention I am getting DMA interrupt for every Tx.

0 Kudos
Reply
1 Reply

1,023 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Balakrishnan,

If you transmit a character repeatedly for example 'A' via DMA mode, then use a scope or logic analyzer to test the TX pin of uart, you can confirm if the DMA transmitted character correctly.

You can post the code so that we can have a review.

BR

XiangJun Rong

0 Kudos
Reply