5.7.1 Brown-out Detection and Brown-out Reset (BOD/BOR)

The PIC16F, PIC18F, and PIC32CM MCUs provide Brown-out Detection and Brown-out Reset (BOD/BOR) to monitor supply voltages and ensure reliable operation by resetting or interrupting the device if the voltage drops below a programmable threshold. The BOD and BOR features help protect the device from erratic behavior due to insufficient supply voltage. The following table provides a comparison of BOD/BOR features of the PIC16F, PIC18F, and PIC32CM.

Table 5-26. PIC16F, PIC18F, and PIC32CM BOD/BOR Features
Feature PIC16F PIC18F PIC32CM
IntegrationStandalone BOR and LPBOR modulesIntegrated into the Reset System and Configuration Words

Varies per device family:

Integrated into either the Supply

Controller (SUPC) or the System

Controller (SYSCTRL)

Supply Domains Monitored

VDD

VBAT

VDD

VDDCORE

VBAT

Varies per device family: Main (programmable) Core (internal, non-configurable) I/O, Analog, VREG
Early Warning/Interrupt N/ARequires separate HLVDInterrupts on threshold crossing, Wake from sleep
Threshold ConfigurationSelectable between two fixed levelsSelectable levels through Configuration WordsProgrammable (from NVM/User Row/CFG) per domain
Operating Modes

Always On

Off in sleep

Always On

Off in Sleep

Software Controlled

Always Off

Continuous Sampled (low power)
Reset ActionAutomatically triggers a System ResetAsserts a hardware device ResetSystem reset on BOR event I/O reset on VDDIO drop
Hysteresis Fixed hardware hysteresis

Fixed hardware hysteresis

Programmable hysteresis (from calibration)
Sleep Mode OperationBOR can be disabled in Sleep to save power

Can be disabled to save power

LPBOR remains active at lower accuracy

Monitoring in all modes, including Standby/Backup
CalibrationFactory-calibratedFactory-calibratedThreshold/hysteresis values from Flash calibration
Status MonitoringThe Status bits in the PCON and BORCON registersThe BORRDY bit (ready) and the BOR bit (occurred)Status through SUPC/SYSCTRL registers, INTFLAG, etc.
Output PinsN/AN/ASUPC (for supply status indication)
Interrupt on BOD/BORSupported Supported Supported
BOD/BOR Enable/Disable

Fixed through Configuration Bits/Run-time through SFRs

Run-time through SFRRun-time through SFR
BOD Sleep/Wake FunctionalitySupported Supported Supported
BOD Sampling/FilteringSupported Supported Supported
BOD/BOR Status FlagsSupported Supported Supported