STM32 UART Receive Problem
Hi, I am using STM 32 STLINK-V3. Thereis a problem with following UART receiver function.
__HAL_UART_CLEAR_FLAG(&huart5, UART_CLEAR_NEF|UART_CLEAR_OREF);
HAL_UART_Receive(&huart5, rx_buffer, ROVER_MSG_LEN, 1000);
__HAL_UART_DISABLE_IT(&huart5,UART_IT_RXNE);
. Without clearing the flag rx_buffer remains empty even though there is a data observed from hardware with oscilloscope. I stept into the function and see flag remains up constantly but now only varying few initial bits of the buffer gets the data still rest remians empty. Is this a bug does any one knows ?
