AnsweredAssumed Answered

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

Question asked by p.denis.001 on Apr 24, 2018

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

Outcomes