Question
How to stop receiving UART data with DMA.
Hi all
I'm triying using DMA to receive UART.
But the number of UART data is depending on the situation.
So I want to set a CNDTR register with margin.
I was wondering that I can stop DMA before CNDTR is zero.
When DMA Enable bit is cleared, it seem that don't stop immediately.
I think that the cause is that CNDTR is not zero.
But I want to stop DMA before CNDTR is zero.
Is there way to solve it?
Regards,