Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Brown-Out detection

2013-01-24 by Chuck Hackett

How does one detect that VCC is dropping so that one can do cleanup
activities (reset external controllers that would leave devices in an
unknown state, etc.) before a BOD reset occurs?

From my reading of the ATMega1284 datasheet I don't see any detection other
than the BOD reset which halts/resets the processor when BOD is detected.

I know I could detect the VCC drop with some extra external hardware to
generate an interrupt but I would like to implement this on boards that
already exist (i.e.: can't add external HW) so hopefully I can do it with
ATMega1284 internals without needing external hardware support.

Pointers?
 
Cheers,

Chuck Hackett
"Good judgment comes from experience, experience comes from bad judgment"
7.5" gauge Union Pacific Northern (4-8-4) 844
http://www.whitetrout.net/Chuck

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.