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

Электронный компонент: X46402V8E-3.1A

Скачать:  PDF   ZIP
Xicor, Inc. 1994, 1995, 1996, 1998 Patents Pending
9900-3003 5 1/11/00 CM
1
Characteristics subject to change without notice
Preliminary Information
64K
X46402
Functional Diagram
Command
Decode
and
Control
Logic
HV Generation
Timing and Control
X Decoder
Y Decoder
Data Register
Write Control
WP
SCL
SDA
Vcc
V2FAIL
(Vcc) Control Signal
V2MON
RESET
Password Logic
EEPR
OM
Arr
a
y
(64Kbits)
Write Password Area
(64, 128, 256, 512,
2K, 4K, All, None)
(Bytes)
POWER ON AND
GENERATION
V
2TRIP
+
-
RESET
LOW VOLTAGE
V
TRIP
+
-
RESET &
WATCHDOG
TIMEBASE
Control
WATCHDOG
TIMER RESET
OTP array 1
Passwords
No Password Area
OTP array 2
Dual Voltage CPU Supervisor with 64K Password Protected EEPROM
FEATURES
Dual Voltage Detection and Reset Assertion
--Low Vcc Monitor
--Low V2MON Monitor
--Low Vcc Block of EEPROM Writes
--RESET Signal Valid down to Vcc=1V
Selectable Watchdog Timer
--150ms, 450ms, 1s, 5s, 10s, 20s, 1min, OFF
Volatile Flag shows Watchdog/Low Voltage Reset
64kbit 2-wire Serial EEPROM
--1MHz Serial Interface speed
--64-Byte Page Write Mode
Two 64-Byte OTP memory blocks
--Requires 64-bit OTP password to write
Adjustable size Password Protected Array
--64 Bit Read and Write Array Passwords
--Non-password protected array area
8 count tamper counter for invalid passwords
Operates at 2.5-3.7V
8L TSSOP package
DESCRIPTION
The X46402 combines several functions into one device.
The first is a dual voltage CPU supervisor plus 64Kbit
serial EEPROM memory with password protected write
and read operations. The size of the password protected
area is selectable by 3 control bits. A Write Protect (WP)
pin in conjunction with a WPEN bit provides hardware
OTP control of the configuration of the array. Password
protected areas require 64 bit read or write passwords
prior to access. The eighth illegal password entry
(regardless of the number of correct entries) sets an OTP
tamper bit. This bit is one of the 32 bits in the Device ID.
A secondary voltage monitor circuit activates a V2FAIL
pin when the secondary supply voltage drops below a
V2trip voltage. This circuit is primarily intended to detect
the immediate loss of the battery supply.
A low Vcc voltage detect circuit activates a RESET pin
when Vcc drops below a V
TRIP
voltage. This signal also
blocks read or write operations.
A watchdog timer with the time period controlled by three
bits provides several possible time out periods from
150ms to 1 minute.
X46402
Preliminary Information
2
PACKAGE/PINOUTS
PIN NAMES
PIN DESCRIPTIONS
Serial Clock (SCL)
The SCL input is used to clock all data into and out of the
device.
Serial Data (SDA)
SDA is a bidirectional pin used to transfer data into and
out of the device. It is an open drain output and may be
wire-ORed with other open drain or open collector out-
puts. An open drain requires the use of a pull-up resistor.
Write Protect (WP)
The WP pin works in conjunction with a nonvolatile
WPEN bit to "lock" the setting of the Watchdog Timer
control and the memory write protect bits.
Reset Output (RESET)
RESET is an active LOW, open drain output which goes
active whenever Vcc falls below the minimum Vtrip sense
level. It will remain active until Vcc rises above the mini-
mum Vtrip sense level for 150ms. RESET goes active if
the Watchdog Timer is enabled and there is no start bit
before the end of the selectable Watchdog time-out
period. A serial start bit will reset the Watchdog Timer.
RESET also goes active on power up at 1V and remains
active for 150ms after the power supply stabilizes.
V2 Voltage Fail Output (V2FAIL)
V2FAIL is an active LOW, open drain output which goes
active whenever V2MON falls below the minimum V2trip
sense level. It will remain active until V2MON rises above
the minimum V2MON sense level.
DEVICE OPERATION
Power On Reset
Application of power to the X46402 activates a Power On
Reset Circuit. This circuit goes active at 1V and pulls the
RESET pin active. This signal prevents the system micro-
processor from starting to operate with insufficient volt-
age or prior to stabilization of the oscillator. When Vcc
exceeds the device V
TRIP
value for 200ms (nominal) the
circuit releases RESET allowing the processor to begin
executing code.
Low Voltage Monitoring
During operation, the X46402 monitors the V
CC
and
V2MON levels and compares these with internal, preset
voltages.
When the internal low voltage detect circuitry senses that
V2MON is low, the V2FAIL pin goes active. Typically this
would be used by the processor as an interrupt to stop
the execution of the code or to do housekeeping in prep-
aration for an impending power failure.
When the internal low voltage detect circuitry senses that
Vcc is low, the following happens:
--The RESET pin goes active.
--The Flag bit in the control register is set to zero.
--Communication to the device is interrupted and any
command is aborted. If a serial nonvolatile store is in
progress when power fails, the circuitry does not stop
the nonvolatile store operation, but attempts to com-
plete the operation.
The RESET and V2FAIL signals remain active until Vcc
voltage drops below 1V. RESET remains active until Vcc
returns and exceeds V
TRIP
for 200ms. V2FAIL remains
active until immediately after V2MON returns and
exceeds it's minimum voltage.
Watchdog Timer
The Watchdog Timer circuit monitors the microprocessor
activity by monitoring the Start bit. The microprocessor
must send a start bit periodically to prevent a RESET sig-
nal. The start bit must occur prior to the expiration of the
watchdog time-out period. The state of three nonvolatile
control bits in the Control Register determines the watch-
dog timer period. The microprocessor can change these
watchdog bits, or they may be "locked" by tying the WP
pin HIGH and setting the WPEN bit HIGH.
VSS
Ground
SDA
Serial Data
VCC
Power
SCL
Serial Clock
WP
Write Protect
V2MON
Voltage monitor input
RESET
Low Voltage Detect Output
V2FAIL
V2 Voltage Fail Output
WP
V
CC
V2FAIL
SCL
V
SS
V2MON
SDA
RESET
3
2
4
1
6
7
5
8
8L TSSOP
X46402
Preliminary Information
3
ARCHITECTURE
Data Memory
This 64kbit memory array can be partitioned into pass-
word protected or non-password protected areas. When
password protected, the contents are readable after
sending a "Memory Read" password. The contents of a
password protected portion of the memory array are
writeable with a "Memory Write" Password. This array is
re-writable up to the limit of the EEPROM endurance.
OTP
The second section of memory consists of two 64-byte
arrays, each writable only once. These arrays are always
password protected. Reading from either of these arrays
requires the use of an "OTP Read" password. Both
arrays can be read with a single operation. Writing either
array requires an "OTP Write" Password. Writing more
than 64 bytes to each array results in the data "wrapping"
around and over-writing previous values.
Control Register
A password protected read or write array command at
address FFFFh reads or writes the Control Register.
Since the control register contains information relating to
the password protection, it is necessary to use the Array
passwords to access the control register.
The Control Register contains bits that control the watch-
dog timer and the hardware write protect features and is
formatted as follows:
Write Protect Enable bit (WPEN)
The WP pin, in conjuction with a WPEN bit programmed
HIGH, provides Hardware Write Protection. This prevents
changes to the control register contents even with a valid
password. When either the WP pin or WPEN bit is LOW,
a 64 bit Array write array password is required to change
the contents of the control register. When both the WP
pin and the WPEN bit are HIGH, the Control Register
cannot be written.
Flag Bit
The flag bit is a volatile bit. It can be used to determine if
a reset condition was due to a power failure or watchdog
reset condition. If power fails (i.e. the internal low voltage
detect signal goes active), the bit is set to '0'. This bit is
also set or reset by a Control Register write operation. A
watchdog reset does not change the state of the flag bit.
Watchdog Timer Control
The Watchdog time-out period is controlled by the bits
WD2, WD1, and WD0. See the following Table.
Array
Address
OTP Array 1
0000h - 003Fh
OTP Array 2
0040h - 007Fh
V2FAIL
RESET
Vss
V2MON
SCL
WP
SDA
Vcc
Volt
Reg
Vcc
SCL
SDA
INTR
RESET
C
OTP Mode
Enabled
Recommended Connection
Pin1
7
6
5
4
3
2
1
0
WPEN FLB
WD2 WD1 WD0
BL2
BL1
BL0
Table 1. Watchdog Time Control Bits
Control Register Bits
Watchdog Time-out
(Typical)
WD2
WD1
WD0
0
0
0
1 Second
0
0
1
450 Milliseconds
0
1
0
150 Milliseconds
0
1
1
Disabled
1
0
0
1 minute
1
0
1
20 seconds
1
1
0
10 seconds
1
1
1
5 seconds
X46402
Preliminary Information
4
Password Protection Configuration
Portions of the memory array may be "locked". This area
of memory is password protected and is defined by the
bits BL2, BL1 and BL0. For these protected areas it is
necessary to use a Read password to output data and an
"Array Write" Password to write data. This block lock
area is re-writable, by issuing the correct password.
SERIAL MEMORY OPERATION
There are four primary modes of operation for the
X46402; Protected READ and WRITE of the memory
and OTP arrays and unprotected Read and Write of non-
password protected areas of the memory array. Pro-
tected operations must be performed with one of four 8-
byte passwords.
The basic method of communication for the password
protected areas of the device is established by generat-
ing a start condition, then transmitting a command, fol-
lowed by the correct password. All parts will be shipped
from the factory with all passwords equal to `0'. The user
must perform ACK Polling to determine the validity of the
password, before starting a data transfer (see Acknowl-
edge Polling.) Only after the correct password is
accepted and a ACK polling has been performed, can
the data transfer occur.
Non-password protected areas of the memory array are
accessed in the same manner as access to password
protected areas, except the password and the password
acknowledge polling sequences are not required.
Data is transferred in 8-bit segments, with each transfer
being followed by an ACK, generated by the receiving
device.
If the X46402 is in a nonvolatile write cycle a "no ACK"
(SDA=HIGH) response will be issued in response to
loading of the command byte. If a stop is issued prior to
the start of a nonvolatile write cycle the write operation
will be terminated and the part will reset and enter into a
standby mode.
The basic sequence is illustrated in Figure 1.
After each transaction is completed, the X46402 will
reset and enter into a standby mode. This will also be the
response if an unsuccessful attempt is made to access a
protected array.
Password Protection
The X46402 requires a 64 bit write password to change
the contents of the control register or to write to a block
protected memory area. The X46402 also requires a 64
bit read password to output the contents of the block pro-
tected array or the control register. The block protection is
controlled by the [BL2:BL0] bits and allows the options
described in Table 2. If an area is block protected, it
needs a password prior to each read or write to the area.
The passwords cannot be read, even after the device
receives the correct password.
Figure 1. X46402 Device Operation (Password
Protected Areas)
Table 2. Password Protected Block Size Select
BL2
BL1
BL0
Password Protected
Addresses
(Use Password
Command)
Non-Password
Protected Addresses
(Use Password or
No-Password Commands)
000
None
0000h - 1FFFh
001
0000h - 003Fh
0040h - 1FFFh
010
0000h - 007Fh
0080h - 1FFFh
011
0000h - 00FFh
0100h - 1FFFh
100
0000h - 01FFh
0200h - 1FFFh
101
0000h - 07FFh
0800h - 1FFFh
110
0000h - 0FFFh
1000h - 1FFFh
111
0000h - 1FFFh
None
LOAD COMMAND BYTE
LOAD 2 BYTE ADDRESS
LOAD 8-BYTE
PASSWORD
VERIFY PASSWORD
ACCEPTANCE BY
USE OF PASSWORD ACK POLLING
READ/WRITE
DATA BYTES
Twc OR DATA ACK POLLING
X46402
Preliminary Information
5
Figure 2. Set V
TRIP
Level Sequence (V
CC
V
TRIP
)
Figure 3. Set V2
TRIP
Level Sequence (V
CC
V2
TRIP
)
Figure 4. Reset V
TRIP
Level Sequence (Vcc > 3V, WEL is set.)
0 1 2 3 4 5 6 7
SCL
SDA
D8h
0 1 2 3 4 5 6 7
00h
RESET
V
P
= 15V
0 1 2 3 4 5 6 7
01h
V
TRIP
V
CC
01h sets Vcc
0 1 2 3 4 5 6 7
SCL
SDA
D8h
0 1 2 3 4 5 6 7
00h
RESET
V
P
= 15V
0 1 2 3 4 5 6 7
0Dh
V2
TRIP
V2MON
0Dh sets V2MON
SDA
D8h
00h
0 1 2 3 4 5 6 7
SCL
0 1 2 3 4 5 6 7
RESET
V
P
= 15V
0 1 2 3 4 5 6 7
V
TRIP
V
CC
03h
03h resets Vcc
X46402
Preliminary Information
6
Figure 5. Reset V2
TRIP
Level Sequence (Vcc > 3V, WEL is set.)
SDA
D8h
00h
0 1 2 3 4 5 6 7
SCL
0 1 2 3 4 5 6 7
RESET
V
P
= 15V
0 1 2 3 4 5 6 7
V2
TRIP
V2MON
0Fh
0Fh resets V2MON
V
CC
AND V2MON THRESHOLD RESET PROCEDURE
The X46402 is shipped with standard V
TRIP,
and V2
TRIP
voltages. These values will not change over normal oper-
ating 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
X46402 trip points may be adjusted. The procedure is
described below, and uses the application of a high volt-
age control signal.
Setting the V
TRIP
Voltage
This procedure is used to set the V
TRIP
,V2
TRIP
to a higher
voltage value. For example, if the current V
TRIP
is 4.4V
and the new V
TRIP
is 4.6V, this procedure will directly
make the change. If the new setting is to be lower than
the current setting, then it is necessary to reset the trip
point before setting the new value.
To set the new voltages, apply the desired V
TRIP
thresh-
old voltage to the Vcc pin, the V2
TRIP
voltage to the
V2MON pin, then tie the RESET pin to the programming
voltage V
P
. Then, write data 01h or 0Dh address 00h to
program V
TRIP
, V2
TRIP
respectively. The stop bit following
a valid write operation initiates the programming
sequence. Bring RESET
LOW to complete the operation.
Note: this operation also writes 01h, or 0Dh to address
00h.
Resetting the V
TRIP
Voltage
This procedure is used to set the V
TRIP
, the V2
TRIP
to a
"native" voltage level. For example, if the current V
TRIP
is
4.4V and the new V
TRIP
must be 4.0V, then the V
TRIP
must be reset. When the threshold is reset, the new level
is something less than 1.7V. This procedure must be
used to set the voltage to a lower value.
To reset the new V
TRIP
, V2
TRIP
voltage, apply the desired
V
TRIP
or V2
TRIP
threshold voltage to the Vcc or V2MON
pin, respectively, and tie the RESET pin to the program-
ming voltage V
P
. Then write 03h or 0Fh to address 00h.
The stop bit of a valid write operation initiates the pro-
gramming sequence. Bring RESET
LOW to complete the
operation. Note: this operation also writes 03h or 0Fh to
address 00h of the EEPROM array.
Figure 6. Sample V
TRIP
Reset Circuit
5
4
7
1
8
2
6
3
X46402
V
TRIP
Adj.
V
P
RESET
4.7K
SDA
SCL
C
Adjust
Run
V2FAIL
V2
TRIP
Adj.
X46402
Preliminary Information
7
V
TRIP
/V2
TRIP
Programming
Apply 5V to Vcc or V2MON
Decrement Vcc
RESET
goes active?
Measured
V(2)
TRIP
-
Desired
V(2)
TRIP
DONE
Execute
Sequence
Reset
V
TRIP
/V2
TRIP
Set Vcc = Vcc applied =
Desired
V
TRIP
OR
Execute
Sequence
Set
V
TRIP,
V2
TRIP
New Vcc or V2MON applied =
Old Vcc V2MON applied
+
Error
(<50mV step)
Execute
Sequence
Reset
V2
TRIP
,
V
TRIP
New Vcc/V2MON applied =
Old Vcc applied
-
Error
Error < 0
Error = 0
YES
NO
Error > 0
Set V2MON = V2MON applied =
Desired V2
TRIP,
Vcc>=V2Trip
or V2MON
or V2FAIL pin
Recyle Vcc power
X46402
Preliminary Information
8
Figure 7. X46402 Device Operation (Non-Password
Protected Areas)
Tamper Counter
The X46402 contains a tamper counter. The entry of an
invalid password increments the counter. This operation
requires an internal nonvolatile cycle, requiring up to 10
ms to complete. To minimize the possibility of of an unau-
thorized person monitoring the device current to detect
the enry of the correct password, an internal high voltage
cycle is initiated even when the counter does not incre-
ment. As such, each password entry requires up to
10ms to acknowledge, so a long period of time would be
required to correctly guess the password.
On the eighth incorrect password entry, a one-time pro-
grammable tamper bit is set in the Device ID area. The
Tamper Counter increments with each incorrect pass-
word attempt and cannot be reset, except by the Reset
Device Command. When the tamper counter overflows,
the device is "locked". In the locked condition, none of the
password commands respond except Reset Device. No-
password commands are always available. The locked
condition is determined by reading the device ID and
reading bit 32. The device is reset by the Master Reset or
Reset Device commands.
Device Protocol
The X46402 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 a
receiver. The device controlling the transfer is a master
and the device being controlled is the slave. The master
will always initiate data transfers and provide the clock for
both transmit and receive operations. Therefore, the
X46402 will be considered a slave in all applications.
After each byte written to or read from the X46402, the
address pointer is incremented by 1. This allows the user
to read from the entire device after sending only a single
address. It also allows an entire page to be written in one
operation. An exception to this address incrementation
occurs during a read. After reading address 1FFFh the
device goes into an idle mode, so additional reads return
all "1s".
Clock and Data Conventions
Data states on the SDA line can change only during SCL
LOW. SDA changes during SCL HIGH are reserved for
indicating start and stop conditions. Refer to Figure 8 and
Figure 9.
Start Condition
All commands are preceeded by the start condition,
which is a HIGH to LOW transition of SDA when SCL is
HIGH. The X46402 continuously monitors the SDA and
SCL lines for the start condition and will not respond to
any command until this condition is met.
A start may be issued to terminate the input of a control
byte or the input data to be written. This will reset the
device and leave it ready to begin a new read or write
command. A start bit generated while the part is output-
ting data is accepted as a start as long as the device is
not outputting a 'zero'.
Stop Condition
All communications are be terminated by a stop condi-
tion. The stop condition is a LOW to HIGH transition of
SDA when SCL is HIGH. The stop condition is also used
to reset the device during a command or data input
sequence and will leave the device in the standby power
mode. As with starts, stops are recognized while the
device outputs data, as long as the data output is not a
`zero'.
Figure 8. Data Validity
LOAD COMMAND BYTE
LOAD 2 BYTE ADDRESS
READ/WRITE
DATA BYTES
Twc OR DATA ACK POLLING
SCL
SDA
Data
Data
Change
Stable
X46402
Preliminary Information
9
Figure 9. Definition of Start and Stop Conditions
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.
The X46402 will respond with an acknowledge after rec-
ognition of a start condition and its slave address. If both
the device and a write condition have been selected, the
X46402 will respond with an acknowledge after the
receipt of each subsequent eight-bit word.
Read Device ID Command
A special, non-password protected command reads the
device ID. The device ID is a 32 bit identification code
that can be generic or tailored to the needs of an individ-
ual company. The last of the 32 bits indicates whether
the device has been tampered with by an unauthorized
user attempting to enter invalid passwords.
Reset Device Command
The Reset Device command resets the tamper bit, clears
the tamper counter and removes the tamper "lock"
(allowing the device to accept commands). However, the
Reset Device command does not clear any memory
array area.
SCL
SDA
Start Condition
Stop Condition
Table 3. X46402 Instruction Set
Notes: Illegal command codes will be disregarded. The part will respond with a "no-ACK" to the illegal byte and then return to the standby mode.
1st Byte
after Start
1st Byte
after
Password
2nd Byte
after
Password
Command Description
Password used
1000 0000
High Address
Low address
Password Memory Array Read
Memory Read
1000 1000
High Address
Low address
OTP Read
OTP Read
1001 0000
High Address
Low address
Password Memory Array Write
Memory Write
1001 1000
High Address
Low address
OTP Write
OTP Write
1010 0000
0000 0000
0000 0000
Change Memory Read Password
Memory Read
1010 1000
0000 0000
0000 0000
Change OTP Read Password
OTP Read
1011 0000
0000 0000
0000 0000
Change Memory Write Password
Memory Write
1011 1000
0000 0000
0000 0000
Change OTP Write Password
OTP Write
1100 0000
0000 0000
0000 0000
Change Reset Password
Reset
1100 1000
High Address
Low address
No-Password Memory Array Read
None
1101 1000
High Address
Low address
No-Password Memory Array Write
None
1110 1000
not used
not used
Reset Device Command (Resets Tamper bit)
Reset
1111 0000
not used
not used
ACK Polling command (Ends Password operation)
None
All the rest
Reserved
X46402
Preliminary Information
10
PROGRAM OPERATIONS
Password Protected Array Programming
The password protected memory array write or OTP
write requires issuing an 8-bit Password Write command
followed by the password, password ACK command, the
address and then the data bytes transferred as illustrated
in Figure 10. Up to 64 bytes (or more) may be trans-
ferred. Sending more than 64 bytes results in data wrap-
ping and over-writing previous data. After the last byte to
be transferred is acknowledged, a stop condition is
issued which starts the nonvolatile write cycle.
Non-Password Protected Array Programming
The non-password protected memory array program
mode requires issuing the 8-bit No-Password Write com-
mand followed by the address and then the data bytes
transferred as illustrated in Figure 11. Up to 64 bytes (or
more) may be transferred. Sending more than 64 bytes
results in data wrapping and over-writing previous data.
After the last byte to be transferred is acknowledged a
stop condition is issued which starts the nonvolatile write
cycle.
Figure 10. Password Protected Array Programming (Memory and OTP arrays)
Figure 11. Non-Password Protected Array Programming (Memory array only)
Data 63
AC
K
AC
K
S
ST
AR
T
COMMAND
AC
K
AC
K
AC
K
AC
K
AC
K
AC
K
A15
A14
A13
A12
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
Write
Password
7
Write
Password
0
AC
K
Data 0
S
SDA
Wait t
WC
Data ACK Polling
. . .
Wait t
WC
OR
ST
OP
ACK POLLING
AC
K
S
ACK Polling
Repeated
COMMAND
Command
NA
CK
If ACK, Then
Password Matches
ST
AR
T
Password
ST
AR
T
COMMAND
AC
K
S
SDA
AC
K
AC
K
A15
A14
A13
A12
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
AC
K
Data 0
Data 63
AC
K
AC
K
S
Wait t
WC
Data ACK
ST
OP
. . .
Polling
No Password
X46402
Preliminary Information
11
ACK Polling
Once a stop condition is issued to indicate the end of the
host's write sequence, the X46402 initiates the internal
nonvolatile write cycle. In order to take advantage of the
typical 5ms write cycle, ACK polling can begin immedi-
ately. This involves issuing the start condition followed by
the new command code of 8 bits (1st byte of the protocol.)
If the X46402 is still busy with the nonvolatile write opera-
tion, it will issue a "no-ACK" in response. If the nonvolatile
write operation has completed, an "ACK" will be returned
and the host can then proceed with the rest of the proto-
col. See Figure 12.
After the password sequence, there is always a nonvolatile
write cycle. This is done to discourage random guesses of
the password if the device is being tampered with. In order
to continue the transaction, the X46402 requires the mas-
ter to perform an ACK polling with the specific code of
F0h. As with regular Acknowledge polling the user can
either time out for 10ms, and then issue the ACK polling
once, or continuously loop as described in the flow.
If the password that was inserted was correct, then an
"ACK" will be returned once the nonvolatile cycle is over, in
response to the ACK polling cycle immediately following it.
If the password that was inserted was incorrect, then a "no
ACK" will be returned even if the nonvolatile cycle is over.
Therefore, the user cannot be certain that the password is
incorrect until the 10ms write cycle time has elapsed.
Data ACK Polling Sequence
ACK
RETURNED
?
ISSUE NEW
COMMAND
CODE
WRITE SEQUENCE
COMPLETED
ENTER ACK POLLING
ISSUE START
NO
YES
PROCEED
Password ACK Polling Sequence
ACK
RETURNED
?
ISSUE
PASSWORD
ACK COMMAND
PASSWORD LOAD
COMPLETED
ENTER ACK POLLING
ISSUE START
NO
YES
PROCEED
X46402
Preliminary Information
12
Figure 12. Acknowledge Polling
8th clk.
of 8th
pwd. byte
`ACK'
clk
8th
clk
`ACK'
clk
`ACK'
START
condition
8th bit
ACK or
no ACK
SCL
SDA
PASSWORD PROTECTED READ OPERATIONS
Password protected read operations are initiated in the
same manner as password protected write operations but
with a different command code.
Password Random Read (Data Array, OTP Arrays)
Data from a password protected array can be randomly
read after sending a single password. To do this, the mas-
ter issues a start bit, sends a Password Read instruction
and read password, performs Password Ack Polling, then
issues the desired 2 byte address. The host receives the
first byte from the X46402 and sends a NACK, followed
by a repeated start bit. A new 8-bit address specifies the
next byte to read. This process can continue indefinitely
as long as the each byte read out of the X46402 is
"NACKed" and followed by a repeated start.
The address automatically increments after each read
operation. As such, a special case arises. A random read
of address 00FFh automatically increments to 0100h
after reading the byte. Consider the following example.
Example: A system needs data from password protected
locations 0020h and 0150h and the designer does not
wish to send the password twice. After receiving data
from 0020h, the host sends a NACK and a repeated
start, followed by address byte FFh. The data read from
location 0FFh is ignored, but the operation has adjusted
the address pointer to 100h. Another NACK and repeated
start followed by the address 50h allows the contents of
150h to be read by the host.
A random read of either of the OTP arrays can access all
locations of both arrays without another password com-
mand sequence.
A password random read operation will also return valid
data if accessing a non-password protected area of the
array. See Figure 13.
Password Sequential Read
The host can read sequentially within an array after the
password acceptance sequence. The data output is
sequential, with the data from address n followed by the
data from n+1. The address counter for read operations
increments all address bits, allowing the entire memory
array contents to be serially read during one operation. At
the end of the address space (address 1FFFh for the
memory array, 7Fh for the OTP array) the device goes
into an idle state and data output is all "1s". To continue
reading at another address requires a new Read opera-
tion. Refer to Figure 14 for the address, acknowledge and
data transfer sequence. An acknowledge must follow
each 8-bit data transfer. After the last bit has been read,
the host sends a stop condition with or without a preced-
ing acknowledge.
After sending a Password Read command and the cor-
rect password, the entire array, including non-password
protected areas will be read with a sequential read com-
mand.
After sending a Password Array Read command and cor-
rect password, the entire array, including non-password
protected areas are read by a sequential read command.
NON-PASSWORD READ OPERATIONS
Non-password protected read operations are initiated in
the same manner as non-password protected write oper-
ations but with a different command code.
No-Password Random Read
The master issues the start condition, then a No-password
Read instruction, then issues the word address. Once the
first byte has been read, another start can be issued fol-
lowed by a new 8-bit address. A No-Password random
read operation is not allowed to a password protected
area. In a No-Password Random Read from address
00FFh, the address pointer changes to 100h after output-
ting the data byte and operates in the same manner as the
password protected operation. See Figure 15.
X46402
Preliminary Information
13
No-Password Sequential Read
The host can read sequentially within the un-protected
area of the array after receiving the No-password Com-
mand and an address within the unprotected address
space. The data output is sequential, with the data from
address n followed by the data from n+1. The address
counter for read operations increments all address bits,
allowing the entire un-protected memory array contents
to be serially read during one operation. At the end of the
address space (address 1FFFh) the device goes into an
idle state and a new read sequence must be initiated to
continue reading at another address. Refer to Figure 16
for the address, acknowledge and data transfer
sequence. An acknowledge must follow each 8-bit data
transfer. After the last bit has been read, the host sends a
stop condition with or without a preceding acknowledge.
COMBINED RANDOM/SEQUENTIAL OPERATIONS
A random read and sequential read can be combined,
however there are some limitations. Both password pro-
tected or non-password operations operate in the same
way. After sending a random read command and reading
the first byte, continued clocks will return successive
addresses. However, after more than one byte of data is
returned, it is not possible to initiate a new random read,
without issuing a stop and starting a new command. This
also allows multiple random read operations and a
sequential read operation, as long as the last operation is
sequential. Note: A read operation that includes a
random read of the last byte in the memory or OTP
arrays cannot include a sequential read operation.
Figure 13. Password Protected Random Read
Figure 14. Password Protected Sequential Read
S
AC
K
ST
OP
A7 A6 A5 A4 A3 A2 A1 A0
Data 0
S
ST
AR
T
ST
AR
T
COMMAND
AC
K
AC
K
AC
K
AC
K
Read
Password
7
Read
Password
0
S
SDA
AC
K
AC
K
A15
A14
A13
A12
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
Data 0
Wait t
WC
OR
ST
AR
T
ACK POLLING
AC
K
S
ACK Polling
Repeated
COMMAND
Command
NA
CK
If ACK, then
Password Matches
Password
Data X
AC
K
S
ST
AR
T
COMMAND
AC
K
AC
K
AC
K
AC
K
Read
Password
7
Read
Password
0
S
SDA
AC
K
AC
K
A15
A14
A13
A12
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
AC
K
Data 0
If ACK, then
Wait t
WC
OR
ST
AR
T
ACK POLLING
AC
K
S
ACK Polling
Repeated
COMMAND
Command
NA
CK
Password Matches
ST
OP
Password
X46402
Preliminary Information
14
Figure 15. Non-Password Protected Random Read
Figure 16. Non-Password Protected Sequential Read
Figure 17. Change Passwords
S
AC
K
ST
OP
A7 A6 A5 A4 A3 A2 A1 A0
Data 0
S
ST
AR
T
ST
AR
T
COMMAND
AC
K
S
SDA
AC
K
AC
K
A15
A14
A13
A12
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
Data 0
No-Password
Data X
AC
K
S
ST
AR
T
COMMAND
AC
K
S
SDA
AC
K
AC
K
A15
A14
A13
A12
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
AC
K
Data 0
ST
OP
No-Password
ST
AR
T
COMMAND
AC
K
AC
K
AC
K
AC
K
Old
Password
7
Old
Password
0
S
SDA
AC
K
AC
K
AC
K
New
Password
7
Password
0
AC
K
AC
K
A
CK/NoA
CK
New
Password
7
New
Password
0
AC
K
S
ST
OP
If ACK, then
AC
K
Two bytes of "0"
Wait t
WC
OR
ST
AR
T
ACK POLLING
AC
K
S
ACK Polling
Repeated
COMMAND
Command
NA
CK
Password Matches
If immediate ACK,
then New Password error
Data ACK
Polling
If immediate NACK,
then New Password OK
followed by ACK after ~5ms
*
*
ACK for correct password, No ACK for incorrect password
New
X46402
Preliminary Information
15
Note on Read/Write Operations
Password Protected
(None of the array to
all of the array)
Non- Password Protected
(All of the array to
none of the array)
0000h
1FFFh
Password Sequential
Read Operation
No-Password Sequential
Read Operation
Notes:
Using a "password read" or a "password write" to a non-password protected area is acceptable, because the pass-
word is received and accepted prior to an address transmission. It is assumed that access to non-password pro-
tected areas is uncontrolled, so either method should work.
Using a "no-password read" or a "no-password write" on a password protected area would not work. Trying to
access a password protected area without the password match causes the device to return a NACK after the
address.
A password sequential read that starts in the password protected area can continue into and through the non-pass-
word protected area. It will not "wrap" back to address '0'.
A no-password sequential read can only start in the non-password protected area and cannot "wrap" back into the
protected area.
CHANGE PASSWORD COMMAND
When changing a password, the Change Password com-
mand is sent to the device. The old password follows.
When the old password is accepted (as indicated by the
ACK Polling Command sequence), the new password is
sent to the device twice, following two bytes of zero. A
stop bit initiates the store of the new password. To be suc-
cessful in the password change operation the first and
second transmission of the new password must match
and there must be exactly 16 password bytes. If this is not
the case, the operation is aborted and the password
remains unchanged.
PASSWORDS
The sequence in Figure 17 shows how to change (pro-
gram) the passwords. The programming of passwords is
done twice prior to the nonvolatile write cycle in order to
verify that the new password is consistent. After the eight
bytes are entered in the second pass, a comparison takes
place. A mismatch will cause the part to ignore the
change command and enter into the standby mode.
There are two ways to determine whether the operation
was completed successfully. The Data ACK polling
method can determine if a password has been loaded
correctly, however the data ACK command must be
issued less than 2ms after the stop bit. After this time, it
cannot be determined if the password has been loaded
correctly, without trying the new password. To determine if
the new password has been loaded correctly the data
ACK polling command is issued immediately following the
stop bit. If it returns an ACK, then the two passes of the
new password entry do not match. If it returns a "no ACK"
then the passwords match and a high voltage cycle is in
progress. The high voltage cycle is complete when a sub-
sequent data ACK command returns an "ACK".
X46402
Preliminary Information
16
D.C. OPERATING CHARACTERISTICS (Over the recommended operating conditions unless otherwise specified.)
Symbol
Parameter
Limits
Units
Test Conditions
Min.
Max.
I
CC1
V
CC
Supply Current
(Read)
1
mA
f
SCL
= 1MHz,
RESET = V2FAIL = V
CC
w/ pull up resistor
V
2MON
= V
CC
I
CC2
(3)
V
CC
Supply Current
(Write)
3
mA
f
SCL
= 1MHz,
RESET = V2FAIL = V
CC
w/ pull up resistor
RST = V
SS
I
SB1
(1)
V
CC
Supply Current
(Standby)
50
A
V
IL
= V
CC
x 0.1, V
IH
= V
CC
x 0.9
f
SCL
= 1MHz, f
SDA
= 400 KHz
I
SB2
(1)
V
CC
Supply Current
(Standby)
1
A
V
SDA
= V
SCL
= V
2MON
= V
CC
Other = GND or V
CC
0.3V
I
LI
Input Leakage Current
10
A
V
IN
= V
SS
to V
CC
I
LO
Output Leakage Current
10
A
V
OUT
= V
SS
to V
CC
V
IL1
(2)
Input LOW Voltage
0.5
V
CC
x 0.3
V
V
CC
= 3.0V
V
IH1
(2)
Input HIGH Voltage
V
CC
x 0.7 V
CC
+ 0.5
V
V
CC
= 3.0V
V
IL2
(2)
Input LOW Voltage
0.5
V
CC
x 0.1
V
V
CC
= 3.0V
V
IH2
(2)
Input HIGH Voltage
V
CC
x 0.9 V
CC
+ 0.5
V
V
CC
= 3.0V
V
OL
Output LOW Voltage
0.4
V
I
OL
= 3mA
An easier way to determine that the password has been
changed correctly is to read the ACK bit following the
second writing of the new password. If the device returns
an ACK, the password is good. A No ACK indicates
something went wrong. If there was an error, the pass-
word remains unchanged.
There is no way to read any of the passwords.
ABSOLUTE MAXIMUM RATINGS*
Temperature under Bias . . . . . . . . . . . . 65C to +135C
Storage Temperature . . . . . . . . . . . . . . . 65C to +150C
Voltage on any Pin with respect to V
SS
. . . . .1V 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 and 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 condi-
tions for extended periods may affect device reliability.
RECOMMENDED OPERATING CONDITIONS
Temp
Min.
Max.
Commercial
0C
+70C
Extended
20C
+85C
Device
Supply Voltage Limits
X46402
2.5V to 3.7V
X46402
Preliminary Information
17
Table 4. CAPACITANCE (T
A
= +25C, f = 1MHz, V
CC
= 3V)
Notes: (1)
Must perform a stop command after a read command prior to measurement
(2)
V
IL
min. and V
IH
max. are for reference only and are not tested.
(3)
This parameter is periodically sampled and not 100% tested.
Symbol
Test
Max.
Units
Conditions
C
OUT
(3)
Output Capacitance (SDA)
8
pF
V
I/O
= 0V
C
IN
(3)
Input Capacitance (WP, SCL, V
2MON
)
6
pF
V
IN
= 0V
EQUIVALENT A.C. LOAD CIRCUIT
A.C. TEST CONDITIONS
3V
1.3K
OUTPUT
100pF
Input Pulse Levels
V
CC
x 0.1 to V
CC
x 0.9
Input Rise and Fall Times
10ns
Input and Output Timing
Level
V
CC
x 0.5
Output Load
100pF
AC CHARACTERISTICS
AC Specifications (Over the recommended operating conditions)
Symbol Parameter
Min
Typ
(1)
Max
Units
f
SCL
SCL Clock Frequency
0
1000
KHz
t
IN
Pulse width of spikes which must be suppressed by the input filter
10
ns
t
AA
SCL LOW to SDA Data Out Valid
0.05
0.55
s
t
BUF
Time the bus must be free before a new transmit can start
0.5
s
t
LOW
Clock LOW Time
0.6
s
t
HIGH
Clock HIGH Time
0.4
s
t
SU:STA
Start Condition Setup Time
0.25
s
t
HD:STA
Start Condition Hold Time
0.25
s
t
SU:DAT
Data In Setup Time
100
ns
t
HD:DAT
Data In Hold Time
0
s
t
SU:STO
Stop Condition Setup Time
0.25
s
t
DH
Data Output Hold Time
0
100
ns
t
R
SDA and SCL Rise Time (10% to 90% of Vcc)
10
100
ns
t
F
SDA and SCL Fall Time
10
100
ns
X46402
Preliminary Information
18
RESET AC SPECIFICATIONS
Nonvolatile Write Cycle Timing
Notes: 1.
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.
TIMING DIAGRAMS
Bus Timing
Write Cycle Timing
Symbol Parameter
Min.
Typ.(1)
Max.
Units
t
WC
(1)
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
SCL
SDA
t
WC
8th bit of last byte
ACK
Stop
Condition
Start
Condition
X46402
Preliminary Information
19
GUIDELINES FOR CALCULATING TYPICAL VALUES OF BUS PULL UP RESISTORS
POWER-UP AND POWER-DOWN TIMING
RESET Output Timing
V2FAIL Output Timing
50
40
30
20
10
Bus capacitance in pF
Pull Up Resistance in K
R
MIN
R
PMAX
2
4
6
8
10
For V
IH
= 0.9V
CC
R
MIN
V
CCMAX
0.4
IOLMIN
----------------------------------------
1100
=
=
V
IH
Vcc 1
e
t
RMAX
R
PMAX
C
BUS
------------------------------------
=
R
PMAX
t
R
2.3
C
BUS
(
)
------------------------------
=
t
RMAX
= maximum allowable SDA rise time
100ns max rise time
VCC
t PURST
t PURST
t
RV
t FV
t DVC
RESET
0 Volts
V
TRIP
VTRIP
V2MON
V2FAIL
tRB
tFB
t DVB
0 Volts
V2
V2
TRIP
TRIP
X46402
Preliminary Information
20
Notes: (5) This parameter is periodically sampled and not 100% tested.
(6) Typical values not tested.
Start Bit vs. RESET Timing
Symbol
Parameter
Min.
Typ.
Max.
Units
V
TRIP
RESET Trip Point Voltage
2.4
3.5
V
V
2TRIP
V2FAIL Trip Point Voltage
1.7
3.5
V
V
TH
V
TRIP
Hysteresis
(HIGH to LOW vs. LOW to HIGH V
TRIP
voltage)
40
mV
V
2TA
V
2TRIP
Hysteresis
(HIGH to LOW vs. LOW to HIGH V
TRIP
voltage)
40
mV
t
PURST
Power-up Reset Timeout
75
150
225
ms
t
DVC
(5)
Detect V
CC
Low Voltage to Reset Output (Vcc = 2.3V)
65
s
t
DVB
(5)
Detect V
2MON
Low Voltage to Reset Output (Vcc = 2.5-3.7V)
100
s
t
FV
(5)
V
CC
Fall Time
100
s
t
RV
(5)
V
CC
Rise Time
100
s
t
FB
(5)
V
2MON
Fall Time
500
n
s
t
RB
(5)
V
2MON
Rise Time
500
n
s
V
RVALID
Reset Valid V
CC
1
V
SDA
t
WDR
RESET
t
WDO
t
RST
t
WDO
t
RST
SCL
t
SU:STA
t
SU:STO
X46402
Preliminary Information
21
RESET Output Timing
Symbol
Parameter
Min.
Typ.
Max.
Units
t
WDO
Watchdog Timeout Period,
WD2 = 0, WD1 = 1, WD0 = 0
WD2 = 0, WD1 = 0, WD0 = 1
WD2 = 0, WD1 = 0, WD0 = 0
WD2 = 1, WD1 = 1, WD0 = 1
WD2 = 1, WD1 = 1, WD0 = 0
WD2 = 1, WD1 = 0, WD0 = 1
WD2 = 1, WD1 = 0, WD0 = 0
75
225
0.5
2.5
5
10
30
150
450
1
5
10
20
60
225
675
1.5
7.5
15
30
90
ms
ms
sec
sec
sec
sec
sec
t
WDR
SDA LOW duration (Reset the Watchdog)
400
ns
t
RST
Reset Timeout
75
150
225
ms
X46402
Preliminary Information
22
NOTE:
ALL DIMENSIONS IN INCHES (IN PARENTHESES IN MILLIMETERS)
8-LEAD PLASTIC, TSSOP, PACKAGE TYPE V
See Detail "A"
.031 (.80)
.041 (1.05)
.169 (4.3)
.177 (4.5)
.252 (6.4) BSC
.025 (.65) BSC
.114 (2.9)
.122 (3.1)
.002 (.05)
.006 (.15)
.047 (1.20)
.0075 (.19)
.0118 (.30)
0
8
.010 (.25)
.019 (.50)
.029 (.75)
Gage Plane
Seating Plane
Detail A (20X)
X46402
Preliminary Information
23
ORDERING INFORMATION
Notes: Tolerance for Vtrip and V2trip are +/-5%
PART MARK CONVENTION
V
CC
Range
V
TRIP
V
2TRIP
Package
Operating Temperature Range
Part Number
2.53.7V
3.1
2.6
8L TSSOP
0C70C
X46402V8-3.1
-20C85C
X46402V8E-3.1
2.53.7V
3.1
1.7
8L TSSOP
0C70C
X46402V8-3.1A
-20C85C
X46402V8E-3.1A
2.53.7V
2.9
2.3
8L TSSOP
0C70C
X46402V8-2.9
-20C85C
X46402V8E-2.9
8-Lead TSSOP
EYWW
XXXX XX
4642 AR =
V
TRIP
V2
TRIP
Temp
4642 AS =
4642 AT =
4642 AU =
4642 AV =
4642 AW =
2.6
2.6
1.7
1.7
2.3
2.3
0 to 70 C
-20 to 85C
0 to 70 C
-20 to 85C
0 to 70 C
-20 to 85C
3.1
3.1
3.1
3.1
2.9
2.9
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,
licenses are implied.
U.S. PATENTS
Xicor products are covered by one or more of the following U.S. Patents: 4,263,664; 4,274,012; 4,300,212; 4,314,265; 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. 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 occurence.
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.