R01UH0092EJ0110 Rev.1.10
Page 484 of 807
Jul 31, 2012
M16C/64C Group
23. Serial Interface UARTi (i = 0 to 2, 5 to 7)
23.3.2.1
Bit Rate
In UART mode, the frequency set by the UiBRG register (i = 0 to 2, 5 to 7) divided by 16 becomes a bit
rate.
The setting value (n) of the UiBRG register is calculated by the following formula:
fj = f1SIO, f2SIO, f8SIO, f32SIO
n = 00h to FFh
Table 23.13 lists Example Bit Rates and Settings.
Table 23.13
Example of Bit Rates and Settings
Bit Rate
(bps)
Count Source
of UiBRG
Peripheral Function Clock f1: 16 MHz
Peripheral Function Clock f1: 24 MHz
Set Value of
UiBRG: n
Bit Rate (bps)
Set value of
UiBRG: n
Bit Rate (bps)
1200
f8SIO
103 (67h)
1202
155 (9Bh)
1202
2400
f8SIO
51 (33h)
2404
77 (4Dh)
2404
4800
f8SIO
25 (19h)
4808
38 (26h)
4808
9600
f1SIO
103 (67h)
9615
155 (9Bh)
9615
14400
f1SIO
68 (44h)
14493
103 (67h)
14423
19200
f1SIO
51 (33h)
19231
77 (4Dh)
19231
28800
f1SIO
34 (22h)
28571
51 (33h)
28846
31250
f1SIO
31 (1Fh)
31250
47 (2Fh)
31250
38400
f1SIO
25 (19h)
38462
38 (26h)
38462
51200
f1SIO
19 (13h)
50000
28 (1Ch)
51724
n
fj
bitrate bps
(
)
16
×
-----------------------------------------------
1
–
=
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...