cancel
Showing results for 
Search instead for 
Did you mean: 

Why the uart OverRun flag is set when receiving only one byte in a frame?

SOsen.1
Associate II

Hi!

Using a STM32F1 uart peripheral waiting for a 22bytes frame but sometimes I get an overrun error right after the reception of the first byte.

Handling this in an interrupt mode, I expect 1 byte at a time and re-enabling the interrupt after each reception.

Does anyone has alreaby faced that problem, and how to fix it?

0 REPLIES 0