SMT32H743 Receiver Timeout Interrupt (RTOF) in HAL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-09-13 8:09 AM
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
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-09-13 10:16 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-09-13 10:16 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-09-16 2:16 AM
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
