I am following STM32F411RE-Nucleo example for UART_HyperTerminal_IT.
My first TX_IT works great. The problem is in the second call to
which fails on
if(huart->gState == HAL_UART_STATE_READY)
So I looked on the code to see where huart->gState is set to HAL_UART_STATE_READY. I saw that it is called in
The problem is that this API is not being called. So what I did is setting
huart->gState = HAL_UART_STATE_READY
is this the right way? Am I missing anything here?