Download Print this page

Renesas M16C/50 Series User Manual page 500

Advertisement

M16C/5L Group, M16C/56 Group
21.3.2.1
Bit Rate
In UART mode, the frequency set by the UiBRG register (i = 0 to 4) divided by 16 becomes a bit rate.
The setting value (n) of the UiBRG register is calculated by the following formula:
n
=
---------------------------------------------- - 1
bitrate bps
fj = f1SIO, f2SIO, f8SIO, f32SIO
n = 00h to FFh
Table 21.11 lists Example Bit Rates and Settings.
Table 21.11
Example of Bit Rates and Settings
Bit Rate
Count Source
(bps)
1200
2400
4800
9600
14400
19200
28800
31250
38400
51200
Note:
1.
Assumed that either the OCOSEL0 bit or OCOSEL1 bit in the UCLKSEL0 register is 0 (f1).
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
fj
(
) 16
×
Peripheral Function Clock f1: 16 MHz
Set Value of
of UiBRG
UiBRG: n
f8SIO
103 (67h)
f8SIO
51 (33h)
f8SIO
25 (19h)
f1SIO
103 (67h)
f1SIO
68 (44h)
f1SIO
51 (33h)
f1SIO
34 (22h)
f1SIO
31 (1Fh)
f1SIO
25 (19h)
f1SIO
19 (13h)
21. Serial Interface UARTi (i = 0 to 4)
(1)
Peripheral Function Clock f1: 24 MHz
Bit Rate (bps)
Set value of
UiBRG: n
1202
2404
4808
9615
14493
19231
28571
31250
38462
50000
Bit Rate (bps)
155 (9Bh)
1202
77 (4Dh)
2404
38 (26h)
4808
155 (9Bh)
9615
103 (67h)
14423
77 (4Dh)
19231
51 (33h)
28846
47 (2Fh)
31250
38 (26h)
38462
28 (1Ch)
51724
Page 463 of 803

Advertisement

loading