CHAPTER 13 SERIAL INTERFACE UART0
User’s Manual U16899EJ2V0UD
285
(3) Example of setting baud rate
Table 13-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]
TPS01,
TPS00
k
Calculated
Value
ERR[%]
TPS01,
TPS00
k
Calculated
Value
ERR[%]
TPS01,
TPS00
k
Calculated
Value
ERR[%]
2400
−
−
−
−
−
−
−
−
3 27
2425 1.03
4800
−
−
−
−
3 27 4850 1.03
3 14 4676
−
2.58
9600 3 16
9766 1.73 3 14
9353
−
2.58 2 27
9699 1.03
10400 3 15
10417 0.16 3 13
10072
−
3.15 2 25
10475
0.72
19200 3 8 19531 1.73
2 27
19398 1.03
2 14
18705
−
2.58
31250 2 20
31250 0
2 17
30809
−
1.41
−
−
−
−
38400 2 16
39063 1.73 2 14
38796
−
2.58 2 27
38796
1.03
76800 2 8 78125 1.73
1 27
77593 1.03
1 14
74821
−
2.58
115200 1 22
113636
−
1.36
1 18
116389 1.03
1
9 116389 1.03
153600 1 16
156250
1.73 1 14
149643
−
2.58
−
−
−
−
230400 1 11
227273
−
1.36 1 9
232778
1.03
−
−
−
−
Remark TPS01, TPS00: Bits 7 and 6 of baud rate generator control register 0 (BRGC0) (setting of base clock
(f
XCLK0
))
k:
Value set by the MDL04 to MDL00 bits of BRGC0 (k = 8, 9, 10, ..., 31)
f
X
:
High-speed system clock oscillation frequency
ERR:
Baud rate error
Содержание MuPD78F0132H
Страница 2: ...User s Manual U16899EJ2V0UD 2 MEMO ...