cancel
Showing results for 
Search instead for 
Did you mean: 

Power fail interrupt

boppie
Associate II
Posted on July 12, 2005 at 12:14

Power fail interrupt

2 REPLIES 2
boppie
Associate II
Posted on July 08, 2005 at 19:01

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.

Thanks

boppie
Associate II
Posted on July 12, 2005 at 12:14

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