19.07.2014 Views

PIC24HJ64 Datasheet

PIC24HJ64 Datasheet

PIC24HJ64 Datasheet

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PIC24HJ32GP302/304, <strong>PIC24HJ64</strong>GPX02/X04, AND PIC24HJ128GPX02/X04<br />

8.0 OSCILLATOR<br />

CONFIGURATION<br />

Note:<br />

This data sheet summarizes the features<br />

of the PIC24HJ32GP302/304,<br />

<strong>PIC24HJ64</strong>GPX02/X04,<br />

and<br />

PIC24HJ128GPX02/X04 families of<br />

devices. It is not intended to be a<br />

comprehensive reference source. To<br />

complement the information in this data<br />

sheet, refer to the PIC24H Family<br />

Reference Manual, “Section 7.<br />

Oscillator” (DS70227), which is available<br />

from the Microchip website<br />

(www.microchip.com).<br />

The PIC24HJ32GP302/304, <strong>PIC24HJ64</strong>GPX02/X04,<br />

and PIC24HJ128GPX02/X04 oscillator system<br />

provides:<br />

• External and internal oscillator options as clock<br />

sources<br />

• An on-chip Phase-Locked Loop (PLL) to scale the<br />

internal operating frequency to the required<br />

system clock frequency<br />

• An internal FRC oscillator that can also be used<br />

with the PLL, thereby allowing full-speed<br />

operation without any external clock generation<br />

hardware<br />

• Clock switching between various clock sources<br />

• Programmable clock postscaler for system power<br />

savings<br />

• A Fail-Safe Clock Monitor (FSCM) that detects<br />

clock failure and takes fail-safe measures<br />

• A Clock Control register (OSCCON)<br />

• Nonvolatile Configuration bits for main oscillator<br />

selection.<br />

A simplified diagram of the oscillator system is shown<br />

in Figure 8-1.<br />

FIGURE 8-1:<br />

OSCO<br />

OSCI<br />

Primary Oscillator<br />

PIC24HJ32GP302/304, <strong>PIC24HJ64</strong>GPX02/X04, AND PIC24HJ128GPX02/X04<br />

OSCILLATOR SYSTEM DIAGRAM<br />

POSCMD<br />

POSCCLK<br />

S3<br />

S1<br />

PLL (1)<br />

XT, HS, EC<br />

XTPLL, HSPLL,<br />

ECPLL, FRCPLL<br />

PLLCLK<br />

S2<br />

S1/S3<br />

DOZE<br />

DOZE<br />

FCY<br />

÷ 2<br />

FRC<br />

Oscillator<br />

FRCDIV<br />

FRCDIVN<br />

S7<br />

FOSC<br />

TUN<br />

÷16<br />

FRCDIV<br />

FRCDIV16<br />

FRC<br />

S6<br />

S0<br />

LPRC<br />

Oscillator<br />

LPRC<br />

S5<br />

SOSCO<br />

Secondary Oscillator<br />

SOSC<br />

S4<br />

LPOSCEN<br />

SOSCI<br />

Clock Fail<br />

Clock Switch<br />

Reset<br />

S7<br />

NOSC FNOSC<br />

WDT, PWRT,<br />

FSCM<br />

Timer1<br />

Note 1:<br />

See Figure 8-2 for PLL details.<br />

© 2008 Microchip Technology Inc. Preliminary DS70293B-page 113

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!