![](http://datasheet.mmic.net.cn/260000/PIC18F458ELQTP_datasheet_15942934/PIC18F458ELQTP_19.png)
2002 Microchip Technology Inc.
Preliminary
DS41159B-page 17
PIC18FXX8
2.0
OSCILLATOR
CONFIGURATIONS
2.1
Oscillator Types
The PIC18FXX8 can be operated in one of eight Oscil-
lator modes, programmable by three configuration bits
(FOSC2, FOSC1, and FOSC0).
1.
LP
Low Power Crystal
2.
XT
Crystal/Resonator
3.
HS
High Speed Crystal/Resonator
4.
HS4
High Speed Crystal/Resonator with
PLL enabled
5.
RC
External Resistor/Capacitor
6.
RCIO
External Resistor/Capacitor with I/O
pin enabled
7.
EC
External Clock
8.
ECIO
External Clock with I/O pin enabled
2.2
Crystal Oscillator/Ceramic
Resonators
In XT, LP, HS or HS4 (PLL) Oscillator modes, a crystal
or ceramic resonator is connected to the OSC1 and
OSC2 pins to establish oscillation. Figure 2-1 shows
the pin connections. An external clock source may also
be connected to the OSC1 pin, as shown in Figure 2-3
and Figure 2-4.
The PIC18FXX8 oscillator design requires the use of a
parallel cut crystal.
FIGURE 2-1:
CRYSTAL/CERAMIC
RESONATOR OPERATION
(HS, XT OR LP OSC
CONFIGURATION)
TABLE 2-1:
CERAMIC RESONATORS
Note:
Use of a series cut crystal may give a fre-
quency out of the crystal manufacturer
’
s
specifications.
Ranges Tested:
Mode
XT
Freq
455 kHz
2.0 MHz
4.0 MHz
8.0 MHz
16.0 MHz
20.0 MHz
25.0 MHz
4.0 MHz
8.0 MHz
10.0 MHz
OSC1
68 - 100 pF
15 - 68 pF
15 - 68 pF
10 - 68 pF
10 - 22 pF
TBD
TBD
TBD
10 - 68 pF
TBD
OSC2
68 - 100 pF
15 - 68 pF
15 - 68 pF
10 - 68 pF
10 - 22 pF
TBD
TBD
TBD
10 - 68 pF
TBD
HS
HS+PLL
These values are for design guidance only.
See notes following Table 2-2.
Resonators Used:
455 kHz
Panasonic EFO-A455K04B
2.0 MHz
Murata Erie CSA2.00MG
4.0 MHz
Murata Erie CSA4.00MG
8.0 MHz
Murata Erie CSA8.00MT
16.0 MHz
Murata Erie CSA16.00MX
All resonators used did not have built-in capacitors.
±
0.3%
±
0.5%
±
0.5%
±
0.5%
±
0.5%
Note 1:
See Table 2-1 and Table 2-2 for recommended
values of C1 and C2.
A series resistor (R
S
) may be required for AT
strip cut crystals.
R
F
varies with the crystal chosen.
2:
3:
C1
(1)
C2
(1)
XTAL
OSC2
OSC1
R
F
(3)
SLEEP
To
Internal
Logic
PIC18FXX8
R
S
(2)