ChipFind - документация

Электронный компонент: X4045M8I-4.5A

Скачать:  PDF   ZIP
REV 1.1.17 9/14/01
Characteristics subject to change without notice.
1 of 25
www.xicor.com
CPU Supervisor with 4Kbit EEPROM
512 x 8 Bit
X4043/45
4K
BLOCK DIAGRAM
Watchdog
Timer Reset
Data
Register
Command
Decode &
Control
Logic
SDA
SCL
V
CC
Reset &
Watchdog
Timebase
Power on and
Generation
V
TRIP
+
-
RESET (X4043)
Reset
Low Voltage
Status
Register
Protect Logic
EEPROM Array
Watchdog Transition
Detector
WP
V
CC
Threshold
Reset logic
Bloc
k Loc
k Control
2Kbits
1Kb
1Kb
RESET (X4045)
FEATURES
Selectable watchdog timer
Low V
CC
detection and reset assertion
--Five standard reset threshold voltages
--Adjust low V
CC
reset threshold voltage using
special programming sequence
--Reset signal valid to V
CC
= 1V
Low power CMOS
--<20A max standby current, watchdog on
--<1A standby current, watchdog OFF
--3mA active current
4Kbits of EEPROM
--16-byte page write mode
--Self-timed write cycle
--5ms write cycle time (typical)
Built-in inadvertent write protection
--Power-up/power-down protection circuitry
--Protect 0, 1/4, 1/2, all or 16, 32, 64 or 128 bytes
of EEPROM array with Block Lock
TM
protection
400kHz 2-wire interface
2.7V to 5.5V power supply operation
Available packages
--8-lead SOIC
--8-lead MSOP
--8-lead PDIP
DESCRIPTION
The X4043/45 combines four popular functions,
Power-on Reset Control, Watchdog Timer, Supply
Voltage Supervision, and Block Lock Protect Serial
EEPROM Memory in one package. This combination
lowers system cost, reduces board space require-
ments, and increases reliability.
Applying power to the device activates the power on
reset circuit which holds RESET/RESET active for a
period of time. This allows the power supply and oscilla-
tor to stabilize before the processor can execute code.
The Watchdog Timer provides an independent protection
mechanism for microcontrollers. When the microcon-
troller fails to restart a timer within a selectable time
out interval, the device activates the RESET/RESET
signal. The user selects the interval from three preset
values. Once selected, the interval does not change,
even after cycling the power.
The device's low V
CC
detection circuitry protects the
user's system from low voltage conditions, resetting the
system when V
CC
falls below the minimum V
CC
trip
point. RESET/RESET is asserted until V
CC
returns to
proper operating level and stabilizes. Five industry stan-
dard V
TRIP
thresholds are available, however, Xicor's
unique circuits allow the threshold to be reprogrammed
to meet custom requirements or to fine-tune the thresh-
old for applications requiring higher precision.
X4043/45
Characteristics subject to change without notice.
2 of 25
REV 1.1.17 9/14/01
www.xicor.com
The memory portion of the device is a CMOS Serial
EEPROM array with Xicor's block lock
protection. The
array is internally organized as x 8. The device features
an 2-wire interface and software protocol allowing
operation on an I
2
C bus.
The device utilizes Xicor's proprietary Direct Write
TM
cell, providing a minimum endurance of 1,000,000
cycles and a minimum data retention of 100 years.
PIN CONFIGURATION
NC
V
SS
V
CC
SDA
SCL
3
2
4
1
6
7
5
8
NC
WP
RESET
8-Pin JEDEC SOIC, MSOP, PDIP
Pin
(SOIC/MSOP/DIP)
Name
Function
1
NC
No internal connections
2
NC
No internal connections
3
RESET/
RESET
Reset Output
.
RESET is an active LOW, open drain output which goes active
whenever V
CC
falls below V
TRIP
. It will remain active until V
CC
rises above the V
TRIP
for t
PURST
. RESET/RESET goes active if the Watchdog Timer is enabled and SDA
remains either HIGH or LOW longer than the selectable Watchdog time out period.
RESET/RESET goes active on power up and remains active for 250ms after the
power supply stabilizes. RESET is an active high open drain output. An external pull
up resistor is required on the RESET/RESET pin.
4
V
SS
Ground
5
SDA
Serial 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).
6
SCL
Serial Clock.
The Serial Clock input controls the serial bus timing for data input and
output.
7
WP
Write Protect.
WP HIGH prevents writes to any location in the device (including the
control register). Connect WP pin to V
SS
when it is not used.
8
V
CC
Supply Voltage
X4043/45
Characteristics subject to change without notice.
3 of 25
REV 1.1.17 9/14/01
www.xicor.com
PRINCIPLES OF OPERATION
Power On Reset
Application of power to the X4043/45 activates a Power
On Reset Circuit that pulls the RESET/RESET pin
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.
When V
CC
exceeds the device V
TRIP
threshold value
for 200ms (nominal) the circuit releases RESET/
RESET allowing the system to begin operation.
Low Voltage Monitoring
During operation, the X4043/45 monitors the V
CC
level
and asserts RESET/RESET if supply voltage falls
below a preset minimum V
TRIP
. The RESET/RESET
signal prevents the microprocessor from operating in a
power fail or brownout condition. The RESET/RESET
signal remains active until the voltage drops below 1V.
It also remains active until V
CC
returns and exceeds
V
TRIP
for 200ms.
Watchdog Timer
The Watchdog Timer circuit monitors the microproces-
sor 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
(RESET/RESET) signal going active. A minimum
sequence to reset the watchdog timer requires four
microprocessor intructions namely, a Start, Clock Low,
Clock High and Stop. (See Page 18) The state of two
nonvolatile control bits in the status register determine
the watchdog timer period. The microprocessor can
change these watchdog bits, or they may be "locked"
by tying the WP pin HIGH.
Figure 1. Watchdog Restart
EEPROM Inadvertent Write Protection
When RESET/RESET goes active as a result of a low
voltage condition (V
CC
< V
TRIP
), any in-progress com-
munications are terminated. While V
CC
< V
TRIP
, no
new communications are allowed and no nonvolatile
write operation can start. Nonvolatile writes in-progress
when RESET/RESET goes active are allowed to finish.
Additional protection mechanisms are provided with
memory block lock and the Write Protect (WP) pin.
These are discussed elsewhere in this document.
V
TRIP
Programming
The X4043/45 is shipped with a standard V
CC
thresh-
old (V
TRIP
) voltage. This value will not change over
normal operating and storage conditions. However, in
applications where the standard V
TRIP
is not exactly
right, or if higher precision is needed in the V
TRIP
value, the X4043/45 threshold may be adjusted. The
procedure is described below, and uses the application
of a high voltage control signal.
SCL
SDA
.6s
1.3s
Start
Stop
Reset
WDT
Figure 2. Set V
TRIP
Level Sequence (V
CC
= desired V
TRIP
values WEL bit set)
0
1
2 3
4
5 6
7
SCL
SDA
A0h
0
1
2 3
4
5 6
7
01h
WP
V
P
= 15-18V
0
1
2 3
4
5 6
7
00h
X4043/45
Characteristics subject to change without notice.
4 of 25
REV 1.1.17 9/14/01
www.xicor.com
Setting a V
TRIP
Voltage
There are two procedures used to set the threshold
voltages (V
TRIP
), depending if the threshold voltage to
be stored is higher or lower than the present value. For
example, if the present V
TRIP
is 2.9 V and the new
V
TRIP
is 3.2 V, the new voltage can be stored directly
into the V
TRIP
cell. If however, the new setting is to be
lower than the present setting, then it is necessary to
"reset" the V
TRIP
voltage before setting the new value.
Setting a Higher V
TRIP
Voltage
To set a V
TRIP
threshold to a new voltage which is
higher than the present threshold, the user must apply
the desired V
TRIP
threshold voltage to the V
CC
. Then, a
programming voltage (Vp) must be applied to the WP
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
TRIP
and a 00h Data
Byte in order to program V
TRIP
. The STOP bit following
a valid write operation initiates the programming
sequence. WP pin must then be brought LOW to com-
plete the operation.
To check if the V
TRIP
has been set, first power down
the device. Slowly ramp up V
CC
and observe when the
output, RESET (4043) or RESET (4045) switches. The
voltage at which this occurs is the V
TRIP
(actual) (see
Figure 2).
C
ASE
A
Now if the desired V
TRIP
is greater than the V
TRIP
(actual), then add the difference between V
TRIP
(desired) V
TRIP
(actual) to the original V
TRIP
desired.
This is your new V
TRIP
that should be applied to V
CC
and the whole sequence should be repeated again
(see Figure 5).
C
ASE
B
Now if the V
TRIP
(actual), is higher than the V
TRIP
(desired), perform the reset sequence as described in
the next section. The new V
TRIP
voltage to be applied
to V
CC
will now be: V
TRIP
(desired) (V
TRIP
(actual)
V
TRIP
(desired)).
Note:
This operation does not corrupt the memory
array.
Setting a Lower V
TRIP
Voltage
In order to set V
TRIP
to a lower voltage than the
present value, then V
TRIP
must first be "reset" accord-
ing to the procedure described below. Once V
TRIP
has
been "reset", then V
TRIP
can be set to the desired volt-
age using the procedure described in "Setting a Higher
V
TRIP
Voltage".
Resetting the V
TRIP
Voltage
To reset a V
TRIP
voltage, apply the programming volt-
age (Vp) to the WP 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 fol-
lowed by 00h for the Data Byte in order to reset V
TRIP
.
The STOP bit following a valid write operation initiates
the programming sequence. Pin WP must then be
brought LOW to complete the operation.
After being reset, the value of V
TRIP
becomes a nomi-
nal value of 1.7V or lesser.
Note: This operation does not corrupt the memory
array.
X4043/45
Characteristics subject to change without notice.
5 of 25
REV 1.1.17 9/14/01
www.xicor.com
Figure 3. Reset V
TRIP
Level Sequence (V
CC
> 3V. WP = 1518V, WEL bit set)
Figure 4. Sample V
TRIP
Reset Circuit
0
1
2 3
4
5 6
7
SCL
SDA
0
1
2 3
4
5 6
7
WP
V
P
= 15-18V
0
1
2 3
4
5 6
7
A0h
03h
00h
1
2
3
4
8
7
6
5
X4043
V
TRIP
Adj.
V
P
RESET
4.7K
SDA
SCL
C
Adjust
Run
X4043/45
Characteristics subject to change without notice.
6 of 25
REV 1.1.17 9/14/01
www.xicor.com
Figure 5. V
TRIP
Programming Sequence
V
TRIP
Programming
Power Down
Actual V
TRIP
Desired V
TRIP
DONE
Set Higher V
TRIP
Sequence
Error < MDE
| Error | < | MDE |
YES
NO
Error > MDE
+
the Device
Desired
Present Value ?
V
TRIP
<
Execute
No
YES
Execute
V
TRIP
Reset Sequence
Set V
CC
= desired V
TRIP
New V
CC
applied =
Old V
CC
applied + | Error |
New V
CC
applied =
Old V
CC
applied | Error |
Execute Reset V
TRIP
Sequence
Output Switches?
Let: MDE = Maximum Desired Error
MDE
+
Desired Value
MDE
Acceptable
Error Range
Error = Actual Desired
(RESET)
Ramp V
CC
= Error
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 Register".
The user must issue a stop after sending this byte to
the register to initiate the nonvolatile cycle that stores
WD1, WD0, BP2, BP1, and BP0. The X4043/45 will not
acknowledge any data bytes written after the first byte
is entered.
X4043/45
Characteristics subject to change without notice.
7 of 25
REV 1.1.17 9/14/01
www.xicor.com
The state of the control register can be read at any
time by performing a random read at address 1FFh,
using the special preamble. Only one byte is read by
each register read operation. The X4043/45 resets
itself after the first byte is read. The master should sup-
ply a stop condition to be consistent with the bus proto-
col, but a stop is not required to end this operation.
RWEL: Register Write Enable Latch (Volatile)
The RWEL bit must be set to "1" prior to a write to the
Control Register.
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 writ-
ing 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 nonvolatile write
cycle, so the device is ready for the next operation
immediately after the stop condition.
BP2, BP1, BP0: Block Protect Bits (Nonvolatile)
The block protect bits, BP2, BP1 and BP0, determine
which blocks of the array are write protected. A write to
a protected block of memory is ignored. The block pro-
tect bits will prevent write operations to one of eight
segments of the array.
WD1, WD0: Watchdog Timer Bits
The bits WD1 and WD0 control the period of the watch-
dog timer. The options are shown below.
Writing to the Control Register
Changing any of the nonvolatile bits of the control reg-
ister 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-
ceeded by a start and ended with a stop).
Write a 06H to the control register to set both 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 preceeded by a start
and ended with a stop).
Write a value to the control register that has all the
control bits set to the desired state. This can be rep-
resented as 0xys t01r in binary, where xy are the WD
bits, and rst are the BP bits. (Operation preceeded
by a start and ended with a stop). Since this is a non-
volatile write cycle it will take up to 10ms to com-
plete. The RWEL bit is reset by this cycle and the
sequence must be repeated to change the nonvola-
tile bits again. If bit 2 is set to `1' in this third step
(0xys t11r) then the RWEL bit is set, but the WD1,
WD0, BP2, BP1 and BP0 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 consist-
ing of [02H, 06H, 02H] will reset all of the nonvolatile
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.
7
6
5
4
3
2
1
0
0
WD1
WD0
BP1
BP0
RWEL
WEL
BP2
BP2
BP1
BP0
Protected Addresses
(Size)
Array Lock
0
0
0
None (factory setting)
None
0
0
1
180h - 1FFh
(128 bytes
)
Upper 1/4 (Q4)
0
1
0
100h - 1FFh
(256 bytes
)
Upper 1/2 (Q3,Q4)
0
1
1
000h - 1FFh
(512 bytes)
Full Array (All)
1
0
0
000h - 00Fh
(16 bytes)
First Page (P1)
1
0
1
000h - 01Fh
(32 bytes)
First 2 pgs (P2)
1
1
0
000h - 03Fh
(64 bytes)
First 4 pgs (P4)
1
1
1
000h - 07Fh
(128 bytes)
First 8 pgs (P8)
WD1
WD0
Watchdog Time Out Period
0
0
1.4 seconds
0
1
600 milliseconds
1
0
200 milliseconds
1
1
Disabled (factory setting)
X4043/45
Characteristics subject to change without notice.
8 of 25
REV 1.1.17 9/14/01
www.xicor.com
SERIAL INTERFACE
Serial Interface Conventions
The device supports a bidirectional bus oriented proto-
col. The protocol defines any device that sends data
onto the bus as a transmitter, and the receiving device
as the receiver. The device controlling the transfer is
called the master and the device being controlled is
called the slave. The master always initiates data
transfers, and provides the clock for both transmit and
receive operations. Therefore, the devices in this family
operate as slaves in all applications.
Serial Clock and Data
Data states on the SDA line can change only during
SCL LOW. SDA state changes during SCL HIGH are
reserved for indicating start and stop conditions. See
Figure 6.
Figure 6. Valid Data Changes on the SDA Bus
SCL
SDA
Data Stable
Data Change
Data Stable
Serial Start Condition
All commands are preceded by the start condition,
which is a HIGH to LOW transition of SDA when SCL is
HIGH. The device continuously monitors the SDA and
SCL lines for the start condition and will not respond to
any command until this condition has been met. See
Figure 7.
Serial Stop Condition
All communications must be terminated by a stop condi-
tion, which is a LOW to HIGH transition of SDA when
SCL is HIGH. The stop condition is also used to place
the device into the standby power mode after a read
sequence. A stop condition can only be issued after the
transmitting device has released the bus. See Figure 6.
Figure 7. Valid Start and Stop Conditions
SCL
SDA
Start
Stop
Serial Acknowledge
Acknowledge is a software convention used to indicate
successful data transfer. The transmitting device, either
master or slave, will release the bus after transmitting
eight bits. During the ninth clock cycle, the receiver will
pull the SDA line LOW to acknowledge that it received
the eight bits of data. Refer to Figure 8.
The device will respond with an acknowledge after rec-
ognition of a start condition and if the correct device
identifier and select bits are contained in the slave
address byte. If a write operation is selected, the
device will respond with an acknowledge after the
receipt of each subsequent eight bit word. The device
will acknowledge all incoming data and address bytes,
except for the slave address byte when the device
identifier and/or select bits are incorrect.
In the read mode, the device will transmit eight bits of
data, release the SDA line, then monitor the line for an
acknowledge. If an acknowledge is detected and no
X4043/45
Characteristics subject to change without notice.
9 of 25
REV 1.1.17 9/14/01
www.xicor.com
stop condition is generated by the master, the device
will continue to transmit data. The device will terminate
further data transmissions if an acknowledge is not
detected. The master must then issue a stop condition
to return the device to standby mode and place the
device into a known state.
Figure 8. Acknowledge Response From Receiver
Data Output
from Transmitter
Data Output
from Receiver
8
1
9
Start
Acknowledge
SCL from
Master
X4043/45 ADDRESSING
Slave Address Byte
Following a start condition, the master must output a
slave address byte. This byte consists of several parts:
a device type identifier that is `1010' to access the
array and `1011' to access the control register.
two bits of `0'.
one bit that becomes the MSB of the address.
one bit of the slave command byte is a R/W bit. The
R/W bit of the slave address byte defines the opera-
tion to be performed. When the R/W bit is a one, then
a read operation is selected. A zero selects a write
operation. Refer to Figure 8.
After loading the entire slave address byte from the
SDA bus, the device compares the input slave byte
data to the proper slave byte. Upon a correct compare,
the device outputs an acknowledge on the SDA line.
Word Address
The word address is either supplied by the master or
obtained from an internal counter. The internal counter
is undefined on a power up condition.
Slave Address Byte
Figure 9. X4043/45 Addressing
Operational Notes
The device powers-up in the following state:
The device is in the low power standby state.
The WEL bit is set to `0'. In this state it is not possible
to write to the device.
SDA pin is the input mode.
RESET signal is active for t
PURST
.
SERIAL WRITE OPERATIONS
Byte Write
For a write operation, the device requires the slave
address byte and a word address byte. This gives the
master access to any one of the words in the array.
After receipt of the word address byte, the device
responds with an acknowledge, and awaits the next
eight bits of data. After receiving the 8 bits of the data
byte, the device again responds with an acknowledge.
The master then terminates the transfer by generating a
stop condition, at which time the device begins the inter-
nal write cycle to the nonvolatile memory. During this
internal write cycle, the device inputs are disabled, so the
device will not respond to any requests from the master.
The SDA output is at high impedance. See Figure 10.
A write to a protected block of memory will suppress
the acknowledge bit.
Array
Control Reg.
1
1
0
0
1
1
0
1
0
0
A8
R/W
A7
A6
A5
A4
A3
A2
A1
A0
Word Address
Slave Byte
X4043/45
Characteristics subject to change without notice.
10 of 25
REV 1.1.17 9/14/01
www.xicor.com
Page Write
The device is capable of a page write operation. It is
initiated in the same manner as the byte write opera-
tion; but instead of terminating the write cycle after the
first data byte is transferred, the master can transmit
an unlimited number of 8-bit bytes. After the receipt of
each byte, the device will respond with an acknowl-
edge, and the address is internally incremented by
one. The page address remains constant. When the
counter reaches the end of the page, it "rolls over" and
goes back to `0' on the same page. This means that the
master can write 16 bytes to the page starting at any
location on that page. If the master begins writing at
location 10, and loads 12 bytes, then the first 5 bytes
are written to locations 10 through 15, and the last 7
bytes are written to locations 0 through 6. Afterwards,
the address counter would point to location 7 of the
page that was just written. If the master supplies more
than 16 bytes of data, then new data over-writes the
previous data, one byte at a time.
Figure 11. Page Write Operation
Figure 12. Writing 12-bytes to a 16-byte page starting at location 10
S
t
a
r
t
S
t
o
p
Slave
Address
Byte
Address
Data
(n)
A
C
K
A
C
K
SDA Bus
Signals from
the Slave
Signals from
the Master
0
Data
(1)
A
C
K
(1
n 16)
A
C
K
Address
Address
10
5 Bytes
n-1
7 Bytes
Address
= 6
Address Pointer
Ends Here
Addr = 7
The master terminates the data byte loading by issuing
a stop condition, which causes the device to begin the
nonvolatile write cycle. As with the byte write operation,
all inputs are disabled until completion of the internal
write cycle. See Figure 11 for the address, acknowl-
edge, and data transfer sequence.
Stops and Write Modes
Stop conditions (that terminate write operations) must
be sent by the master after sending at least 1 full data
byte, plus the subsequent ACK signal. If a stop is
issued in the middle of a data byte, or before 1 full data
byte plus its associated ACK is sent, then the device
will reset itself without performing the write. The con-
tents of the array will not be effected.
Figure 10. Byte Write Sequence
.
S
t
a
r
t
S
t
o
p
Slave
Address
Byte
Address
Data
A
C
K
A
C
K
A
C
K
SDA Bus
Signals from
the Slave
Signals from
the Master
0
X4043/45
Characteristics subject to change without notice.
11 of 25
REV 1.1.17 9/14/01
www.xicor.com
Figure 14. Current Address Read Sequence
S
t
a
r
t
S
t
o
p
Slave
Address
Data
A
C
K
SDA Bus
Signals from
the Slave
Signals from
the Master
1
Acknowledge Polling
The disabling of the inputs during nonvolatile cycles
can be used to take advantage of the typical 5kHz write
cycle time. Once the stop condition is issued to indicate
the end of the master's byte load operation, the device
initiates the internal nonvolatile cycle. Acknowledge
polling can be initiated immediately. To do this, the mas-
ter issues a start condition followed by the slave
address byte for a write or read operation. If the device
is still busy with the nonvolatile cycle then no ACK will
be returned. If the device has completed the write oper-
ation, an ACK will be returned and the host can then
proceed with the read or write operation. Refer to the
flow chart in Figure 13.
Serial Read Operations
Read operations are initiated in the same manner as
write operations with the exception that the R/W bit of
the slave address byte is set to one. There are three
basic read operations: Current Address Reads, Ran-
dom Reads, and Sequential Reads.
Current Address Read
Internally the device contains an address counter that
maintains the address of the last word read incre-
mented by one. Therefore, if the last read was to
address n, the next read operation would access data
from address n+1. On power up, the address of the
address counter is undefined, requiring a read or write
operation for initialization.
Upon receipt of the slave address byte with the R/W bit
set to one, the device issues an acknowledge and then
transmits the eight bits of the data byte. The master ter-
minates the read operation when it does not respond
with an acknowledge during the ninth clock and then
issues a stop condition. Refer to Figure 13 for the
address, acknowledge, and data transfer sequence.
Figure 13. Acknowledge Polling Sequence
It should be noted that the ninth clock cycle of the read
operation is not a "don't care." To terminate a read oper-
ation, the master must either issue a stop condition dur-
ing the ninth cycle or hold SDA HIGH during the ninth
clock cycle and then issue a stop condition.
ACK
Returned?
Issue Slave Address
Byte (Read or Write)
Byte Load Completed
by Issuing STOP.
Enter ACK Polling
Issue STOP
Issue START
NO
YES
Nonvolatile Cycle
Complete. Continue
Command
Issue STOP
NO
Continue Normal
Read or Write
Command Sequence
PROCEED
YES
X4043/45
Characteristics subject to change without notice.
12 of 25
REV 1.1.17 9/14/01
www.xicor.com
Figure 15. Random Address Read Sequence
0
Slave
Address
Byte
Address
A
C
K
A
C
K
S
t
a
r
t
S
t
o
p
Slave
Address
Data
A
C
K
1
S
t
a
r
t
SDA Bus
Signals from
the Slave
Signals from
the Master
There is a similar operation, called "Set Current
Address" where the device does no operation, but
enters a new address into the address counter if a stop
is issued instead of the second start shown in Figure
14. The device goes into standby mode after the stop
and all bus activity will be ignored until a start is
detected. The next current address read operation
reads from the newly loaded address. This operation
could be useful if the master knows the next address it
needs to read, but is not ready for the data.
Sequential Read
Sequential reads can be initiated as either a current
address read or random address read. The first data
byte is transmitted as with the other modes; however,
the master now responds with an acknowledge, indicating
it requires additional data. The device continues to out-
put data for each acknowledge received. The master
terminates the read operation by not responding with
an acknowledge and then issuing a stop condition.
The data output is sequential, with the data from
address n followed by the data from address n + 1. The
address counter for read operations increments
through all page and column addresses, allowing the
entire memory contents to be serially read during one
operation. At the end of the address space the counter
"rolls over" to address 0000
H
and the device continues
to output data for each acknowledge received. Refer to
Figure 16 for the acknowledge and data transfer
sequence.
Figure 16. Sequential Read Sequence
Data
(2)
S
t
o
p
Slave
Address
Data
(n)
A
C
K
A
C
K
SDA Bus
Signals from
the Slave
Signals from
the Master
1
Data
(n-1)
(n is any integer greater than 1)
Data
(1)
A
C
K
A
C
K
Random Read
Random read operation allows the master to access
any memory location in the array. Prior to issuing the
slave address byte with the R/W bit set to one, the
master must first perform a "dummy" write operation.
The master issues the start condition and the slave
address byte, receives an acknowledge, then issues
the word address bytes. After acknowledging receipts
of the word address bytes, the master immediately
issues another start condition and the slave address
byte with the R/W bit set to one. This is followed by an
acknowledge from the device and then by the eight bit
word. The master terminates the read operation by not
responding with an acknowledge and then issuing a
stop condition. Refer to Figure 15 for the address,
acknowledge, and data transfer sequence.
X4043/45
Characteristics subject to change without notice.
13 of 25
REV 1.1.17 9/14/01
www.xicor.com
Data Protection
The following circuitry has been included to prevent
inadvertent writes:
The WEL bit must be set to allow write operations.
The proper clock count and bit sequence is required
prior to the stop bit in order to start a nonvolatile write
cycle.
A three step sequence is required before writing into
the control register to change watchdog timer or
block lock settings.
The WP pin, when held HIGH, prevents all writes to
the array and the control register.
Communication to the device is inhibited as a result
of a low voltage condition (V
CC
< V
TRIP
)any in-
progress communication is terminated.
Block lock bits can protect sections of the memory
array from write operations.
Symbol Table
WAVEFORM
INPUTS
OUTPUTS
Must be
steady
Will be
steady
May change
from LOW
to HIGH
Will change
from LOW
to HIGH
May change
from HIGH
to LOW
Will change
from HIGH
to LOW
Don't Care:
Changes
Allowed
Changing:
State Not
Known
N/A
Center Line
is High
Impedance
X4043/45
Characteristics subject to change without notice.
14 of 25
REV 1.1.17 9/14/01
www.xicor.com
ABSOLUTE MAXIMUM RATINGS
Temperature under bias ................... -65C to +135C
Storage temperature ........................ -65C to +150C
Voltage on any pin with
respect to V
SS
.......................................-1.0V to +7V
D.C. output current ............................................... 5mA
Lead temperature (soldering, 10 seconds)........ 300C
COMMENT
Stresses above those listed under "Absolute Maximum
Ratings" may cause permanent damage to the device.
This is a stress rating only; the functional operation of
the device (at these or any other conditions above those
listed in the operational sections of this specification) is
not implied. Exposure to absolute maximum rating con-
ditions for extended periods may affect device reliability.
RECOMMENDED OPERATING CONDITIONS
Temperature
Min.
Max.
Commercial
0C
70C
Industrial
-40C
+85C
Option
Supply Voltage Limits
2.7 and 2.7A
2.7V to 5.5V
Blank and 4.5A
4.5V to 5.5V
D.C. OPERATING CHARACTERISTICS (Over the recommended operating conditions unless otherwise specified.)
Notes: (1) The device enters the active state after any start, and remains active until: 9 clock cycles later if the device select bits in the slave
address byte are incorrect; 200ns after a stop ending a read operation; or t
WC
after a stop ending a write operation.
(2) The device goes into standby: 200ns after any stop, except those that initiate a nonvolatile write cycle; t
WC
after a stop that initiates
a nonvolatile cycle; or 9 clock cycles after any start that is not followed by the correct device select bits in the slave address byte.
(3) V
IL
min. and V
IH
max. are for reference only and are not tested.
Symbol
Parameter
V
CC
= 2.7 to 5.5V
Unit
Test Conditions
Min.
Max.
I
CC1
(1)
Active supply current read
1.0
mA
V
IL
= V
CC
x 0.1, V
IH
= V
CC
x 0.9
f
SCL
= 400kHz
I
CC2
(1)
Active supply current write
3.0
mA
I
SB1
(2)
Standby current AC (WDT off)
1
A
V
IL
= V
CC
x 0.1, V
IH
= V
CC
x 0.9
f
SCL
= 400kHz, SDA = open
V
CC
= 1.22 x V
CC
min
I
SB2
(2)
Standby current DC (WDT off)
1
A
V
SDA
= V
SCL
= V
SB
Others = GND or V
SB
I
SB3
(2)
Standby current DC (WDT on)
20
A
V
SDA
=V
SCL
= V
SB
Others = GND or V
SB
I
LI
Input leakage current
10
A
V
IN
= GND to V
CC
I
LO
Output leakage current
10
A
V
SDA
= GND to V
CC
device is in standby
V
IL
(3)
Input LOW voltage
-0.5
V
CC
x 0.3
V
V
IH
(3)
Input nonvolatile
V
CC
x 0.7
V
CC
+ 0.5
V
V
HYS
Schmitt trigger input hysteresis
Fixed input level
V
CC
related level
0.2
.05 x V
CC
V
V
V
OL
Output LOW voltage
0.4
V
I
OL
= 3.0mA (2.75.5V)
I
OL
= 1.8mA (2.03.6V)
X4043/45
Characteristics subject to change without notice.
15 of 25
REV 1.1.17 9/14/01
www.xicor.com
CAPACITANCE (T
A
= 25C, f = 1.0 MHz, V
CC
= 5V)
Notes: (4) This parameter is periodically sampled and not 100% tested.
Symbol
Parameter
Max.
Unit
Test Conditions
C
OUT
(4)
Output capacitance (SDA, RESET/RESET)
8
pF
V
OUT
= 0V
C
IN
(4)
Input capacitance (SCL, WP)
6
pF
V
IN
= 0V
EQUIVALENT A.C. LOAD CIRCUIT
A.C. TEST CONDITIONS
5V
4.6K
RESET
100pF
SDA
1533
100pF
5V
For V
OL
= 0.4V
and I
OL
= 3 mA
Input pulse levels
0.1 V
CC
to 0.9 V
CC
Input rise and fall times
10ns
Input and output timing levels
0.5 V
CC
Output load
Standard output load
A.C. CHARACTERISTICS (Over recommended operating conditions, unless otherwise specified)
Notes: (5) Typical values are for T
A
= 25C and V
CC
= 5.0V
(6) Cb = total capacitance of one bus line in pF.
Symbol
Parameter
100kHz 400kHz
Unit
Min.
Max.
Min.
Max.
f
SCL
SCL clock frequency
0
100
0
400
kHz
t
IN
Pulse width suppression time at inputs
n/a
n/a
50
ns
t
AA
SCL LOW to SDA data out valid
0.1
0.9
0.1
0.9
s
t
BUF
Time the bus free before start of new transmission
4.7
1.3
s
t
LOW
Clock LOW time
4.7
1.3
s
t
HIGH
Clock HIGH time
4.0
0.6
s
t
SU:STA
Start condition setup time
4.7
0.6
s
t
HD:STA
Start condition hold time
4.0
0.6
s
t
SU:DAT
Data in setup time
250
100
ns
t
HD:DAT
Data in hold time
5.0
0
s
t
SU:STO
Stop condition setup time
0.6
0.6
s
t
DH
Data output hold time
50
50
ns
t
R
SDA and SCL rise time
1000
20 + .1Cb
(6)
300
ns
t
F
SDA and SCL fall time
300
20 + .1Cb
(6)
300
ns
t
SU:WP
WP setup time
0.4
0.6
s
t
HD:WP
WP hold time
0
0
s
Cb
Capacitive load for each bus line
400
400
pF
X4043/45
Characteristics subject to change without notice.
16 of 25
REV 1.1.17 9/14/01
www.xicor.com
TIMING DIAGRAMS
Bus Timing
WP Pin Timing
Write Cycle Timing
Nonvolatile Write Cycle Timing
Notes: (7) t
WC
is the time from a valid stop condition at the end of a write sequence to the end of the self-timed internal nonvolatile write cycle.
It is the minimum cycle time to be allowed for any nonvolatile write by the user, unless acknowledge polling is used.
Symbol
Parameter
Min.
Typ.
(7)
Max.
Unit
t
WC
(7)
Write cycle time
5
10
ms
t
SU:STO
t
DH
t
HIGH
t
SU:STA
t
HD:STA
t
HD:DAT
t
SU:DAT
SCL
SDA IN
SDA OUT
t
F
t
LOW
t
BUF
t
AA
t
R
t
HD:WP
SCL
SDA IN
WP
t
SU:WP
Clk 1
Clk 9
Slave Address Byte
START
SCL
SDA
t
WC
8
th
Bit of Last Byte
ACK
Stop
Condition
Start
Condition
X4043/45
Characteristics subject to change without notice.
17 of 25
REV 1.1.17 9/14/01
www.xicor.com
Power-Up and Power-Down Timing
RESET Output Timing
Notes: (8) This parameter is periodically sampled and not 100% tested.
Symbol
Parameter
Min.
Typ.
Max.
Unit
V
TRIP
Reset trip point voltage, X4043/45-4.5A
Reset trip point voltage, X4043/45
Reset trip point voltage, X4043/45-2.7A
Reset trip point voltage, X4043/45-2.7
4.5
4.25
2.85
2.55
4.62
4.38
2.92
2.62
4.75
4.5
3.0
2.7
V
t
PURST
Power-up reset time out
100
200
400
ms
t
RPD
(8)
V
CC
detect to RESET/RESET
10
20
s
t
F
(8)
V
CC
fall time
20
mV/s
t
R
(8)
V
CC
rise time
20
mV/s
V
RVALID
Reset valid V
CC
1
V
t
WDO
Watchdog time out period,
WD1 = 1, WD0 = 0
WD1 = 0, WD0 = 1
WD1 = 0, WD0 = 0
100
450
1
200
600
1.4
300
800
2
ms
ms
sec
t
RSP
Watchdog Time Restart pulse width
1
s
t
RST
Reset time out
100
200
400
ms
V
CC
t
PURST
t
PURST
t
R
t
F
t
RPD
0 Volts
V
TRIP
RESET
V
RVALID
RESET
V
RVALID
(X4043)
(X4045)
X4043/45
Characteristics subject to change without notice.
18 of 25
REV 1.1.17 9/14/01
www.xicor.com
Watchdog Time Out For 2-Wire Interface
V
TRIP
Set/Reset Conditions
< t
WDO
t
RST
(4043) RESET
SDA
Start
t
WDO
t
RST
SCL
Start
t
RSP
WDT
Restart
Start
SDA
SCL
Minimum Sequence to Reset WDT
Clockin (0 or 1)
SCL
SDA
V
CC
(V
TRIP
)
WP
t
TSU
t
THD
t
VPH
t
VPS
V
P
t
WC
t
VPO
0
7
7
0
7
sets V
TRIP
01h*
03h* resets V
TRIP
0
Start
* all others reserved
A0h
00h
X4043/45
Characteristics subject to change without notice.
19 of 25
REV 1.1.17 9/14/01
www.xicor.com
V
TRIP
Programming Specifications: V
CC
= 2.05.5V; Temperature = 25C
Parameter
Description
Min.
Max.
Unit
t
VPS
WP Program Voltage Setup time
10
s
t
VPH
WP Program Voltage Hold time
10
s
t
TSU
V
TRIP
Level Setup time
10
s
t
THD
V
TRIP
Level Hold (stable) time
10
s
t
WC
V
TRIP
Program Cycle
10
ms
t
VPO
Program Voltage Off time before next cycle
1
ms
V
P
Programming Voltage
15
18
V
V
TRAN
V
TRIP
Set Voltage Range
2.0
4.75
V
V
tv
V
TRIP
Set Voltage variation after programming (-40 to +85C).
-25
+25
mV
t
VPS
WP Program Voltage Setup time
10
s
X4043/45
Characteristics subject to change without notice.
20 of 25
REV 1.1.17 9/14/01
www.xicor.com
PACKAGING INFORMATION
0.150 (3.80)
0.158 (4.00)
0.228 (5.80)
0.244 (6.20)
0.014 (0.35)
0.019 (0.49)
Pin 1
Pin 1 Index
0.010 (0.25)
0.020 (0.50)
0.050 (1.27)
0.188 (4.78)
0.197 (5.00)
0.004 (0.19)
0.010 (0.25)
0.053 (1.35)
0.069 (1.75)
(4X) 7
0.016 (0.410)
0.037 (0.937)
0.0075 (0.19)
0.010 (0.25)
0 - 8
X 45
8-Lead Plastic Small Outline Gull Wing Package Type S
NOTE: ALL DIMENSIONS IN INCHES (IN PARENTHESES IN MILLIMETERS)
0.250"
0.050" Typical
0.050"
Typical
0.030"
Typical
8 Places
FOOTPRINT
X4043/45
Characteristics subject to change without notice.
21 of 25
REV 1.1.17 9/14/01
www.xicor.com
PACKAGING INFORMATION
0.118 0.002
(3.00 0.05)
0.040 0.002
(1.02 0.05)
0.150 (3.81)
Ref.
0.193 (4.90)
0.030 (0.76)
0.036 (0.91)
0.032 (0.81)
0.007 (0.18)
0.005 (0.13)
0.008 (0.20)
0.004 (0.10)
0.0216 (0.55)
7 Typ.
R 0.014 (0.36)
0.118 0.002
(3.00 0.05)
0.012 + 0.006 / -0.002
(0.30 + 0.15 / -0.05)
0.0256 (0.65) Typ.
8-Lead Miniature Small Outline Gull Wing Package Type M
NOTE:
1. ALL DIMENSIONS IN INCHES AND (MILLIMETERS)
0.220"
0.0256" Typical
0.025"
Typical
0.020"
Typical
8 Places
FOOTPRINT
Ref.
X4043/45
Characteristics subject to change without notice.
22 of 25
REV 1.1.17 9/14/01
www.xicor.com
PACKAGING INFORMATION
NOTE:
1. ALL DIMENSIONS IN INCHES (IN PARENTHESES IN MILLIMETERS)
2. PACKAGE DIMENSIONS EXCLUDE MOLDING FLASH
0.020 (0.51)
0.016 (0.41)
0.150 (3.81)
0.125 (3.18)
0.110 (2.79)
0.090 (2.29)
0.430 (10.92)
0.360 (9.14)
0.300
(7.62) Ref.
Pin 1 Index
0.145 (3.68)
0.128 (3.25)
0.025 (0.64)
0.015 (0.38)
Pin 1
Seating
0.065 (1.65)
0.045 (1.14)
0.260 (6.60)
0.240 (6.10)
0.060 (1.52)
0.020 (0.51)
Typ. 0.010 (0.25)
0
15
8-Lead Plastic Dual In-Line Package Type P
Half Shoulder Width On
All End Pins Optional
.073 (1.84)
Max.
0.325 (8.25)
0.300 (7.62)
Plane
X4043/45
Characteristics subject to change without notice.
23 of 25
REV 1.1.17 9/14/01
www.xicor.com
Ordering Information
V
CC
Range
V
TRIP
Range
Package
Operating
Temperature Range
Part Number RESET
(Active LOW)
Part Number RESET
(Active HIGH)
4.5-5.5V
4.5-4.75
8L SOIC
070
o
C
X4043S84.5A
X4045S84.5A
-4085
o
C
X4043S8I4.5A
X4045S8I4.5A
8L MSOP
070
o
C
X4043M84.5A
X4045M84.5A
-4085
o
C
X4043M8I4.5A
X4045M8I4.5A
8-Pin PDIP
070
o
C
X4043P84.5A
X4045P84.5A
-4085
o
C
X4043P8I4.5A
X4045P8I4.5A
4.5-5.5V
4.25-4.5
8L SOIC
070
o
C
X4043S8
X4045S8
-4085
o
C
X4043S8I
X4045S8I
8L MSOP
070
o
C
X4043M8
X4045M8
-4085
o
C
X4043M8I
X4045M8I
8-Pin PDIP
070
o
C
X4043P8
X4045P8
-4085
o
C
X4043P8I
X4045P8I
2.7-5.5V
2.85-3.0
8L SOIC
0
70
o
C
X4043S82.7A
X4045S82.7A
-4085
o
C
X4043S8I2.7A
X4045S8I2.7A
8L MSOP
070
o
C
X4043M82.7A
X4045M82.7A
-4085
o
C
X4043M8I2.7A
X4045M8I2.7A
8-Pin PDIP
070
o
C
X4043P82.7A
X4045P82.7A
-4085
o
C
X4043P8I2.7A
X4045P8I2.7A
2.7-5.5V
2.55-2.7
8L SOIC
070
o
C
X4043S82.7
X4045S82.7
-4085
o
C
X4043S8I2.7
X4045S8I2.7
8L MSOP
070
o
C
X4043M82.7
X4045M82.7
-4085
o
C
X4043M8I2.7
X4045M8I2.7
8-Pin PDIP
070
o
C
X4043P82.7
X4045P82.7
-4085
o
C
X4043P8I2.7
X4045P8I2.7
X4043/45
Characteristics subject to change without notice.
24 of 25
REV 1.1.17 9/14/01
www.xicor.com
Part Mark Information
8-Lead MSOP
EYWW
XXXXX
8-Lead SOIC
X4043/45 X
XX
Blank = 8-Lead SOIC
ADA/ADJ = 4.5A (0 to +70C)
ADB/ADK = 4.5A (40 to +85C)
ADC/ADL = No Suffix (0 to +70C)
ADD/ADM = No Suffix (40 to +85C)
4043/4045
F = 2.7 (0 to +70C)
G = 2.7 (-40 to +85C)
Blank = No Suffix (0 to +70C)
I = No Suffix (-40 to +85C)
AN = 2.7A (0 to +70C)
AP = 2.7A (-40 to +85C)
AL = 4.5A (0 to +70C)
AM = 4.5A (-40 to +85C)
P= 8 Pin Plastic DIP
Blank = No suffix, 0C to +70C
I = No Suffix; 40C to +85C
A = -4,5A; 0C to +70C,
IA = -4.5A; 40C to +85C
F = -2.7; 0C to +70C
G = -2.7; 40C to +85C
FA = -2.7A; 0C to +70C
GA = -2.7A; 40C to +85C
X
X4043/45
X
8-Lead PDIP
ADE/AND = 2.7A (0 to +70C)
ADF/ADO = 2.7A (40 to +85C)
ADG/ADP = 2.7 (0 to +70C)
ADH/ADQ = 2.7 (40 to +85C)
X4043/45
Characteristics subject to change without notice.
25 of 25
REV 1.1.17 9/14/01
www.xicor.com
Xicor, Inc. 2001 Patents Pending
LIMITED WARRANTY
Devices sold by Xicor, Inc. are covered by the warranty and patent indemnification provisions appearing in its Terms of Sale only. Xicor, Inc. makes no warranty,
express, statutory, implied, or by description regarding the information set forth herein or regarding the freedom of the described devices from patent infringement.
Xicor, Inc. makes no warranty of merchantability or fitness for any purpose. Xicor, Inc. reserves the right to discontinue production and change specifications and prices
at any time and without notice.
Xicor, Inc. assumes no responsibility for the use of any circuitry other than circuitry embodied in a Xicor, Inc. product. No other circuits, patents, or licenses are implied.
COPYRIGHTS AND TRADEMARKS
Xicor, Inc., the Xicor logo, E
2
POT, XDCP, XBGA, AUTOSTORE, Direct Write cell, Concurrent Read-Write, PASS, MPS, PushPOT, Block Lock, IdentiPROM,
E
2
KEY, X24C16, SecureFlash, and SerialFlash are all trademarks or registered trademarks of Xicor, Inc. All other brand and product names mentioned herein are
used for identification purposes only, and are trademarks or registered trademarks of their respective holders.
U.S. PATENTS
Xicor products are covered by one or more of the following U.S. Patents: 4,326,134; 4,393,481; 4,404,475; 4,450,402; 4,486,769; 4,488,060; 4,520,461; 4,533,846;
4,599,706; 4,617,652; 4,668,932; 4,752,912; 4,829,482; 4,874,967; 4,883,976; 4,980,859; 5,012,132; 5,003,197; 5,023,694; 5,084,667; 5,153,880; 5,153,691;
5,161,137; 5,219,774; 5,270,927; 5,324,676; 5,434,396; 5,544,103; 5,587,573; 5,835,409; 5,977,585. Foreign patents and additional patents pending.
LIFE RELATED POLICY
In situations where semiconductor component failure may endanger life, system designers using this product should design the system with appropriate error detection
and correction, redundancy and back-up features to prevent such an occurrence.
Xicor's products are not authorized for use in critical components in life support devices or systems.
1. Life support devices or systems are devices or systems which, (a) are intended for surgical implant into the body, or (b) support or sustain life, and whose failure to
perform, when properly used in accordance with instructions for use provided in the labeling, can be reasonably expected to result in a significant injury to the user.
2. A critical component is any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life
support device or system, or to affect its safety or effectiveness.