C8051F120/1/2/3/4/5/6/7
282
Rev. 1.2
Table 23.1. Timer Settings for Standard Baud Rates Using The Internal Oscillator
Frequency: 24.5 MHz
Target
Baud Rate
(bps)
Baud Rate
% Error
Oscillator
Divide
Factor
Timer Clock
Source
SCA1-SCA0
(pre-scale select)
†
T1M
†
Timer 1
Reload
Value (hex)
SYSCL
K
fr
om
In
tern
al Osc.
230400
-0.32%
106
SYSCLK
XX
1
0xCB
115200
-0.32%
212
SYSCLK
XX
1
0x96
57600
0.15%
426
SYSCLK
XX
1
0x2B
28800
-0.32%
848
SYSCLK / 4
01
0
0x96
14400
0.15%
1704
SYSCLK / 12
00
0
0xB9
9600
-0.32%
2544
SYSCLK / 12
00
0
0x96
2400
-0.32%
10176
SYSCLK / 48
10
0
0x96
1200
0.15%
20448
SYSCLK / 48
10
0
0x2B
X = Don’t care
†
SCA1-SCA0 and T1M bit definitions can be found in
Section 24.1
.
Table 23.2. Timer Settings for Standard Baud Rates Using an External Oscillator
Frequency: 25.0 MHz
Target
Baud Rate
(bps)
Baud Rate
% Error
Oscillator
Divide
Factor
Timer Clock
Source
SCA1-SCA0
(pre-scale select)
†
T1M
†
Timer 1
Reload
Value (hex)
SYSCLK fr
om
External Osc.
230400
-0.47%
108
SYSCLK
XX
1
0xCA
115200
0.45%
218
SYSCLK
XX
1
0x93
57600
-0.01%
434
SYSCLK
XX
1
0x27
28800
0.45%
872
SYSCLK / 4
01
0
0x93
14400
-0.01%
1736
SYSCLK / 4
01
0
0x27
9600
0.15%
2608
EXTCLK / 8
11
0
0x5D
2400
0.45%
10464
SYSCLK / 48
10
0
0x93
1200
-0.01%
20832
SYSCLK / 48
10
0
0x27
SYSCLK fr
om
Internal Osc.
57600
-0.47%
432
EXTCLK / 8
11
0
0xE5
28800
-0.47%
864
EXTCLK / 8
11
0
0xCA
14400
0.45%
1744
EXTCLK / 8
11
0
0x93
9600
0.15%
2608
EXTCLK / 8
11
0
0x5D
X = Don’t care
†
SCA1-SCA0 and T1M bit definitions can be found in
Section 24.1
.
Summary of Contents for C8051F120
Page 2: ...C8051F120 1 2 3 4 5 6 7 2 Rev 1 2 Notes ...
Page 8: ...C8051F120 1 2 3 4 5 6 7 8 Rev 1 2 26 2 Flash Programming Commands 318 26 3 Debug Support 321 ...
Page 16: ...C8051F120 1 2 3 4 5 6 7 16 Rev 1 2 Notes ...
Page 48: ...C8051F120 1 2 3 4 5 6 7 48 Rev 1 2 ...
Page 98: ...C8051F120 1 2 3 4 5 6 7 98 Rev 1 2 ...
Page 106: ...C8051F120 1 2 3 4 5 6 7 106 Rev 1 2 Notes ...
Page 183: ...C8051F120 1 2 3 4 5 6 7 Rev 1 2 183 Notes ...
Page 184: ...C8051F120 1 2 3 4 5 6 7 184 Rev 1 2 ...
Page 214: ...C8051F120 1 2 3 4 5 6 7 214 Rev 1 2 Notes ...