Hy, i am working on STM32f401 Controller. I am facing an issue with the UART controller. I am sending Command from PC to STM32 board. Command Consists of 4 BYTES. like PCLI(which is PC Login). while testing the Code, after and around 15 mins or sometimes less.. the uart is stuck. I am debugging with KEIL, in this i saw the registers(RXNE,IDLE,ORE) these three registers are simultaneously high(when the data arrives). i am using rxcpltcallback function. when i get PCLI from UART i will do my event.uart_registers_img My Code Looks Like
i will get the command from rx Callback function.