199
CHAPTER 13 SERIAL INTERFACE (UART0)
Preliminary User’s Manual U13420EJ2V0UM00
• Error tolerance range for baud rates
The tolerance range for baud rates depends on the number of bits per frame and the counter’s division
rate [1/(16 + k)].
Table 13-3 describes the relationship between the main system clock and the baud rate and Figure 13-
5 shows an example of a baud rate error tolerance range.
Table 13-3. Relationship between Main System Clock and Baud Rate (1/2)
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
(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)
Summary of Contents for mPD780065 Series
Page 2: ...Preliminary User s Manual U13420EJ2V0UM00 2 MEMO ...
Page 10: ...10 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 22: ...22 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 134: ...134 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 154: ...154 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 160: ...160 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 186: ...186 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 326: ...326 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 342: ...342 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 350: ...350 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...