English
Language : 

PIC16F819T-E Datasheet, PDF (35/176 Pages) Microchip Technology – 18/20-Pin Enhanced Flash Microcontrollers with nanoWatt Technology
4.0 OSCILLATOR
CONFIGURATIONS
4.1 Oscillator Types
The PIC16F818/819 can be operated in eight different
oscillator modes. The user can program three configu-
ration bits (FOSC2:FOSC0) to select one of these eight
modes (modes 5-8 are new PIC16 oscillator
configurations):
1. LP
Low-Power Crystal
2. XT
3. HS
4. RC
5. RCIO
6. INTIO1
7. INTIO2
8. ECIO
Crystal/Resonator
High-Speed Crystal/Resonator
External Resistor/Capacitor with
FOSC/4 output on RA6
External Resistor/Capacitor with
I/O on RA6
Internal Oscillator with FOSC/4
output on RA6 and I/O on RA7
Internal Oscillator with I/O on RA6
and RA7
External Clock with I/O on RA6
4.2 Crystal Oscillator/Ceramic
Resonators
In XT, LP or HS modes, a crystal or ceramic resonator
is connected to the OSC1/CLKI and OSC2/CLKO pins
to establish oscillation (see Figure 4-1 and Figure 4-2).
The PIC16F818/819 oscillator design requires the use
of a parallel cut crystal. Use of a series cut crystal may
give a frequency out of the crystal manufacturer’s
specifications.
FIGURE 4-1:
CRYSTAL OPERATION
(HS, XT OR LP OSC
CONFIGURATION)
C1(1)
OSC1
XTAL
C2(1)
OSC2
RS(2)
PIC16F818/819
RF(3)
Sleep
To Internal
Logic
Note 1: See Table 4-1 for typical values of C1 and C2.
2: A series resistor (RS) may be required for AT
strip cut crystals.
3: RF varies with the crystal chosen (typically
between 2 MΩ to 10 MΩ).
PIC16F818/819
TABLE 4-1:
CAPACITOR SELECTION FOR
CRYSTAL OSCILLATOR (FOR
DESIGN GUIDANCE ONLY)
Osc Type
Crystal
Freq
Typical Capacitor Values
Tested:
C1
C2
LP
32 kHz
33 pF
33 pF
200 kHz
15 pF
15 pF
XT
200 kHz
56 pF
56 pF
1 MHz
15 pF
15 pF
4 MHz
15 pF
15 pF
HS
4 MHz
15 pF
15 pF
8 MHz
15 pF
15 pF
20 MHz
15 pF
15 pF
Capacitor values are for design guidance only.
These capacitors were tested with the crystals listed
below for basic start-up and operation. These values
were not optimized.
Different capacitor values may be required to produce
acceptable oscillator operation. The user should test
the performance of the oscillator over the expected
VDD and temperature range for the application.
See the notes following this table for additional
information.
Note 1: Higher capacitance increases the stability
of the oscillator but also increases the
start-up time.
2: Since each crystal has its own character-
istics, the user should consult the crystal
manufacturer for appropriate values of
external components.
3: RS may be required in HS mode, as well
as XT mode, to avoid overdriving crystals
with low drive level specification.
4: Always verify oscillator performance over
the VDD and temperature range that is
expected for the application.
 2004 Microchip Technology Inc.
DS39598E-page 33