
RL78/G1P
CHAPTER 11 SERIAL ARRAY UNIT
R01UH0895EJ0100 Rev.1.00
461
Nov 29, 2019
(2) Baud rate error during transmission
The baud rate error of UART (UART0) communication during transmission can be calculated by the following
expression. Make sure that the baud rate at the transmission side is within the permissible baud rate range at the
reception side.
(Baud rate error) = (Calculated baud rate value) ÷ (Target baud rate)
100
100 [%]
Here is an example of setting a UART baud rate at f
CLK
= 32 MHz.
UART Baud Rate
(Target Baud Rate)
f
CLK
= 32 MHz
Operation Clock (f
MCK
)
SDRmn[15:9]
Calculated Baud Rate
Error from Target Baud Rate
300 bps
f
CLK
/2
9
103
300.48 bps
+0.16 %
600 bps
f
CLK
/2
8
103
600.96 bps
+0.16 %
1200 bps
f
CLK
/2
7
103
1201.92 bps
+0.16 %
2400 bps
f
CLK
/2
6
103
2403.85 bps
+0.16 %
4800 bps
f
CLK
/2
5
103
4807.69 bps
+0.16 %
9600 bps
f
CLK
/2
4
103
9615.38 bps
+0.16 %
19200 bps
f
CLK
/2
3
103
19230.8 bps
+0.16 %
31250 bps
f
CLK
/2
3
63
31250.0
bps
0.0 %
38400 bps
f
CLK
/2
2
103
38461.5 bps
+0.16 %
76800 bps
f
CLK
/2
103
76923.1 bps
+0.16 %
153600 bps
f
CLK
103
153846 bps
+0.16 %
312500 bps
f
CLK
50
313725.5 bps
+0.39 %
Remark
m: Unit number (m = 0), n: Channel number (n = 0, 1), mn = 00, 01