Table 240. Noise Detection From Sampled Data; Figure 312. Data Sampling When Oversampling By 8 - ST STM32WL5 Series Reference Manual

Advanced arm-based 32-bit mcus with sub-ghz radio solution
Hide thumbs Also See for STM32WL5 Series:
Table of Contents

Advertisement

Universal synchronous/asynchronous receiver transmitter (USART/UART)
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_RDR register
(RXFIFO in case FIFO mode is enabled).
no interrupt is generated in case of single byte communication. However this bit rises at
the same time as the RXNE bit (RXFNE in case FIFO mode is enabled) which itself
generates an interrupt. In case of multibuffer communication an interrupt is issued if the
EIE bit is set in the USART_CR3 register.
The FE bit is reset by writing '1' to the FECF in the USART_ICR register.
Note:
Framing error is not supported in SPI mode.
1144/1461

Figure 312. Data sampling when oversampling by 8

1
2

Table 240. Noise detection from sampled data

Sampled value
000
001
010
011
100
101
110
111
sampled values
3
4
3/8
One bit time
NE status
0
1
1
1
1
1
1
0
RM0453 Rev 1
5
6
7
2/8
3/8
Received bit value
RM0453
8
MSv31153V1
0
0
0
1
0
1
1
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32WL5 Series and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF