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
Message
Brown-Out detection
2013-01-24 by Chuck Hackett
Attachments
- No local attachments were found for this message.