USART1 behaved abnormal
hello all
I established a virtual com port using a 4G modem, connected it with my F413ZH USART1.
I used a DMA channel for RX. set HAL_UART_Receive_DMA(&huart1, (uint8_t *)&RxS0, 1);
I could get datas from it at first. DMA2_Stream0_IRQHandler() will be called.
When I power off modem, then reconnect it.
I could only transmit datas out, but couldn't receive any datas from USART1.
DMA2_Stream0_IRQHandler() has no response.
After I reboot STM32 device, everything becomes fine.
If anyone knows how to solve it, please kindly tell me.
Thank you very much.