2020-02-19 09:27 PM
Hi ST,
I'm using STM32Cube FW_H7 V1.6.0.
There's a few posts about the UART receiver timeout mechanism on the forum, but this one is specifically about enabling the interrupt. Although the timeout is enable, the interrupt for it is never enabled. Somewhere in the HAL UART driver it needs to enable the interrupt like this:
SET_BIT(mUart->Instance->CR1, USART_CR1_RTOIE);
It can be done in the HAL_UART_ReceiverTimeout_Config() function or the receive function itself HAL_UART_Receive_IT()
Regardless where it goes, can it please be included in the next release.
Cheers
David