English
Language : 

PIC18F6520-I Datasheet, PDF (26/380 Pages) Micrel Semiconductor – 64/80-Pin High-Performance, 256 Kbit to 1 Mbit Enhanced Flash Microcontrollers with A/D
PIC18F6520/8520/6620/8620/6720/8720
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
crystal (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
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 Register 1H to a
‘0’. Clock switching is disabled in an erased device.
See Section 12.0 “Timer1 Module” for further details
of the Timer1 oscillator. See Section 23.0 “Special
Features of the CPU” for Configuration register
details.
FIGURE 2-7:
DEVICE CLOCK SOURCES
OSC2
OSC1
T1OSO
T1OSI
PIC18FXX20
Main Oscillator
Sleep
Timer1 Oscillator
4 x PLL
TOSC
TOSC/4
TT1P
T1OSCEN
Enable
Oscillator
Clock Source Option
for other Modules
Clock
Source
TSCLK
DS39609B-page 24
 2004 Microchip Technology Inc.