226
CHAPTER 13 SERIAL INTERFACE (UART0)
Preliminary User’s Manual U16035EJ1V0UM
Table 13-3. Relationship Between Main System Clock and Baud Rate
Baud Rate
f
X
= 8.386 MHz
f
X
= 8.000 MHz
f
X
= 7.3728 MHz
f
X
= 5.000 MHz
f
X
= 4.1943 MHz
(bps)
BRGC0
ERR (%)
BRGC0
ERR (%)
BRGC0
ERR (%)
BRGC0
ERR (%)
BRGC0
ERR (%)
600
–
–
–
–
–
–
–
–
7BH
1.14
1200
7BH
1.10
7AH
0.16
78H
0
70H
1.73
6BH
1.14
2400
6BH
1.10
6AH
0.16
68H
0
60H
1.73
5BH
1.14
4800
5BH
1.10
5AH
0.16
58H
0
50H
1.73
4BH
1.14
9600
4BH
1.10
4AH
0.16
48H
0
40H
1.73
3BH
1.14
19200
3BH
1.10
3AH
0.16
38H
0
30H
1.73
2BH
1.14
31250
31H
–1.3
30H
0
2DH
1.70
24H
0
21H
–1.3
38400
2BH
1.10
2AH
0.16
28H
0
20H
1.73
1BH
1.14
76800
1BH
1.10
1AH
0.16
18H
0
10H
1.73
–
–
115200
12H
1.10
11H
2.12
10H
0
–
–
–
–
Infrared
131031 bps
125000 bps
115200 bps
78125 bps
65536 bps
data
transfer
mode
Note
Note
The UART/infrared data transfer mode specification is controlled by TXE0 and RXE0.
When using the infrared data transfer mode, be sure to set the baud rate generator control register
0 (BRGC0) as follows.
• k = 0 (MDL0 to MDL3 = 0000)
• n = 1 (TPS00 to TPS02 = 001)
Remark
f
X
: Main system clock oscillation frequency
n: Value set via TPS00 to TPS02 (0
≤
n
≤
7)
k: Value set via MDL00 to MDL03 (0
≤
k
≤
14)