RL78/G10 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0384EJ0311 Rev. 3.11 385
Dec 22, 2016
(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 fCLK = 20 MHz.
UART Baud Rate
(Target Baud Rate)
fCLK = 20 MHz
Operation Clock (fMCK) SDR0nH[7:1] Calculated Baud Rate Error from Target Baud Rate
300 bps fCLK/2
9
64 300.48 bps +0.16%
600 bps fCLK/2
8
64 600.96 bps +0.16%
1200 bps fCLK/2
7
64 1201.92 bps +0.16%
2400 bps fCLK/2
6
64 2403.85 bps +0.16%
4800 bps fCLK/2
5
64 4807.69 bps +0.16%
9600 bps fCLK/2
4
64 9615.38 bps +0.16%
19200 bps fCLK/2
3
64 19230.8 bps +0.16%
31250 bps fCLK/2
3
39 31250.0 bps ±0.0%
38400 bps fCLK/2
2
64 38461.5 bps +0.16%
76800 bps fCLK/2 64 76923.1 bps +0.16%
153600 bps fCLK 64 153846 bps +0.16%
312500 bps fCLK 31 312500 bps ±0.0%