2020-06-29 12:07 PM
2020-06-29 12:40 PM
Is there a question here? You've made a statement, with no code, or supporting information.
HAL_UART_Receive() blocks, won't typically pull data from the past, and can miss data. You really want to be using the HAL_UART_Receive_IT() form for any non-trivial implementation, and BUFFER the inbound data in a way you can process in a more leisurely fashion