English
Language : 

PIC18F2450 Datasheet, PDF (25/320 Pages) Microchip Technology – 28/40/44-Pin, High-Performance, 12 MIPS, Enhanced Flash, USB Microcontrollers with nanoWatt Technology
2.0 OSCILLATOR
CONFIGURATIONS
2.1 Overview
Devices in the PIC18F2450/4450 family incorporate a
different oscillator and microcontroller clock system
than the non-USB PIC18F devices. The addition of the
USB module, with its unique requirements for a stable
clock source, make it necessary to provide a separate
clock source that is compliant with both USB low-speed
and full-speed specifications.
To accommodate these requirements, PIC18F2450/
4450 devices include a new clock branch to provide a
48 MHz clock for full-speed USB operation. Since it is
driven from the primary clock source, an additional
system of prescalers and postscalers has been added
to accommodate a wide range of oscillator frequencies.
An overview of the oscillator structure is shown in
Figure 2-1.
Other oscillator features used in PIC18 enhanced
microcontrollers, such as the internal RC oscillator and
clock switching, remain the same. They are discussed
later in this chapter.
2.1.1 OSCILLATOR CONTROL
The operation of the oscillator in PIC18F2450/4450
devices is controlled through two Configuration
registers and two control registers. Configuration
registers, CONFIG1L and CONFIG1H, select the
oscillator mode and USB prescaler/postscaler options.
As Configuration bits, these are set when the device is
programmed and left in that configuration until the
device is reprogrammed.
The OSCCON register (Register 2-1) selects the Active
Clock mode; it is primarily used in controlling clock
switching in power-managed modes. Its use is
discussed in Section 2.4.1 “Oscillator Control
Register”.
PIC18F2450/4450
2.2 Oscillator Types
PIC18F2450/4450 devices can be operated in twelve
distinct oscillator modes. In contrast with the non-USB
PIC18 enhanced microcontrollers, four of these modes
involve the use of two oscillator types at once. Users
can program the FOSC3:FOSC0 Configuration bits to
select one of these modes:
1. XT
2. XTPLL
3. HS
4. HSPLL
5. EC
6. ECIO
7. ECPLL
8. ECPIO
9. INTHS
10. INTXT
11. INTIO
Crystal/Resonator
Crystal/Resonator with PLL enabled
High-Speed Crystal/Resonator
High-Speed Crystal/Resonator
with PLL enabled
External Clock with FOSC/4 output
External Clock with I/O on RA6
External Clock with PLL enabled
and FOSC/4 output on RA6
External Clock with PLL enabled,
I/O on RA6
Internal Oscillator used as
microcontroller clock source, HS
Oscillator used as USB clock source
Internal Oscillator used as
microcontroller clock source, XT
Oscillator used as USB clock source
Internal Oscillator used as
microcontroller clock source, EC
Oscillator used as USB clock source,
digital I/O on RA6
12. INTCKO Internal Oscillator used as
microcontroller clock source, EC
Oscillator used as USB clock source,
FOSC/4 output on RA6
© 2006 Microchip Technology Inc.
Advance Information
DS39760A-page 23