AnsweredAssumed Answered

Which interrupt for complete uart transfer with DMA

Question asked by JulienD on Sep 13, 2016
Latest reply on Oct 4, 2016 by JulienD

With STM32L1, I need to know when a frame transmition is complete when sent
on uart using DMA.
By complete, I mean, the last bit has been sent on the line because I need to activate
a buffer when data is transmitted, and deactivate it when nothing more has to be send.

I tried with the dma TC, but it fires 2 bytes before the end. I supposed that's because
the uart has a 2 bytes buffer.
I was neither successfull with the uart TC.

Now, I suspect a bug, but if you can tell me which interrupt I should look for, the debug
would be more straight forward.