LPC1763 UART DMA Issue

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

LPC1763 UART DMA Issue

1,102 次查看
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 项奖励
回复
1 回复

1,060 次查看
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 项奖励
回复