67 / 98 page

CybraTech (2000) Ltd.
SOC-3000/i Scale-On-Chip
ASIC
Technical Specification
Revision B
Page 59
July, 2002
LOW VOLTAGE DETECTOR
The low voltage detector is a supervisory circuit in which the Power Fail Input (Vdet) is
compared to an internal 2.23 V reference (Figure 25). The comparator output goes low
when the voltage at Vdet is less than or equal to 2.23 V and Bit 1 of register E400H
equals 0.
Vdet is usually driven by an external voltage divider, which senses the unregulated DC
input to the system 5V regulator. The voltage divider ratio can be chosen such that the
voltage at Vdet falls below 2.23 V several milliseconds before the +5V supply falls below
4.75V. INT0 is normally used to interrupt the microprocessor so that data can be stored
in non-volatile memory before VCC falls below 4.75 V and the RESET output goes low.
The Power Fail Comparator output returns to High when Vdet>2.27V.
DC Unreg.
SOC-3000
Power Fail Comparator
+
–
V
in
V
CC
REG
V
det
R
1
R
2
INTØ
INTØ goes low if Vdet < 2.23V.
Recommended
Values for Resistors
1%133K
1%100K
INTØ
5.19V (Typ.)
INTØ
5.3V (Typ.)
FIGURE 25: LOW VOLTAGE DETECTOR
Interrupt Register
The address of the power-supply interrupt register is E400H (Read/Write).
The bit settings at E400H that define the power failure interrupt and flag are given in
Table 31.
TABLE 31: POWER-FAILURE INTERRUPT REGISTER BIT SETTINGS
ADDRESS BIT
7
BIT
6
BIT
5
BIT
4
BIT
3
BIT
2
BIT 1
POWER FAIL FLAG
BIT 0 (LSB)
INTERRUPT ENABLE
E400H
Don’t Care
0 = If VDET < VREF
1 = Normal
0 = Enabled
1 = Disabled