![Cmsemicon BAT32G1 9 Series Скачать руководство пользователя страница 701](http://html1.mh-extra.com/html/cmsemicon/bat32g1-9-series/bat32g1-9-series_user-manual_2627609701.webp)
BAT32G1x9 user manual | Chapter 19 Universal serial communication unit
701 / 1149
Rev.1.02
(2) Baud rate error when sending
The baud rate error during UART (UART0~UART3) communication transmission can be calculated using
the following calculation equation, and the baud rate of the sender must be set within the allowable baud rate
of the receiver.
An example of the UART baud rate at f
CLK
=32MHz is shown below.
UART baud rate
(Target baud rate)
f
CLK
=32MHz
Running Clock
(f
MCK
).
SDRmn[15:9]
The calculated
value of the baud
rate
The error from the
target baud rate
300bps
f
CLK
/2
9
103
300.48bps
+0.16%
600bps
f
CLK
/2
8
103
600.96bps
+0.16%
1200bps
f
CLK
/2
7
103
1201.92bps
+0.16%
2400bps
f
CLK
/2
6
103
2403.85bps
+0.16%
4800bps
f
CLK
/2
5
103
4807.69bps
+0.16%
9600bps
f
CLK
/2
4
103
9615.38bps
+0.16%
19200bps
f
CLK
/2
3
103
19230.8bps
+0.16%
31250bps
f
CLK
/2
3
63
31250.0bps
±0.0%
38400bps
f
CLK
/2
2
103
38461.5bps
+0.16%
76800bps
f
CLK
/2
103
76923.1bps
+0.16%
153600bps
f
CLK
103
153846bps
+0.16%
312500bps
f
CLK
50
313725bps
±0.39%
Note m: Unit number (m=0~2)n: Channel number (n=0,
2)mn=00,
02, 10, 20
(
baud rate error)
=
(calculated value of baud rate)
÷
(value of the target baud rate)
×
100
–100
[%]