Renesas RL78/G1P Hardware User Manual page 480

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P
(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
UART Baud Rate
(Target Baud Rate)
300 bps
600 bps
1200 bps
2400 bps
4800 bps
9600 bps
19200 bps
31250 bps
38400 bps
76800 bps
153600 bps
312500 bps
Remark m: Unit number (m = 0), n: Channel number (n = 0, 1), mn = 00, 01
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Operation Clock (f
)
MCK
9
f
/2
103
CLK
8
f
/2
103
CLK
7
f
/2
103
CLK
6
f
/2
103
CLK
5
f
/2
103
CLK
4
f
/2
103
CLK
3
f
/2
103
CLK
3
f
/2
63
CLK
2
f
/2
103
CLK
f
/2
103
CLK
f
103
CLK
f
50
CLK
= 32 MHz.
CLK
f
= 32 MHz
CLK
SDRmn[15:9]
Calculated Baud Rate
300.48 bps
600.96 bps
1201.92 bps
2403.85 bps
4807.69 bps
9615.38 bps
19230.8 bps
31250.0 bps
38461.5 bps
76923.1 bps
153846 bps
313725.5 bps
CHAPTER 11 SERIAL ARRAY UNIT
Error from Target Baud Rate
+0.16 %
+0.16 %
+0.16 %
+0.16 %
+0.16 %
+0.16 %
+0.16 %
0.0 %
+0.16 %
+0.16 %
+0.16 %
+0.39 %
461

Advertisement

Table of Contents
loading

Table of Contents