10.9 Oscillator Configuration

The oscillator system has both Configuration registers and SFRs to configure, control and monitor the system. The FOSCSEL and FOSC Configuration registers (FOSCSEL and FOSC, respectively) are used for initial setup.

Table 10-1 lists the configuration settings that select the device’s oscillator source and operating mode at a Power-on Reset (POR).

Table 10-1. Configuration Bit Values for Clock Selection
Oscillator SourceOscillator ModeFNOSC[2:0]
ValuePOSCMD[1:0]
ValueNotes
S0Fast RC Oscillator (FRC)000xxNote 1
S1Fast RC Oscillator with PLL (FRCPLL)001xxNote 1
S2Primary Oscillator (EC)01000Note 1
S2Primary Oscillator (XT)01001
S2Primary Oscillator (HS)01010
S3Primary Oscillator with PLL (ECPLL)01100Note 1
S3Primary Oscillator with PLL (XTPLL)01101
S3Primary Oscillator with PLL (HSPLL)01110
S4Reserved100xx
S5Low-Power RC Oscillator (LPRC)101xxNote 1
S6Backup FRC (BFRC)110xxNote 1
S7Fast RC Oscillator with ÷ N Divider 
(FRCDIVN)111xxNote 1, Note 2
Note:
  1. The OSCO pin function is determined by the OSCIOFNC Configuration bit.
  2. This is the default oscillator mode for an unprogrammed (erased) device.