5
FN8112.0
March 28, 2005
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
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
.
voltage
to
the
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
present value, then V
TRIPx
must first be “reset” accord-
ing 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
7
0
7
0
SCL
WDO
SDA
(X = 1, 2)
00h
SCL
SDA
.6μs
1.3μs
WDT Reset
Start
Stop
X40020, 40021