5.7.1 Brown-out Detection/Reset (BOD/BOR)
AVR and PIC32CM MCUs provide Brown-out Detection (BOD) and Brown-out Reset (BOR) to monitor supply voltages and ensure reliable operation by resetting or interrupting the device if the voltage drops below a programmable threshold. BOD and BOR features help protect the device from erratic behavior due to insufficient supply voltage. Table 5-27 shows a comparison of features between AVR and PIC32CM.
| Feature/Aspect | AVR® BOD | PIC32CM BOD/BOR (SUPC/SYSCTRL) |
|---|---|---|
| Integration | Stand-alone BOD |
Varies per device family: Integrated into either the Supply Controller (SUPC) or the System Controller (SYSCTRL) |
| Supply Domains Monitored | Main supply |
Varies per device family: Main (programmable) Core (internal, non-configurable) I/O, Analog, VREG |
| Early Warning/Interrupt | Voltage Level Monitor (VLM) provides early warning interrupt |
Interrupts on threshold crossing Wake from sleep |
| Threshold Configuration |
Programmable (via fuses) VLM as % above BOD | Programmable (from NVM/User Row/CFG) per domain |
| Operating Modes |
Continuous Sampled Disabled |
Continuous Sampled (low power) |
| Reset Action | System reset on BOD event |
System reset on BOR event I/O reset on VDDIO drop |
| Hysteresis | N/A | Programmable hysteresis (from calibration) |
| Sleep Mode Operation | Selectable modes for Active/Sleep | Monitoring in all modes, including Standby/Backup |
| Calibration | N/A | Threshold/hysteresis values from Flash calibration |
| Status Monitoring | VLM status, BOD status | Status via SUPC/SYSCTRL registers, INTFLAG, etc. |
| Output Pins | N/A | SUPC (for supply status indication) |
