Question
USART DMA stops when disconnect Rx, how do I recover and restart RX?
Hello!
I'm using USART with DMA and when I disconnect the Rx cable, sometimes the communication resumes and sometimes not. How can I always recover USART Rx?
I tries reseting it with RCC using the line:
RCC->APB2RSTR ^= RCC_APB2RSTR_USART1RST; // USART1But I couldn't even receive data by USART, I'm not sure how to use it.
