SN8P2977
8-Bit Micro-Controller with Regulator, PGIA, 24-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 89
Version 1.7
0D7H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
URCR
URCR7
URCR6
URCR5
URCR4
URCR3
URCR2
URCR1
URCR0
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
After reset
0
0
0
0
0
0
0
0
The UART baud rate clock source is Fhosc and divided by pre-scalar. The equation is as following.
UART Baud Rate = 1/2 *(Fuart * 1/(256 - URCR
))…bps .
Fhosc = 8MHz
Baud Rate
UART Pre-scaler URS[2:0]
URCR (Hex)
UART Baud Rate
Accuracy (%)
1200
Fhosc/16
100b
30
1202
0.16%
2400
Fhosc/16
100b
98
2404
0.16%
4800
Fhosc/16
100b
CC
4808
0.16%
9600
Fhosc/16
100b
E6
9615
0.16%
19200
Fhosc/16
100b
F3
19231
0.16%
38400
Fhosc/1
000b
98
38462
0.16%
51200
Fhosc/1
000b
B2
51282
0.16%
57600
Fhosc/1
000b
BB
57971
0.64%
102400
Fhosc/1
000b
DA
102564
0.16%
115200
Fhosc/1
000b
DD
114286
-0.79%
Note: We strongly recommend not to set URCR = 0xFF, or UART operation would be error.