Question
Why clear the DMAR bit in UART DMA receive interrupt subroutine
Why should I clear the DMAR bit in the UART DMA receive interrupt subroutine?
At the moment I disable the DMA TC interrupt and the DMA Mode for reception (DMAR) at the top of my interrupt routine.
At the end of the subroutine I enable the uart dma receiver again.
This code works well.
But If I do not disable the DMA Mode for reception (DMAR) it does no longer work properly but I don't know why this makes such a difference?
Any thought on that topic?
Kind regards Mathias
