25.8.3 Automatic Configuration at Start-Up and CPU Halts

When the CLB Configuration on Start-up and CPU Halt bits are clear (CLBSU = 0 and CPUHALT = 0), the CLB hardware state machine will configure the CLB, along with any other peripherals, after power-up or device Reset. Once the hardware state machine completes configuration, the CPU remains inactive (i.e., no code execution).

Important: When using the Automatic Configuration on Start-up mode with CPU halt, application software should consider the following:
  • Peripherals (I/O ports, etc.) used by the application must be configured and enabled as part of the automatic configuration
  • Any peripheral using the system clock (FOSC) will not operate, including the CLB
  • Interrupt flags may be used to trigger events; however, software routines are not executed
  • Software debugging of the application is not possible