6 years ago.

Firing and Handling BOD Interrupt on STM32F746-Discovery

Does anybody know how to fire and or handle a brownout detection interrupt?

I am powering my STM32F746-Discovery with an external power source. When the voltage of the power source drops below a certain point the screen starts to flicker and the processors internal flash memory is erased and or corrupted. Therefore, I am looking for a solution that will only allow the processor to continue to boot after it has reached a certain voltage.

Using the STM-Link utility I noticed that the BOD option byte for my processor was set to level 3.

But what should I do next? I have no idea what the ISR function prototype is like nor do I have an idea if an interrupt is fired at all.

Be the first to answer this question.