cancel
Showing results for 
Search instead for 
Did you mean: 

Using Dma wich UART

jalelboujezza
Associate II
Posted on March 25, 2015 at 17:45

Hello,

i'm trying to send UART frame using DMA.

==> the problem is that the last bytes in the UART fifo not sended. and when i send the next frame i receive the last byte of the old frame.

 is there any mothod to clear the UART fifo before starting DMA transfer ???

why the last bytes in the fifo not sended ? 
This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
2 REPLIES 2
jalelboujezza
Associate II
Posted on March 25, 2015 at 17:50

I'm Using SPC5606

Erwan YVIN
ST Employee
Posted on March 27, 2015 at 10:59

Hello ,

Maybe you can use the register UARTSR.RMB (Release Message Buffer)

After reading the data in the buffer you can clear by software.

   Best regards

                  Erwan