7
FN8112.1
May 17, 2006
Resetting the V
TRIPx
Voltage
To reset a V
TRIPx
voltage, apply the programming volt-
age (Vp) 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 03h for
V
TRIP1
and 0Bh for V
TRIP2
, followed by 00h for the Data
Byte in order to reset 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.
After being reset, the value of V
TRIPx
becomes a nominal
value of 1.7V or lesser.
Note: This operation does not corrupt the registers.
System Battery Switch
As long as V
CC
exceeds the low voltage detect thresh-
old V
TRIP
, V
OUT
is connected to V
CC
through a 5 (typi-
cal) switch. When the V
CC
has fallen below V1
TRIP
, then
V
CC
is applied to V
OUT
if V
CC
is or equal to or greater
than V
BATT
- 0.03V. When V
CC
drops to less than
V
BATT
- 0.03V, then V
OUT
is connected to V
BATT
through an 80 (typical) switch. V
OUT
typically supplies
the system static RAM voltage, so the switchover circuit
operates to protect the contents of the static RAM
during a power failure. Typically, when V
CC
has failed,
the SRAMs go into a lower power state and draw much
less current than in their active mode. When V
CC
returns, V
OUT
switches back to V
CC
when V
CC
exceeds
V
BATT
+ 0.03V. There is a 60mV hysteresis around this
battery switch threshold to prevent oscillations between
supplies.
While V
CC
is connected to V
OUT
the BATT-ON pin is
pulled LOW. The signal can drive an external PNP tran-
sistor to provide additional current to the external circuits
during normal operation.
Operation
The device is in normal operation with V
CC
as long as
V
CC
> V
TRIP1
. It switches to the battery backup mode
when V
CC
goes away.
Control Register
The Control Register provides the user a mechanism for
changing the Block Lock and Watchdog Timer settings.
The Block Lock and Watchdog Timer bits are nonvolatile
and do not change when power is removed.
The Control Register is accessed with a special pream-
ble in the slave byte (1011) and is located at address
1FFh. It can only be modified by performing a byte write
operation directly to the address of the register and only
one data byte is allowed for each register write operation.
Prior to writing to the Control Register, the WEL and
RWEL bits must be set using a two step process, with
the whole sequence requiring 3 steps. See "Writing to
the Control Registers" on page 8.
The user must issue a stop, after sending this byte to the
register, to initiate the nonvolatile cycle that stores WD1,
WD0, PUP1, and PUP0. The X40020 will not acknowl-
edge any data bytes written after the first byte is entered.
The state of the Control Register can be read at any time
by performing a random read at address 01Fh, using the
special preamble. Only one byte is read by each register
read operation. The master should supply a stop condi-
tion to be consistent with the bus protocol, but a stop is
not required to end this operation.
RWEL: Register Write Enable Latch (Volatile)
The RWEL bit must be set to1” prior to a write to the
Control Register.
Figure 5. Sample V
TRIP
Reset Circuit
Condition Mode of Operation
V
CC
> V
TRIP1
Normal Operation
V
CC
> V
TRIP1
&
V
BATT
= 0
Normal Operation without battery
backup capability
0 V
CC
V
TRIP1
and V
CC
< V
BATT
Battery Backup mode; RESET
signal is asserted. No communica-
tion to the device is allowed.
76543210
PUP1 WD1 WD0 0 0 RWEL WEL PUP0
1
6
2
7
14
13
9
8
X40020
V
TRIP1
Adj.
V
P
RESET
4.7K
SDA
SCL
µC
Adjust
Run
V2FAIL
V
TRIP2
Adj.
X40020, 40021
8
FN8112.1
May 17, 2006
Figure 6. V
TRIPX
Set/Reset Sequence (X = 1, 2)
WEL: Write Enable Latch (Volatile)
The WEL bit controls the access to the memory and to
the Register during a write operation. This bit is a vola-
tile latch that powers up in the LOW (disabled) state.
While the WEL bit is LOW, writes to any address,
including any control registers will be ignored (no
acknowledge will be issued after the Data Byte). The
WEL bit is set by writing a “1” to the WEL bit and
zeroes to the other bits of the control register.
Once set, WEL remains set until either it is reset to 0
(by writing a “0” to the WEL bit and zeroes to the other
bits of the control register) or until the part powers up
again. Writes to the WEL bit do not cause a high volt-
age write cycle, so the device is ready for the next
operation immediately after the stop condition.
V
TRIPX
Programming
Apply V
CC
and Voltage
Decrease
V
X
Actual
V
TRIPX -
Desired
V
TRIPX
DONE
Set Higher V
X
Sequence
Error < MDE
| Error | < | MDE |
YES
NO
Error > MDE
+
> Desired V
TRIPX
to
V
X
Desired
Present Value
V
TRIPX
<
Execute
No
YES
Execute
V
TRIPX
Reset Sequence
Set V
X
= desired V
TRIPX
New V
X
applied =
Old V
X
applied + | Error |
New V
X
applied =
Old V
X
applied - | Error |
Execute Reset V
TRIPX
Sequence
Output Switches?
Note: X = 1, 2
Let: MDE = Maximum Desired Error
Vx = V
CC
, VxMON
MDE
+
Desired Value
MDE
Acceptable
Error Range
Error = Actual - Desired
X40020, 40021
9
FN8112.1
May 17, 2006
BP: Block Protect Bit (Nonvolatile)
The Block Protect Bits BP determines which blocks of
the array are write protected. A write to a protected
block of memory is ignored. The block protect bit will
prevent write operations to half the array segment.
PUP1, PUP0: Power-up Bits (Nonvolatile)
The Power-up bits, PUP1 and PUP0, determine the
t
PURST
time delay. The nominal power-up times are
shown in the following table.
WD1, WD0: Watchdog Timer Bits
The bits WD1 and WD0 control the period of the
Watchdog Timer. The options are shown below.
Writing to the Control Registers
Changing any of the nonvolatile bits of the control and
trickle registers requires the following steps:
Write a 02H to the Control Register to set the Write
Enable Latch (WEL). This is a volatile operation, so
there is no delay after the write. (Operation pre-
ceded by a start and ended with a stop).
Write a 06H to the Control Register to set the
Register Write Enable Latch (RWEL) and the WEL
bit. This is also a volatile cycle. The zeros in the data
byte are required. (Operation proceeded by a start
and ended with a stop).
Write a one byte value to the Control Register that
has all the control bits set to the desired state. The
Control register can be represented as qxy0 001r in
binary, where xy are the WD bits, and qr are the
power-up bits. This operation proceeded by a start
and ended with a stop bit. Since this is a nonvolatile
write cycle it will take up to 10ms to complete. The
RWEL bit is reset by this cycle and the sequence
must be repeated to change the nonvolatile bits
again. If bit 2 is set to ‘1’ in this third step (qxy0 011r)
then the RWEL bit is set, but the WD1, WD0, PUP1,
and PUP0, bits remain unchanged. Writing a second
byte to the control register is not allowed. Doing so
aborts the write operation and returns a NACK.
A read operation occurring between any of the previ-
ous operations will not interrupt the register write
operation.
The RWEL bit cannot be reset without writing to the
nonvolatile control bits in the control register, power
cycling the device or attempting a write to a write
protected block.
To illustrate, a sequence of writes to the device con-
sisting of [02H, 06H, 02H] will reset all of the nonvola-
tile bits in the Control Register to 0. A sequence of
[02H, 06H, 06H] will leave the nonvolatile bits
unchanged and the RWEL bit remains set.
Note: 1. t
PURST
is set to 200ms as factory default.
2. Watchdog timer bits are shipped disabled.
Fault Detection Register (FDR)
The Fault Detection Register provides the user the
status of what causes the system reset active. The
Manual Reset Fail, Watchdog Timer Fail and Three
Low Voltage Fail bits are volatile.
The FDR is accessed with a special preamble in the
slave byte (1011) and is located at address 0FFh. It
can only be modified by performing a byte write opera-
tion directly to the address of the register and only one
data byte is allowed for each register write operation.
There is no need to set the WEL or RWEL in the con-
trol register to access this fault detection register.
BP
Protected Addresses
(Size)
Memory
Array Lock
0 None None
1 100h - 1FFh (256 bytes) Upper Half of
Memory Array
PUP1 PUP0 Power-on Reset Delay (t
PURST
)
0 0 50ms
0 1 200ms (default)
1 0 400ms
1 1 800ms
WD1 WD0 Watchdog Time Out Period
0 0 1.4 seconds
0 1 200 milliseconds
1 0 25 milliseconds
1 1 disabled (factory default)
7 6543210
LV1F LV2F 0 WDF MRF 0 0 0
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