Table 84. Noise Detection From Sampled Data; Figure 233. Data Sampling When Oversampling By 16; Figure 234. Data Sampling When Oversampling By 8 - STMicroelectronics STM32F05 series Reference Manual

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

RM0091
When noise is detected in a frame:
The NF bit is set at the rising edge of the RXNE bit.
The invalid data is transferred from the Shift register to the USART_RDR 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 NF bit is reset by setting NFCF bit in ICR register.
Note:
Oversampling by 8 is not available in the Smartcard, IrDA and LIN modes. In those modes,
the OVER8 bit is forced to '0 by hardware.

Figure 233. Data sampling when oversampling by 16

RX LINE
Sample
clock

Figure 234. Data sampling when oversampling by 8

RX LINE
Sample
clock(x8)
Table 84.
Universal synchronous asynchronous receiver transmitter (USART)
Tolerance of the USART receiver to clock deviation on page
NF bit will never be set.
1
2
3
4
7/16
1
2
Noise detection from sampled data
Sampled value
000
001
010
011
100
101
Doc ID 018940 Rev 1
sampled values
5
6
7
8
9
10
One bit time
sampled values
3
4
5
3/8
One bit time
NE status
0
1
1
1
1
1
587). In this case the
11
12
13
14
15
16
6/16
7/16
6
7
8
2/8
3/8
Received bit value
0
0
0
1
0
1
583/742

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F05 series and is the answer not in the manual?

Questions and answers

Table of Contents