How to correctly use HAL_UART_Receive_IT when sending&receiving data?
I try to use UART to transmit and receive from the same port (transmit query to device, receive response). I receive 1 byte at time, because of unknown message length.Problem is that I first needed to flush uart RX to clear interrupt status, otherwis...