2003-08-26 06:37 AM
2003-07-30 11:41 PM
Hello
I want to use the Op-Amp as an Interrupt . I need halt the cpu and initiate a run mode on a predefined analog input threshold . Is this feature possible with the ST7Flite0x family ? Latino from Israel2003-08-14 05:11 AM
The problem is not very clear to me. Could you please explain the requirement in detail ?
[ This message was edited by: Ranjeet on 18-08-2003 13:03 ]2003-08-15 03:42 AM
I'm afraid this is not possible with the flite or any ST7.
The only devices with this sort of functionality are the 321/521 which feature an EVD pin as part of the Auxiliary Voltage detector(AVD), but this is a fixed threshold relative to the LVD settings intended for monitoring voltage rails. Hope this helps SJO2003-08-26 06:37 AM
You may use an ei0 external interrupt port I/O pin connected to the digital output of a voltage comparator (instead of an operational amplifier) with an appropriate filtering and histeresis theresolds to avoid an unpredictable enter-exit from HALT mode due source voltage ripple .
For example use fall sense interrupt to enter in halt mode by HALT instruction and rise sense to exit from HALT mode. That means: the interrupt handler routine should change the rise/fall sense of ext irq and handle a flag to monitor this toggle situation. The flag may be avoided using the same or another input to read the digital level of voltage comparator output. Is better to use a micropower RailToRail Comparator. Sixtus