cancel
Showing results for 
Search instead for 
Did you mean: 

Interrupt for Uart Receiver Timeout is not enabled anywhere

DOsbo
Senior

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

0 REPLIES 0