PIC18FXX20
Execution mode. Figure 2-7 shows a block diagram of
the system clock sources. The clock switching feature
is enabled by programming the Oscillator Switching
Enable (OSCSEN) bit in Configuration Register1H to a
‘0’. Clock switching is disabled in an erased device.
See Section 12.0 for further details of the Timer1 oscil-
lator. See Section 23.0 for Configuration Register
details.
2.6
Oscillator Switching Feature
The PIC18FXX20 devices include a feature that allows
the system clock source to be switched from the main
oscillator to an alternate low frequency clock source.
For the PIC18FXX20 devices, this alternate clock
source is the Timer1 oscillator. If a low frequency crys-
tal (32 kHz, for example) has been attached to the
Timer1 oscillator pins and the Timer1 oscillator has
been enabled, the device can switch to a Low Power
FIGURE 2-7:
DEVICE CLOCK SOURCES
PIC18FXX20
Main Oscillator
OSC2
TOSC/4
4 x PLL
SLEEP
TOSC
TSCLK
OSC1
Timer1 Oscillator
T1OSO
TT1P
T1OSCEN
Enable
Clock
Source
Oscillator
T1OSI
Clock Source Option
for Other Modules
DS39609A-page 24
Advance Information
2003 Microchip Technology Inc.