STM32G030 Usart2 Overrun stops further reception
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-25 11:20 AM
On G030 if an overrun occurs on usart2 (no FIFO available) the reception of further bytes stops.
Is this intentional or an known error?
- Labels:
-
STM32G0 Series
-
UART-USART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-25 12:40 PM
Thats "standard" , because on error YOU have to do something : check whats wrong, or just : ignore the error and enable uart receive again. (I just count an error counter ++ , to get some info about how often this happens (-> need search for reason or accept , if very seldom) and then set uart receive again, to go on.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-25 12:43 PM
Do you have a documention reference?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-25 12:44 PM - edited ‎2024-07-25 12:45 PM
This is intentional, as outlined in the RM.
You can set the OVRDIS bit to overwrite the data with each new received byte rather than flag it as an error, but this of course also loses data.
