4
FN8112.1
May 17, 2006
7V
SS
Ground
8SDASerial Data. SDA is a bidirectional pin used to transfer data into and out of the device. It has an open
drain output and may be wire ORed with other open drain or open collector outputs. This pin requires
a pull up resistor and the input buffer is always active (not gated).
Watchdog Input. A HIGH to LOW transition on the SDA (while SCL is toggled from HIGH to LOW
and followed by a stop condition) restarts the Watchdog timer. The absence of this transition within
the watchdog time out period results in WDO
going active.
9SCLSerial Clock. The Serial Clock controls the serial bus timing for data input and output.
10 WP Write Protect. WP HIGH prevents writes to any location in the device (including all the registers). It
has an internal pull down resistor. (>10M typical)
11 V
BATT
Battery Supply Voltage. This input provides a backup supply in the event of a failure of the
primary V
CC
voltage. The V
BATT
voltage typically provides the supply voltage necessary to
maintain the contents of SRAM and also powers the internal logic to “stay awake.” If the battery is not
used, connect V
BATT
to ground.
12 V
OUT
Output Voltage. (V)
V
OUT
= V
CC
if V
CC
> V
TRIP1
.
IF V
CC
< V
TRIP1
then V
OUT
= V
CC
if V
CC
> V
BATT
+ 0.03V
else V
OUT
= V
BATT
(ie if V
CC
< V
BATT
– 0.03V)
Note: There is hysteresis around V
BATT
± 0.03V point to avoid oscillation at or near the
switchover voltage. A capacitance of 0.1µF must be connected to V
OUT
to ensure stability.
13 BATT-ON Battery On. This CMOS output goes HIGH when the V
OUT
switches to V
BATT
and goes LOW when
V
OUT
switches to V
CC
. It is used to drive an external PNP pass transistor when V
CC
= V
OUT
and current
requirements are greater than 50mA.
The purpose of this output is to drive an external transistor to get higher operating currents when the
V
CC
supply is fully functional. In the event of a V
CC
failure, the battery voltage is applied to the V
OUT
pin and the external transistor is turned off. In this “backup condition,” the battery only needs to supply
enough voltage and current to keep SRAM devices from losing their data–there is no communication
at this time.
14 V
CC
Supply Voltage
PIN DESCRIPTION (Continued)
Pin Name Function
X40020, 40021
5
FN8112.1
May 17, 2006
PRINCIPLES OF OPERATION
Power-on Reset
Applying power to the X40020/21 activates a Power-
on Reset Circuit that pulls the RESET/RESET
pins
active. This signal provides several benefits.
It prevents the system microprocessor from starting
to operate with insufficient voltage.
It prevents the processor from operating prior to sta-
bilization of the oscillator.
It allows time for an FPGA to download its configura-
tion prior to initialization of the circuit.
It prevents communication to the EEPROM, greatly
reducing the likelihood of data corruption on power-up.
When V
CC
exceeds the device V
TRIP1
threshold value
for t
PURST
(selectable) the circuit releases the RESET
(X40021) and RESET (X40020) pin allowing the system
to begin operation.
Figure 1. Connecting a Manual Reset Push-Button
Manual Reset
By connecting a push-button directly from MR
to
ground, the designer adds manual system reset capa-
bility. The MR
pin is LOW while the push-button is
closed and RESET/RESET
pin remains LOW for
t
PURST
or till the push-button is released and for t
PURST
thereafter. A weak pull up resistor is connected to the
MR
pin.
Low Voltage V1 Monitoring
During operation, the X40020/21 monitors the V
CC
level and asserts RESET if supply voltage falls below
a preset minimum V
TRIP1
. The RESET signal prevents
the microprocessor from operating in a power fail or
brownout condition. The V1FAIL
signal remains active
until the voltage drops below 1V. It also remains active
until V
CC
returns and exceeds V
TRIP1
for t
PURST
.
Low Voltage V2 Monitoring
The X40020/21 also monitors a second voltage level and
asserts V2FAIL
if the voltage falls below a preset mini-
mum V
TRIP2
. The V2FAIL signal is either ORed with
RESET to prevent the microprocessor from operating in
a power fail or brownout condition or used to interrupt the
microprocessor with notification of an impending power
failure. The V2FAIL
signal remains active until the V
CC
drops below 1V (V
CC
falling). It also remains active until
V2MON returns and exceeds V
TRIP2
.
V2MON voltage monitor is powered by V
OUT.
If V
CC
and V
BATT
go away, V2MON cannot be monitored.
Figure 2. Two Uses of Multiple Voltage Monitoring
WATCHDOG TIMER
The Watchdog Timer circuit monitors the microprocessor
activity by monitoring the SDA and SCL pins. A standard
read or write sequence to any slave address byte restarts
the watchdog timer and prevents the WDO
signal to go
active. A minimum sequence to reset the watchdog timer
requires four microprocessor instructions namely, a Start,
Clock Low, Clock High and Stop. The state of two non-
volatile control bits in the Status Register determine the
watchdog timer period. The microprocessor can change
these watchdog bits by writing to the X40020/21 control
register (also refer to page 21).
MR
System
Reset
Manual
Reset
X40020
RESET
Unreg.
Supply
V
CC
5V
Reg
V2MON
X40020
Resistors selected so 3V appears on V2MON when unregulated
supply reaches 6V.
Unreg.
Supply
V
CC
X40021
RESET
V2FAIL
System
V
OUT
Reset
RESET
V2FAIL
V
OUT
System
Reset
Notice: No external components required to monitor two voltages.
R
R
V2MON
5V
Reg
3V
Reg
X40020, 40021
6
FN8112.1
May 17, 2006
Figure 3. V
TRIPX
Set/Reset Conditions
Figure 4. Watchdog Restart
V1 AND V2 THRESHOLD PROGRAM PROCEDURE
(OPTIONAL)
The X40020/21 is shipped with standard V1 and V2
threshold (V
TRIP1,
V
TRIP2
) voltages. These values will not
change over normal operating and storage conditions.
However, in applications where the standard thresholds
are not exactly right, or if higher precision is needed in
the threshold value, the X40020 trip points may be
adjusted. The procedure is described below, and uses
the application of a high voltage control signal.
Setting a V
TRIPx
Voltage (x = 1, 2)
There are two procedures used to set the threshold volt-
ages (V
TRIPx
), depending if the threshold voltage to be
stored is higher or lower than the present value. For
example, if the present V
TRIPx
is 2.9 V and the new
V
TRIPx
is 3.2 V, the new voltage can be stored directly
into the V
TRIPx
cell. If however, the new setting is to be
lower than the present setting, then it is necessary to
“reset” the V
TRIPx
voltage before setting the new value.
Setting a Higher V
TRIPx
Voltage (x = 1, 2)
To set a V
TRIPx
threshold to a new voltage which is
higher than the present threshold, the user must apply
the desired V
TRIPx
threshold voltage to the
corresponding input pin (Vcc(V1MON) or V2MON).
Then, a program-ming voltage (Vp) must be applied to
the WDO
pin before a START condition is set up on
SDA. Next, issue on the SDA pin the Slave Address A0h,
followed by the Byte Address 01h for V
TRIP1
, and 09h for
V
TRIP2
, and a 00h Data Byte in order to program V
TRIPx
.
The STOP bit following a valid write operation initiates
the programming sequence. Pin WDO
must then be
brought LOW to complete the operation.
To check if the V
TRIPX
has been set, set VXMON to a
value slightly greater than V
TRIPX
(that was previously
set). Slowly ramp down VXMON and observe when the
corresponding outputs (LOWLINE
and V2FAIL) switch.
The voltage at which this occurs is the V
TRIPX
(actual).
C
ASE A
Now if the desired V
TRIPX
is greater than the V
TRIPX
(actual), then add the difference between V
TRIPX
(desired) - V
TRIPX
(actual) to the original V
TRIPX
desired.
This is your new V
TRIPX
that should be applied to
VXMON and the whole sequence should be repeated
again (see Figure 5).
C
ASE B
Now if the V
TRIPX
(actual), is higher than the V
TRIPX
(desired), perform the reset sequence as described in
the next section. The new V
TRIPX
voltage to be applied
to VXMON will now be: V
TRIPX
(desired) - (V
TRIPX
(actual) - V
TRIPX
(desired)).
Note: 1. This operation does not corrupt the memory
array.
2. Set V
CC
= 5V, when V
TRIP2
is being pro-
grammed
Setting a Lower V
TRIPx
Voltage (x = 1, 2)
In order to set V
TRIPx
to a lower voltage than the pres-
ent value, then V
TRIPx
must first be “reset” according
to the procedure described below. Once V
TRIPx
has
been “reset”, then V
TRIPx
can be set to the desired
voltage using the procedure described in “Setting a
Higher V
TRIPx
Voltage”.
V
CC
/V2MON
V
TRIPX
V
P
t
WC
A0h
0
7
70 70
SCL
WDO
SDA
(X = 1, 2)
00h
SCL
SDA
.6µs
1.3µs
WDT Reset
Start Stop
X40020, 40021

X40020S14IZ-AT1

Mfr. #:
Manufacturer:
Renesas / Intersil
Description:
Supervisory Circuits DL VAGE CPU SUPS HI IND VTRIP1 4 6
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union