AnsweredAssumed Answered

Restart HAL_UART_Receive_IT

Question asked by yuri CH on May 9, 2018
Latest reply on May 15, 2018 by Willem La Grange


in my program i am using the "HAL_UART_Receive_IT" function, it is first called when i initialize my app.

There comes a moment during the run of the program when the pointer to buffer given to the function expires and is no longer valid, this is when i want to call this function again with new parameters.


The problem is that the operation doesnt succeed and the HAL_BUSY retval is returned.


please advise on how to restart this function properly after it has already been used.


thanks alot!