Hello, I have configured transmit DMA function for one of the UART channel on the microcontroller. I am checking for DMA completion status by checking the HBC & BTC flags. I expect these flags to be set after successful transmission of requested bytes. But i am seeing, though there are bytes in the TX DMA buffer, the interface is setting these flags which is falsely indicating the operation is done. This is leading to corruption of the TX data when monitored on the receiving end.
Please let me know, what might be happening here.
Thanks,
Kishore