Using DMA on UART for Rx (circular) AND Tx (normal) at the same time.
Hi, I am facing the problem of using DMA for a CPU load reduced UART communication for RX and TX. I think it is likely that I don't understand the DMA correctly. So before pasing Code and messing things up, I explain my intentions.
Issue:
I am able to setup and use DMA for RX in circular mode. I am also able to use DMA for TX in normal mode. BUT as soon as I use DMA for TX my RX DMA stream seems to fail. Rx uses DMA1_Stream0 (Channel_4) and Tx uses DMA1_Stream7 (Channel_4). So is there a Problem. Why does it silently fail. What is my error in logic? What are the restrictions on Using multiple DMA channels. The documentation fails to give me more information (as so many times). So I try this forum approach.
I have read all I could find in this forum regarding using DMA and UART. But so far none seem to have answered the issue of Tx stream silently killing circular Rx stream.
