RL78/G1A CHAPTER 12 SERIAL ARRAY UNIT
R01UH0305EJ0200 Rev.2.00 532
Jul 04, 2013
(2) Baud rate error during transmission
The baud rate error of UART (UART0 to UART2) 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 = 32 MHz.
fCLK = 32 MHz UART Baud Rate
(Target Baud Rate)
Operation Clock (f
MCK) SDRmn[15:9] Calculated Baud Rate Error from Target Baud Rate
300 bps fCLK/2
9
103 300.48 bps +0.16 %
600 bps fCLK/2
8
103 600.96 bps +0.16 %
1200 bps fCLK/2
7
103 1201.92 bps +0.16 %
2400 bps fCLK/2
6
103 2403.85 bps +0.16 %
4800 bps fCLK/2
5
103 4807.69 bps +0.16 %
9600 bps fCLK/2
4
103 9615.38 bps +0.16 %
19200 bps fCLK/2
3
103 19230.8 bps +0.16 %
31250 bps fCLK/2
3
63 31250.0 bps ±0.0 %
38400 bps fCLK/2
2
103 38461.5 bps +0.16 %
76800 bps fCLK/2 103 76923.1 bps +0.16 %
153600 bps fCLK 103 153846 bps +0.16 %
312500 bps fCLK 50 313725.5 bps +0.39 %
Remark m: Unit number (m = 0, 1), n: Channel number (n = 0, 2), mn = 00, 02, 10