What is the purpose of a Brownout Reset (BOR) in a microcontroller?
Technical Blog / Author: icDirectory United Kingdom / Date: Jun 23, 2024 20:06
The Brownout Reset (BOR) is a feature found in many microcontrollers that helps ensure reliable operation in situations where the power supply voltage drops below acceptable levels. Its purpose is to reset the microcontroller when a brownout condition occurs, preventing unpredictable behavior and potential data corruption. Here%27s a detailed explanation of the BOR function:

## 1. Brownout Conditions


A brownout occurs when the power supply voltage drops below the normal operating voltage for a short period. This can happen due to various reasons such as power line disturbances, sudden load changes, or even during startup when the power supply stabilizes. Brownouts can cause the microcontroller to malfunction or enter an undefined state.

## 2. Importance of BOR


The BOR feature acts as a safeguard against brownout conditions by monitoring the power supply voltage and resetting the microcontroller when it falls below a predetermined threshold. This ensures that the microcontroller starts fresh and operates reliably even in challenging electrical environments.

## 3. BOR Operation


## Threshold Detection

- The BOR circuit continuously compares the power supply voltage against a predefined threshold voltage.
- When the supply voltage drops below this threshold, the BOR circuit recognizes it as a brownout condition.

## Reset Signal Generation

- Once the brownout condition is detected, the BOR circuit generates a reset signal.
- This reset signal is sent to the microcontroller%27s reset pin, causing the microcontroller to execute a reset sequence.

## Reset Sequence

- Upon receiving the reset signal, the microcontroller performs a series of actions to initialize its internal circuits and return to a known state.
- This includes clearing registers, resetting the program counter, and initializing the stack pointer.

## 4. Benefits of BOR


## Reliable Operation

- By resetting the microcontroller during brownout conditions, the BOR feature helps prevent erratic behavior or incorrect operation caused by insufficient power supply voltage.
- It ensures that the microcontroller starts in a safe and well-defined state, minimizing the risk of data corruption or program execution errors.

## Data Integrity

- Brownout conditions can lead to data corruption, especially if the microcontroller is in the midst of reading from or writing to non-volatile memory or performing critical operations.
- The BOR feature helps protect the integrity of data by resetting the microcontroller instead of allowing it to continue operation under unreliable power conditions.

## System Recovery

- In cases where power supply voltage returns to normal levels after a brownout, the microcontroller can recover and resume its normal operation after the BOR-triggered reset.
- This ensures that the system can quickly recover from momentary power disturbances without requiring manual intervention.

## 5. Configurability


Microcontrollers generally provide options to configure the BOR feature according to specific application requirements. Key configuration parameters may include:

- Threshold Voltage: The voltage level at which the BOR circuit triggers a reset. Different microcontrollers may offer different threshold voltage options to suit various power supply conditions.
- BOR Enable/Disable: The ability to enable or disable the BOR feature based on the application%27s needs. Disabling BOR should be done with caution, as it eliminates the protection against brownout conditions.

It%27s important to consult the microcontroller%27s datasheet and reference manual for specific information on how to configure and utilize the BOR feature.

## Conclusion


The Brownout Reset (BOR) is a vital feature in microcontrollers that provides protection against brownout conditions, ensuring reliable operation and data integrity. By detecting and responding to low power supply voltages, the BOR feature allows the microcontroller to reset and recover from these conditions, minimizing the risk of errors or data corruption. Configurable parameters further enhance the adaptability of the BOR feature to diverse application scenarios.

icDirectory United Kingdom | https://www.icdirectory.co.uk/a/blog/what-is-the-purpose-of-a-brownout-reset-bor-in-a-microcontroller.html
Related Products
R5F10AGFLFB#V5
R5F10AGFLFB#V5
Renesas Electronics
Date: Apr 10, 2026
STM32F446RCT6
STM32F446RCT6
STMicroelectronics
Date: Apr 10, 2026
DS2250-32-16
DS2250-32-16
Maxim Integrated
Date: Apr 10, 2026
DSPIC33EP128GM306-H/MR
DSPIC33EP128GM306-H/MR
Microchip Technology
Date: Apr 10, 2026
R5F212A7SNLG#U0
R5F212A7SNLG#U0
Renesas Electronics
Date: Apr 10, 2026
MB90F342CAPFR-GS
MB90F342CAPFR-GS
Infineon Technologies
Date: Apr 10, 2026
STM32F334C8T7TR
STM32F334C8T7TR
STMicroelectronics
Date: Apr 10, 2026
STM32G431R8T6
STM32G431R8T6
STMicroelectronics
Date: Apr 10, 2026
UPD78F0752MA-FAA-AX
UPD78F0752MA-FAA-AX
Renesas Electronics
Date: Apr 10, 2026
DSPIC33EP512GP504-I/PT
DSPIC33EP512GP504-I/PT
Microchip Technology
Date: Apr 10, 2026
STM32L432KCU6
STM32L432KCU6
STMicroelectronics
Date: Apr 10, 2026
STM32L152VDT6TR
STM32L152VDT6TR
STMicroelectronics
Date: Apr 09, 2026
Technical Blog
  • How do MCUs handle interrupts?
  • How does an MCU handle interrupts?
  • How do MCUs handle analog-to-digital conversion (ADC)?
  • What is the maximum clock frequency supported by most microcontrollers?
  • What are the common clock sources for microcontrollers?
  • What are the common memory sizes available in microcontrollers?
  • What is the significance of the interrupt latency in MCUs?
  • What is the difference between little-endian and big-endian memory storage in microcontrollers?
  • How do microcontrollers handle low-power modes?
  • What are the common power-saving modes in microcontrollers?
  • What is the maximum operating voltage for most microcontrollers?
  • What are the main components of an MCU?
  • What is the role of a memory controller in an MCU?
  • How do microcontrollers handle power sequencing during startup?
  • What are GPIO (General Purpose Input/Output) pins in a microcontroller?
  • What is a microcontroller (MCU)?
  • What are the common clock distribution networks in microcontrollers?
  • What is the significance of the reset vector in a microcontroller?
  • What is the purpose of a hardware watchdog timer in a microcontroller?
  • How do microcontrollers handle cache memory?
  • What are the common input protection mechanisms for microcontroller pins?
  • What is the role of a memory hierarchy in a microcontroller?
  • What is the difference between volatile and non-volatile storage in microcontrollers?
  • What is the purpose of a brownout detection module in a microcontroller?
  • What are the common development boards for microcontroller prototyping?
  • What is the role of a memory management unit (MMU) in a microcontroller?
  • What is the significance of the instruction set architecture in a microcontroller?
  • What is the purpose of a hardware divider in a microcontroller?
  • How do microcontrollers handle real-time constraints?
  • What is the role of a memory bus in a microcontroller?