Universal synchronous asynchronous receiver transmitter (USART)
RX LINE
Sample
clock(x8)
Framing error
A framing error is detected when:
The stop bit is not recognized on reception at the expected time, following either a de-
synchronization or excessive noise.
When the framing error is detected:
•
The FE bit is set by hardware
•
The invalid data is transferred from the Shift register to the USART_DR register.
•
No interrupt is generated in case of single byte communication. However this bit rises
at the same time as the RXNE bit which itself generates an interrupt. In case of
multibuffer communication an interrupt will be issued if the EIE bit is set in the
USART_CR3 register.
The FE bit is reset by a USART_SR register read operation followed by a USART_DR
register read operation.
970/1731
Figure 302. Data sampling when oversampling by 8
1
2
Table 132. Noise detection from sampled data
Sampled value
000
001
010
011
100
101
110
111
DocID018909 Rev 11
sampled values
3
4
5
3/8
One bit time
NE status
0
1
1
1
1
1
1
0
6
7
8
2/8
3/8
Received bit value
0
0
0
1
0
1
1
1
RM0090
Need help?
Do you have a question about the STM32F405 and is the answer not in the manual?