LPUART_DMA

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPUART_DMA

926件の閲覧回数
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 返信

899件の閲覧回数
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 件の賞賛
返信