5.1.4 Reset Control

The PIC16F, PIC18F and PIC32CM MCUs manage device resets, which return the MCU to a known initial state, and allow software to identify the source of the reset. These devices support multiple reset sources, including Power-on Reset (POR), Brown-out Detection (BOD), external reset pin, Watchdog Timer (WDT) Reset, and software-initiated reset. They also provide status registers for software to determine the cause of the last reset, supporting robust system recovery and diagnostics. The table below provides a comparison of the features of PIC16F, PIC18F, and PIC32CM.

Table 5-6. PIC16F, PIC18F, and PIC32CM Reset Control Features
Feature/AspectPIC16F Reset ControlPIC18F Reset ControlPIC32CM Reset Controller (RSTC/PM)
IntegrationNo dedicated module (part of the device configuration)No dedicated module (part of the device configuration)Differs per device family:

Standalone RSTCTRL peripheral or

Integrated in the Power Manager (PM) peripheral

Power Reset SourcesPower-on Reset (POR)

Brown-out Detector (BOD)

POR, BODPOR, BOD
User Reset SourcesExternal Reset (MCLR)

Watchdog Timer Reset

Software Reset

External Reset (MCLR)

Watchdog Timer Reset

Software Reset

External Reset

Watchdog Timer Reset

Software Reset

System Reset Request

CPU Lockup Reset

Low-Voltage Detect/ResetSupported (HLVD in some devices)Supported (HLVD in some devices)Supported (BOD/SVM, advanced monitoring)
External Reset (MCLR)External Reset

Watchdog Timer Reset

Software Reset

External Reset

Watchdog Timer Reset

Software Reset

Stack Overflow/Underflow Reset

External Reset

Watchdog Timer Reset

Software Reset

System Reset Request

CPU Lockup Reset

Reset Status FlagsSupportedSupportedSupported
Reset Timer/DelayDevice Reset Timer (DRT)DRTReset controller with programmable delay