CHAPTER 10 SERIAL INTERFACE UART6
Preliminary User’s Manual U19014EJ1V0UD
250
(3) Example of setting baud rate
Table 10-5. Set Data of Baud Rate Generator
f
PRS
= 12.0 MHz
f
PRS
= 16.0 MHz
Baud Rate [bps]
TPS63to TPS60
k
Calculated Value
ERR[%]
TPS63to TPS60
k
Calculated Value ERR[%]
300
9H
39 300.487 0.16
AH
26 300.481 0.16
600
8H
39 600.962 0.16
AH
13 600.962 0.16
1200
7H
39 1201.92 0.16
9H
13 1201.92 0.16
2400
6H
39 2403.85 0.16
8H
13 2403.85 0.16
4800
5H
39 4807.69 0.16
7H
13 4807.69 0.16
9600
4H
39 9615.38 0.16
6H
13 9615.38 0.16
19200
3H
39 19230.8 0.16
5H
13 19230.8 0.16
24000
1H 125
24000 0.00 1H 167
23952.1
−
0.20
31250
5H 6 31250 0.00
5H 8 31250 0.00
38400
2H
39 38461.5 0.16
4H
13 38461.5 0.16
48000
0H 125
48000 0.00 0H 167
47904.2
−
0.20
76800
1H
39 76923.1 0.16
3H
13 76923.1 0.16
115200
2H
13 115385 0.16
0H
69 115942 0.64
153600
0H
39 153846 0.16
2H
13 153846 0.14
312500
0H
19 315789 1.05
1H
13 307692
−
1.54
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 = 4, 5, 6, ..., 255)
f
PRS
:
Peripheral hardware clock frequency
ERR:
Baud rate error
electronic components distributor