LPUART_DMA

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

LPUART_DMA

419 Views
EMBEDDED585
Contributor I

Hi ,

I am using DMA for the UART communication. I want to know about:

 

1. How to check the transmission or reception done or not ?

@tc and TDRE flags are always 1 during transmission.

2. How to handle the multiple bytes transmission ?

 

Thanks & Regards,

Embedded585

0 Kudos
1 Reply

392 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @EMBEDDED585,

1.

How do you check the flags? I mean how do you know they always read 1.

You can enable the Transmission Complete Interrupt (TCIE = 1).

The DMA module should call transfer complete interrupt.

2.

Please use the SDK or RTD drivers.

 

Regards,

Daniel

 

0 Kudos