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?
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.)
2024-07-25 12:43 PM
Do you have a documention reference?
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.