Skip to main content
Visitor II
February 20, 2020
Question

Interrupt for Uart Receiver Timeout is not enabled anywhere

  • February 20, 2020
  • 0 replies
  • 873 views

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

    This topic has been closed for replies.