dsPIC33FJ06GS101/X02 and dsPIC33FJ16GSX02/X04
8.0 OSCILLATOR
CONFIGURATION
Note:
This data sheet summarizes the features
of the dsPIC33FJ06GS101/X02 and
dsPIC33FJ16GSX02/X04 families of
devices. It is not intended to be a compre-
hensive reference source. To complement
the information in this data sheet, refer to
the “dsPIC33F Family Reference Manual”,
Section 42. “Oscillator (Part IV)”
(DS70307), which is available from the
Microchip web site (www.microchip.com).
The dsPIC33FJ06GS101/X02 and dsPIC33FJ16GSX02/
X04 oscillator system provides:
• External and internal oscillator options as clock
sources
• An on-chip Phase-Locked Loop (PLL) to scale the
internal operating frequency to the required
system clock frequency
• An internal FRC oscillator that can also be used
with the PLL, thereby allowing full-speed operation
without any external clock generation hardware
• Clock switching between various clock sources
• Programmable clock postscaler for system power
savings
• A Fail-Safe Clock Monitor (FSCM) that detects
clock failure and takes fail-safe measures
• A Clock Control register (OSCCON)
• Nonvolatile Configuration bits for main oscillator
selection.
• Auxiliary PLL for ADC and PWM
A simplified diagram of the oscillator system is shown
in Figure 8-1.
FIGURE 8-1: dsPIC33FJ06GS101/X02 and dsPIC33FJ16GSX02/X04 OSCILLATOR SYSTEM
DIAGRAM
DOZE<2:0>
Primary Oscillator
OSC1
POSCCLK
XT, HS, EC
S2
R(2)
S3
XTPLL, HSPLL,
FCY
ECPLL, FRCPLL
OSC2
S1
PLL(1)
FVCO(1)
S1/S3
POSCMD<1:0>
FP
FRC
Oscillator
FRCCLK
÷2
FRCDIVN S7
FOSC
TUN<5:0>
÷ 16
FRCDIV<2:0>
LPRC
Oscillator
Reference Clock Generation
POSCCLK
FOSC
REFCLKO
÷N
RPx
ROSEL
Auxiliary Clock Generation
FRCCLK
POSCCLK
RODIV<3:0>
APLL
x16
FRCDIV16 S6
FRC S0
LPRC
S5
Clock Fail Clock Switch Reset
S7
NOSC<2:0> FNOSC<2:0>
WDT, PWRT,
FSCM
FVCO(1)
ACLK To PWM/ADC
÷N
ASRCSEL
FRCSEL
ENAPLL
SELACLK APSTSCLR<2:0>
Note 1: See Section 8.1.3 “PLL Configuration” and Section 8.2 “Auxiliary Clock Generation” for FVCO values.
2: If the Oscillator is used with XT or HS modes, an external parallel resistor with the value of 1 MΩ must be connected.
© 2009 Microchip Technology Inc.
Preliminary
DS70318D-page 135