cancel
Showing results for 
Search instead for 
Did you mean: 

HAL_UART_IRQHandler() calls UART_Receive_IT() on error in STM32CubeF1 Firmware Package V1.6.0 / 17-May-2017

denisb-popov
Associate II
Posted on April 24, 2018 at 10:41

Configure UART with HAL_UART_Init() with some baudrate 'X

Start receiving with HAL_UART_Receive_IT(Size = 1) 

Send any frame with baudrate different than 'X'

catch HAL_UART_

RxCpltCallback() followed by HAL_UART_ErrorCallback()

Shall I receive 

HAL_UART_

RxCpltCallback()

 or

 HAL_UART_ErrorCallback() but not both on each HAL_UART_Receive_IT() call?

tested with STM32F103RF

0 REPLIES 0