English
Language : 

UPD78F0411GA-GAM-AX Datasheet, PDF (334/564 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
CHAPTER 13 SERIAL INTERFACE UART0
Cautions 1. Keep the baud rate error during transmission to within the permissible error range at the
reception destination.
2. Make sure that the baud rate error during reception satisfies the range shown in (4)
Permissible baud rate range during reception.
Example: Frequency of base clock = 2.5 MHz = 2,500,000 Hz
Set value of MDL04 to MDL00 bits of BRGC0 register = 10000B (k = 16)
Target baud rate = 76,800 bps
Baud rate = 2.5 M/(2 × 16)
= 2,500,000/(2 × 16) = 78,125 [bps]
Error = (78,125/76,800 − 1) × 100
= 1.725 [%]
(3) Example of setting baud rate
Table 13-5. Set Data of Baud Rate Generator
Baud
Rate
[bps]
TPS01,
TPS00
1200 3H
2400 3H
4800 2H
9600 2H
10400 2H
19200 1H
24000 1H
31250 1H
33660 1H
38400 1H
56000 1H
62500 1H
76800
−
115200 −
153600 −
312500 −
625000 −
fPRS = 2.0 MHz
k Calculate ERR
d Value [%]
26
1202 0.16
13
2404 0.16
26
4808 0.16
13
9615 0.16
12
10417 0.16
26
19231 0.16
21
23810 −0.79
16
31250
0
15
33333 −0.79
13
38462 0.16
9
55556 −0.79
8
62500
0
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
TPS01,
TPS00
−
−
3H
3H
2H
2H
2H
2H
2H
2H
1H
1H
1H
1H
1H
1H
−
fPRS = 5.0 MHz
k Calculate ERR
d Value [%]
−
−
−
−
−
−
16
4883 1.73
8
9766 1.73
30
10417 0.16
16
19531 1.73
13
24038 0.16
10
31250
0
9
34722 3.34
8
39063 1.73
22
56818 1.46
20
62500
0
16
78125 1.73
11 113636 −1.36
8
156250 1.73
4
312500 1.73
−
−
−
TPS01,
TPS00
−
−
−
3H
3H
3H
2H
2H
2H
2H
2H
2H
2H
1H
1H
1H
1H
fPRS = 10.0 MHz
k Calculate ERR
d Value [%]
−
−
−
−
−
−
−
−
−
16
9766 1.73
15
10417 0.16
8
19531 1.73
26
24038 0.16
20
31250
0
19
32895 −2.1
16
39063 1.73
11
56818 1.46
10
62500
0
8
78125 1.73
22 113636 −1.36
16 156250 1.73
8
312500
0
4
625000
0
Remark
TPS01, TPS00: Bits 7 and 6 of baud rate generator control register 0 (BRGC0) (setting of base clock
(fXCLK0))
k:
Value set by the MDL04 to MDL00 bits of BRGC0 (k = 8, 9, 10, ..., 31)
fPRS:
Peripheral hardware clock frequency
ERR:
Baud rate error
332
User’s Manual U18698EJ1V0UD