Usart Receiver Tolerance To Clock Deviation - ST STM32F205 series Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F205 series:
Table of Contents

Advertisement

Universal synchronous asynchronous receiver transmitter (USART)
Table 92. Error calculation for programmed baud rates at f
Baud rate
S.No
Desired
10.
1.792 MBps
11.
1.8432 MBps
12.
3.584 MBps
13.
3.6864 MBps
14.
7.168 MBps
15.
7.3728 MBps
1. The lower the CPU clock the lower the accuracy for a particular baud rate. The upper limit of the achievable baud rate can
be fixed with these data.
2. Only USART1 and USART6 are clocked with PCLK2 (60 MHz Max). Other USARTs are clocked with PCLK1 (30 MHz Max).
3. Only USART1 and USART6 are clocked with PCLK2. Other USARTs are clocked with PCLK1. Refer to the device
datasheets for the maximum values for PCLK1 and PCLK2.
24.3.5

USART receiver tolerance to clock deviation

The USART asynchronous receiver works correctly only if the total clock system deviation is
smaller than the USART receiver's tolerance. The causes which contribute to the total
deviation are:
DTRA: Deviation due to the transmitter error (which also includes the deviation of the
transmitter's local oscillator)
DQUANT: Error due to the baud rate quantization of the receiver
DREC: Deviation of the receiver's local oscillator
DTCL: Deviation due to the transmission line (generally due to the transceivers which
can introduce an asymmetry between the low-to-high transition timing and the high-to-
low transition timing)
DTRA + DQUANT + DREC + DTCL < USART receiver's tolerance
The USART receiver's tolerance to properly receive data is equal to the maximum tolerated
deviation and depends on the following choices:
10- or 11-bit character length defined by the M bit in the USART_CR1 register
oversampling by 8 or 16 defined by the OVER8 bit in the USART_CR1 register
use of fractional baud rate or not
use of 1 bit or 3 bits to sample the data, depending on the value of the ONEBIT bit in
the USART_CR3 register
652/1378
oversampling by 8
Oversampling by 8 (OVER8=1)
f
= 30 MHz
PCLK
Value
programmed
Actual
in the baud
rate register
1.7647 MBps
2.1250
1.8750 MBps
2.0000
3.7500 MBps
1.0000
3.7500 MBps
1.0000
NA
NA
NA
NA
PCLK
(1) (2)(3)
(continued)
% Error =
(Calculated -
Desired)B.Rate
/Desired B.Rate
1.52%
1.73%
4.63%
1.73%
NA
NA
RM0033 Rev 8
= 30 MHz or f
PCLK
f
=60 MHz
PCLK
Value
programmed
Actual
in the baud
rate register
1.8182 MBps
4.1250
1.8182 MBps
4.1250
3.5294 MBps
2.1250
3.7500 MBps
2.0000
7.5000 MBps
1.0000
7.5000 MBps
1.0000
RM0033
= 60 MHz,
%
Error
1.46%
1.36%
1.52%
1.73%
4.63%
1.73%

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Stm32f207 seriesStm32f215 seriesStm32f217 series

Table of Contents