STM32F401 - HAL_UART_Receive() - Buggy?
Posted on January 16, 2017 at 19:30Hi all,I believe HAL_UART_Receive() is buggy.Test case:uint8_t data[2] = {0xAA, 0xBB};HAL_UART_Receive(&huart1, &data[0], 1, 100);You would expect data[0] to be the data received from the USART, and data[1] to be l...