C8051F120/1/2/3/4/5/6/7
Rev. 1.2
283
Table 23.3. Timer Settings for Standard Baud Rates Using an External Oscillator
Frequency: 22.1184 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
External Osc.
230400
0.00%
96
SYSCLK
XX
1
0xD0
115200
0.00%
192
SYSCLK
XX
1
0xA0
57600
0.00%
384
SYSCLK
XX
1
0x40
28800
0.00%
768
SYSCLK / 12
00
0
0xE0
14400
0.00%
1536
SYSCLK / 12
00
0
0xC0
9600
0.00%
2304
SYSCLK / 12
00
0
0xA0
2400
0.00%
9216
SYSCLK / 48
10
0
0xA0
1200
0.00%
18432
SYSCLK / 48
10
0
0x40
SYSCLK f
rom
Internal Osc.
230400
0.00%
96
EXTCLK / 8
11
0
0xFA
115200
0.00%
192
EXTCLK / 8
11
0
0xF4
57600
0.00%
384
EXTCLK / 8
11
0
0xE8
28800
0.00%
768
EXTCLK / 8
11
0
0xD0
14400
0.00%
1536
EXTCLK / 8
11
0
0xA0
9600
0.00%
2304
EXTCLK / 8
11
0
0x70
X = Don’t care
†
SCA1-SCA0 and T1M bit definitions can be found in
Section 24.1
.
Table 23.4. Timer Settings for Standard Baud Rates Using the PLL
Frequency: 50.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)
230400
0.45%
218
SYSCLK
XX
1
0x93
115200
-0.01%
434
SYSCLK
XX
1
0x27
57600
0.45%
872
SYSCLK / 4
01
0
0x93
28800
-0.01%
1736
SYSCLK / 4
01
0
0x27
14400
0.22%
3480
SYSCLK / 12
00
0
0x6F
9600
-0.01%
5208
SYSCLK / 12
00
0
0x27
2400
-0.01%
20832
SYSCLK / 48
10
0
0x27
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 ...