English
Language : 

PIC18F26K80-I Datasheet, PDF (51/622 Pages) Microchip Technology – 28/40/44/64-Pin, Enhanced Flash Microcontrollers with ECAN™ and nanoWatt XLP Technology
PIC18F66K80 FAMILY
3.0 OSCILLATOR
CONFIGURATIONS
3.1 Oscillator Types
The PIC18F66K80 family of devices can be operated in
the following oscillator modes:
• EC
• ECIO
• HS
• XT
• LP
• RC
• RCIO
• INTIO2
• INTIO1
External Clock, RA6 Available
External Clock, Clock Out RA6 (FOSC/4
on RA6)
High-Speed Crystal/Resonator
Crystal/Resonator
Low-Power Crystal
External Resistor/Capacitor, RA6
Available
External Resistor/Capacitor, Clock Out
RA6 (FOSC/4 on RA6)
Internal Oscillator with I/O on RA6 and
RA7
Internal Oscillator with FOSC/4 Output on
RA6 and I/O on RA7
There is also an option for running the 4xPLL on any of
the clock sources in the input frequency range of 4 to
16 MHz.
The PLL is enabled by setting the PLLCFG bit
(CONFIG1H<4>) or the PLLEN bit (OSCTUNE<6>).
For the EC and HS modes, the PLLEN (software) or
PLLCFG (CONFIG1H<4>) bit can be used to enable
the PLL.
For the INTIOx modes (HF-INTOSC):
• Only the PLLEN can enable the PLL (PLLCFG is
ignored).
• When the oscillator is configured for the internal
oscillator (FOSC<3:0> = 100x), the PLL can be
enabled only when the HF-INTOSC frequency is
4, 8 or 16 MHz.
When the RA6 and RA7 pins are not used for an oscil-
lator function or CLKOUT function, they are available
as general purpose I/Os.
To optimize power consumption when using EC/HS/
XT/LP/RC as the primary oscillator, the frequency input
range can be configured to yield an optimized power
bias:
• Low-Power Bias – External frequency less than
160 kHz
• Medium Power Bias – External frequency
between 160 kHz and 16 MHz
• High-Power Bias – External frequency greater
than 16 MHz
All of these modes are selected by the user by
programming the FOSC<3:0> Configuration bits
(CONFIG1H<3:0>). In addition, PIC18F66K80 family
devices can switch between different clock sources,
either under software control, or under certain condi-
tions, automatically. This allows for additional power
savings by managing device clock speed in real time
without resetting the application. The clock sources for
the PIC18F66K80 family of devices are shown in
Figure 3-1.
For the HS and EC mode, there are additional power
modes of operation, depending on the frequency of
operation.
HS1 is the Medium Power mode with a frequency
range of 4 MHz to 16 MHz. HS2 is the High-Power
mode, where the oscillator frequency can go from
16 MHz to 25 MHz. HS1 and HS2 are achieved by
setting the CONFIG1H<3:0> bits correctly. (For details,
see Register 28-2 on Page 460.)
EC mode has these modes of operation:
• EC1 – For low power with a frequency range up to
160 kHz
• EC2 – Medium power with a frequency range of
160 kHz to 16 MHz
• EC3 – High power with a frequency range of
16 MHz to 64 MHz
EC1, EC2 and EC3 are achieved by setting the
CONFIG1H<3:0> correctly. (For details, see
Register 28-2 on Page 460.)
Table 3-1 shows the HS and EC modes’ frequency
range and FOSC<3:0> settings.
 2010-2012 Microchip Technology Inc.
DS39977F-page 51