Embedded Systems & Firmware
What is the role of a microcontroller's brown-out detector (BOD, brown-out reset)?
- ATo reset the microcontroller when the supply voltage drops below what operation requires, preventing unreliable behavior
- BTo turn on an LED when the room gets dark
- CTo raise the supply voltage automatically
Show answer and explanation
Answer: A. To reset the microcontroller when the supply voltage drops below what operation requires, preventing unreliable behavior
When a draining battery or unstable supply lowers the voltage, the microcontroller's circuits are no longer guaranteed to work, and it may execute instructions incorrectly or write garbage to flash. A brown-out detector holds the microcontroller in reset while the voltage is below a set threshold and lets it start only after the voltage has recovered sufficiently. It is an important feature for protecting data.
- A. Correct. It also prevents corrupt flash writes and similar.
- B. It is not a light sensor function.
- C. It does not raise the voltage.