CHAPTER 14 SERIAL INTERFACE UART0
Preliminary User’s Manual U17260EJ3V1UD
344
(3) Example of setting baud rate
Table 14-5. Set Data of Baud Rate Generator
f
PRS
= 2.0 MHz
f
PRS
= 5.0 MHz
f
PRS
= 10.0 MHz
f
PRS
= 20.0 MHz
Baud
Rate
[bps]
TPS01,
TPS00
k
Calculated
Value
ERR
[%]
TPS01,
TPS00
k
Calculated
Value
ERR
[%]
TPS01,
TPS00
k
Calculated
Value
ERR
[%]
TPS01,
TPS00
k
Calculated
Value
ERR
[%]
4800 2 26 4808 0.16 3 16 4883 1.73
−
−
−
−
−
−
−
−
9600 2 13 9615 0.16 3 8 9766 1.73 3 16 9766 1.73
−
−
−
−
10400 2 12 10417 0.16 2 30 10417 0.16 3 15 10417 0.16 3 30 10417 0.16
19200 1 26 19231 0.16 2 16 19531 1.73 3
8 19531 1.73 3 16 19531 1.73
24000 1 21 23810
−
0.79 2 13 24038 0.16 2 26 24038 0.16 3 13 24038 0.16
31250 1 16
31250 0 2 10
31250 0 2 20
31250 0 3 10
31250 0
33660 1 15 33333
−
0.79 2
9 34722 3.34 2 18 34722 3.34 3 9 34722 3.34
38400 1 13 38462 0.16 2 8 39063 1.73 2 16 39063 1.73 3 8 39063 1.73
56000 1 9 55556
−
0.79 1 22 56818 1.46 2 11 56818 1.46 2 22 56818 1.46
62500 1 8 62500 0 1 20
62500 0 2 10
62500 0 2 20
62500 0
76800
−
−
−
−
1 16 78125 1.73 2
8 78125 1.73 2 16 78125 1.73
115200
−
−
−
−
1 11
113636
−
1.36
1 22
113636
−
1.36
2 11
113636
−
1.36
153600
−
−
−
−
1 8
156250
1.73 1 16
156250
1.73 2 8
156250
1.73
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
PRS
:
Peripheral hardware clock frequency
ERR:
Baud rate error
Содержание 78K/0 Series
Страница 2: ...Preliminary User s Manual U17260EJ3V1UD 2 MEMO ...
Страница 10: ......
Страница 53: ...CHAPTER 3 CPU ARCHITECTURE Preliminary User s Manual U17260EJ3V1UD 53 Figure 3 6 Memory Map µPD78F0536 ...
Страница 120: ......