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
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