2005-07-12 03:14 AM
2005-07-08 10:01 AM
Is there any information on how to implement a power fail interrupt on the STR710?
We want to suspend and stash current states in order to resume after power returns. Thanks2005-07-12 03:14 AM
Since the STR7 requires an external reset generator anyway, I was thinking of using something like the STM708. This has a reset threshold simalar to the STM811 and has a comparator to sense an external voltage rail. I thought that I would sense my system 24V bus thorough appropriate scaling to give me a good advance warning of power fail. The Power fail output then would go to an interrupt. Is my reasoning correct?
On other processors, there is a dedicated Power fail input or non-maskable interrupt. Doesn't appear to be the case on STR7. Is there a preferred interrupt to use (highest priority)? Is there any sample code written for this already? There has been some earlier discussion of the correct reset threshold voltage. What is the best threshold to use, the 2.63V (nom) or the 2.93V (nom)? Thanks in Advance, Oppie