USART RX with DMA, FIFO and NDTR
Hello,
I would like to use an USART with DMA (peripheral to memory) with FIFO enabled in a circular mode on the STM32F205.
My stream of data is pretty random and I would like to process the memory buffered data on the fly.
The problem is that the NDTR value is taking into account also the data in the FIFO, so that I can not know how much data is in the memory.
Is there any way to know the exact amount of data in memory and the exact state of the FIFO on the fly in the program?
Kind regards,
Greg
