cancel
Showing results for 
Search instead for 
Did you mean: 

SMT32H743 Receiver Timeout Interrupt (RTOF) in HAL

Yan Rosh
Associate II

Hi,

I'm trying to write some code using STM32CubeMX And HAL H7_V1.3.0.

I was trying to use the Receiver Timeout feature of USART6, but there are a few places where it was missing:

  • CubeMX did not allow me to configure this option, but this was easy enough to change in the user code
  • When I wanted to use the interrupt associated with this feature, I found that there is not way to define it with the __HAL_UART_ENABLE_IT function. There is a list of available interrupts, and the Receiver Timeout Interrupt is not one of them.

Does anybody know if this feature will be supported in future versions of CubeMX and HAL?

Is there a way to bypass this?

Thanks in advance,

Yan

1 ACCEPTED SOLUTION

Accepted Solutions
Tomas DRESLER
Senior II

Dear Yan,

you can always fall back to register access, taking inspiration in these macros.

I'll request this flag in the HAL, hopefully it appears in some of the next versions.

Tomas

View solution in original post

2 REPLIES 2
Tomas DRESLER
Senior II

Dear Yan,

you can always fall back to register access, taking inspiration in these macros.

I'll request this flag in the HAL, hopefully it appears in some of the next versions.

Tomas

Yan Rosh
Associate II

Hi Tomas,

Thank you for the quick response!

I was trying to avoid direct register access, but if there's not other way I guess that's what I'll do in the meantime.

But HAL support for this would still be much appreciated :)

Thanks again,

Yan