4.7.1 CONFIG1

Oscillators
Name: CONFIG1
Address: 0x8007

Configuration Word 1

Bit 15141312111098 
   FCMENCSWENCLKOUTEN 
Access R/PUR/PUUR/P 
Reset 111111 
Bit 76543210 
 RSTOSC[2:0]FEXTOSC[2:0] 
Access UR/PR/PR/PUR/PR/PR/P 
Reset 11111111 

Bit 13 – FCMEN Fail-Safe Clock Monitor Enable bit

ValueDescription
1 FSCM timer enabled
0 FSCM timer disabled

Bit 11 – CSWEN Clock Switch Enable bit

ValueDescription
1 Writing to NOSC and NDIV is allowed
0 The NOSC and NDIV bits cannot be changed by user software

Bit 8 – CLKOUTEN Clock Out Enable bit

ValueNameDescription
1 If FEXTOSC = EC (high, mid or low) or Not Enabled CLKOUT function is disabled; I/O or oscillator function on OSC2
0 If FEXTOSC = EC (high, mid or low) or Not Enabled CLKOUT function is enabled; FOSC/4 clock appears at OSC2
Otherwise This bit is ignored.

Bits 6:4 – RSTOSC[2:0] Power-up Default Value for COSC bits

This value is the Reset default value for COSC and selects the oscillator first used by user software. Refer to COSC operation.

ValueDescription
111 EXTOSC operating per FEXTOSC bits
110 HFINTOSC (1 MHz), with OSCFRQ = ‘010’ (4 MHz) and CDIV = ‘0010’ (4:1)
101 LFINTOSC
100 SOSC
011 Reserved
010 EXTOSC with 4x PLL, with EXTOSC operating per FEXTOSC bits
001 HFINTOSC with 2x PLL (32 MHz), with OSCFRQ = ‘101’ (16 MHz) and CDIV = ‘0000’ (1:1)
000 HFINTOSC with OSCFRQ = 32 MHz and CDIV = 1:1

Bits 2:0 – FEXTOSC[2:0] FEXTOSC External Oscillator Mode Selection bits

ValueDescription
111 ECH (External Clock) above 8 MHz
110 ECM (External Clock) for 500 kHz to 8 MHz
101 ECL (External Clock) below 500 kHz
100 Oscillator not enabled
011 Reserved (do not use)
010 HS (Crystal oscillator) above 4 MHz
001 XT (Crystal oscillator) above 100 kHz, below 4 MHz
000 LP (Crystal oscillator) optimized for 32.768 kHz