CHAPTER 11 SERIAL INTERFACE UART6
User’s Manual U16898EJ3V0UD
210
(3) Example of setting baud rate
Table 11-4. Set Data of Baud Rate Generator
f
XP
= 10.0 MHz
f
XP
= 8.38 MHz
f
XP
= 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 1H 240 10417 0.16 1H 201 10423 0.22 1H 101 10475
−
0.28
19200 1H 130 19231 0.16 1H 109 19220 0.11 0H 109 19220 0.11
31250 0H 160
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
77693 1.03
115200 0H 43
116279 0.94 0H 36
116389 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 232778 1.03 0H 9 232778 1.03
Remark
TPS63 to TPS60: Bits 3 to 0 of clock selection register 6 (CKSR6) (setting of base clock (f
XCLK6
))
k:
Value set by MDL67 to MDL60 bits of baud rate generator control register 6
(BRGC6) (k = 8, 9, 10, ..., 255)
f
XP
:
Oscillation frequency of clock to peripheral hardware
ERR:
Baud rate error