MS51
Nov. 28, 2019
Page
366
of 491
Rev 1.00
MS51
32K
SE
RIES
TE
CHNICAL RE
F
EREN
CE MA
N
UAL
Following shows all UART mode and baudrate fomula:
Mode
Frame
Bits
SM0 / SM1
(SCON[7:6])
SM2
(SCON[5])
SMOD
(PCON[7])
Baud Rate
0
8
00
0
-
FSYS divided by 12
1
FSYS divided by 2
1
10
01
-
0
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
3)
RL
3
RH
(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
11
10
-
0
FSYS divided by 64
1
FSYS divided by 32
3
11
11
-
0
Time 1
[1]
TM1 CKCON[3] = 0
TH1
-
256
12
F
32
1
SYS
Time 1
[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
[1]
TM1 CKCON[3] = 0
TH1
-
256
12
F
16
1
SYS
Time1
[1]
TM1 CKCON[3] = 1
TH1
-
256
F
16
1
SYS
Timer 3
3)
RL
3
RH
(256
-
65536
scale
Pre-
SYS
F
16
1