
ML51/ML54/ML56
Sep. 01, 2020
Page
479
of 719
Rev 2.00
ML
51
/ML
54
/ML
5
6 S
E
RI
E
S
TECHNI
CA
L
RE
F
E
R
E
NC
E
M
A
NU
A
L
ML51/M
L54
/M
L56
Series
Tec
hnical Reference
Manual
auto-reload mode (Mode 2). If using Timer 3 as the baud rate generator, its interrupt should also be
disabled.
Following shows all UART mode and baudrate fomula:
Mode
SM0 / SM1
(SCON[7:6])
SM2
(SCON[5])
SMOD
(PCON[7])
Frame
Bits
Baud Rate
0
00
0
-
8
FSYS divided by 12
1
FSYS divided by 2
1
01
-
0
10
Time1
TM1 (CKCON[3]) = 0
TH1
-
256
12
F
32
1
SYS
Time1
TM1 (CKCON[3]) = 1
TH1
-
256
F
32
1
SYS
Timer 3
RL3)
RH3
(256
-
65536
scale
-
Pre
F
32
1
SYS
1
Time1
TM1 (CKCON[3]) = 0
TH1
-
256
12
F
16
1
SYS
Time1
TM1 (CKCON[3]) = 1
TH1
-
256
F
16
1
SYS
Timer
3
RL3)
RH3
(256
-
65536
scale
-
Pre
F
16
1
SYS
2
10
-
0
11
FSYS divided by 64
1
FSYS divided by 32
3
11
-
0
11
Time 1
TM1 (CKCON[3]) = 0
TH1
-
256
12
F
32
1
SYS
Time 1
TM1 (CKCON[3]) = 1
TH1
-
256
F
32
1
SYS
Timer 3
RL3)
RH3
(256
-
65536
scale
-
Pre
F
32
1
SYS
1
Time1
TM1 (CKCON[3]) = 0
TH1
-
256
12
F
16
1
SYS
Time1
TM1 (CKCON[3]) = 1
TH1
-
256
F
16
1
SYS
Timer 3
RL3)
RH3
(256
-
65536
scale
-
Pre
F
16
1
SYS
Note:
Timer 1 should configured as a timer in auto-reload mode (Mode 2).
Table 6.9-1 Serial Port 0 Mode / baud rate Description