LPUART_DMA

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

LPUART_DMA

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

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