8.2.2 Internal Clock Sources

The device may be configured to use the internal oscillator block as the system clock by performing one of the following actions:

  • Program the RSTOSC bits in Configuration Word 1 to select the INTOSC clock source, which will be used as the default system clock upon a device Reset.
  • Write the NOSC bits to switch the system clock source to the internal oscillator during run-time.

The function of the OSC2/CLKOUT pin is determined by the CLKOUTEN bit in Configuration Word 1.

The internal oscillator block has two independent oscillators that can produce two internal system clock sources.

  1. The HFINTOSC (High-Frequency Internal Oscillator) is factory-calibrated and operates up to 32 MHz.
  2. The LFINTOSC (Low-Frequency Internal Oscillator) is factory-calibrated and operates at 31 kHz.