Question
How to check when Usart Tx is complete after DMA memory to Usart transfer?
STM32F334K6
I am using LL_DMA memory to Usart function to transmit DMX data, and using the DMA_TransmitComplete interrupt to trigger the DMX break signal.
This interrupt occurs before the last two bytes have been sent by the Usart, so the DMX frame is two bytes short.
Can the Usart trigger an interrupt when it has finished sending all the data from the DMA?
I tried using the Tx_Complete and Tx_Empty flags but the whole frame turns to garbage when trying to use these. Are these flags suitable for this purpose?
