CHAPTER 14 SERIAL INTERFACE UART6
Preliminary User’s Manual U16315EJ1V0UD
307
(3) Example of setting baud rate
Table 14-4. Set Data of Baud Rate Generator
f
X
= 10.0 MHz
f
X
= 8.38 MHz
f
X
= 4.19 MHz
Baud Rate
[bps]
TPS63 to
TPS60
k
Calculated
Value
ERR[%]
TPS63 to
TPS60
k
Calculated
Value
ERR[%]
TPS63 to
TPS60
k
Calculated
Value
ERR[%]
600
6H
130
601
0.16
6H
109
601
0.11
5H
109
601
0.11
1200
5H
130
1202
0.16
5H
109
1201
0.11
4H
109
1201
0.11
2400
4H
130
2404
0.16
4H
109
2403
0.11
3H
109
2403
0.11
4800
3H
130
4808
0.16
3H
109
4805
0.11
2H
109
4805
0.11
9600
2H
130
9615
0.16
2H
109
9610
0.11
1H
109
9610
0.11
10400
2H
120
10417
0.16
2H
101
10371
0.28
1H
101
10475
−
0.28
19200
1H
130
19231
0.16
1H
109
19200
0.11
0H
109
19220
0.11
31250
1H
80
31250
0.00
0H
134
31268
0.06
0H
67
31268
0.06
38400
0H
130
38462
0.16
0H
109
38440
0.11
0H
55
38090
−
0.80
76800
0H
65
76923
0.16
0H
55
76182
−
0.80
0H
27
77593
1.03
115200
0H
43
116279
0.94
0H
36
116388
1.03
0H
18
116389
1.03
153600
0H
33
151515
−
1.36
0H
27
155185
1.03
0H
14
149643
−
2.58
230400
0H
22
227272
−
1.36
0H
18
232777
1.03
0H
9
232778
1.03
Caution
The maximum permissible frequency of the base clock (f
XCLK
) is 25 MHz.
Remark
TPS63 to TPS60: Bits 3 to 0 of clock selection register 6 (CKSR6) (setting of base clock (f
XCLK
))
k:
Value set by MDL67 to MDL60 bits of baud rate generator control register 6
(BRGC6) (k = 8, 9, 10, ..., 255)
f
X
:
X1 input clock oscillation frequency
ERR:
Baud rate error