I use DMA to send and receive characters with USART in STM32F405.
The characters that will be sent have the unknown length.
when i receive characters i should know How many characters have been received and
should reset USART receiver counter.
I check NDTR and i know How many characters have been received
But i can not reset the usart receiver counter
what should i do ?????