Professional Documents
Culture Documents
A V A I L A B L E
AN61
X25160
FUNCTIONAL DIAGRAM
WRITE
STATUS
PROTECT X DECODE 2K BYTE
REGISTER
LOGIC LOGIC ARRAY
16
16 X 256
SO
SI COMMAND
DECODE
SCK 16
AND 16 X 256
CS CONTROL
LOGIC
HOLD
32
32 X 256
WRITE
CONTROL
AND
TIMING
WP
LOGIC
32 8
Y DECODE
DATA REGISTER
©Xicor, Inc. 1994, 1995, 1996 Patents Pending Characteristics subject to change without notice
3064-3.9 6/11/96 T4/C1/D0 NS 1
X25160
The WP pin function is blocked when the WPEN bit in CS Chip Select Input
the status register is “0”. This allows the user to install the SO Serial Output
X25160 in a system with WP pin grounded and still be SI Serial Input
able to write to the status register. The WP pin functions SCK Serial Clock Input
will be enabled when the WPEN bit is set “1”. WP Write Protect Input
VSS Ground
VCC Supply Voltage
HOLD Hold Input
NC No Connect
3064 PGM T01
2
X25160
WP input is “Don’t Care” if WPEN is set “0”. WPEN, BP0 and BP1 are set by the WRSR instruction.
WEL and WIP are read-only and automatically set by
Table 1 contains a list of the instructions and their
other operations.
opcodes. All instructions, addresses and data are trans-
ferred MSB first. The Write-In-Process (WIP) bit indicates whether the
X25160 is busy with a write operation. When set to a “1”,
Data input is sampled on the first rising edge of SCK after
a write is in progress, when set to a “0”, no write is in
CS goes LOW. SCK is static, allowing the user to stop
progress. During a write, all other bits are set to “1”.
the clock and then resume operations. If the clock line is
shared with other peripheral devices on the SPI bus, the The Write Enable Latch (WEL) bit indicates the status of
user can assert the HOLD input to place the X25160 into the “write enable” latch. When set to a “1”, the latch is set,
a “PAUSE” condition. After releasing HOLD, the X25160 when set to a “0”, the latch is reset.
will resume operation from the point when HOLD was
first asserted. The Block Protect (BP0 and BP1) bits are nonvolatile
and allow the user to select one of four levels of protec-
Write Enable Latch tion. The X25160 is divided into four 4096-bit segments.
The X25160 contains a “write enable” latch. This latch One, two, or all four of the segments may be protected.
must be SET before a write operation will be completed That is, the user may read the segments but will be
internally. The WREN instruction will set the latch and unable to alter (write) data within the selected segments.
the WRDI instruction will reset the latch. This latch is The partitioning is controlled as illustrated below.
automatically reset upon a power-up condition and after
the completion of a byte, page, or status register write Status Register Bits Array Addresses
cycle. BP1 BP0 Protected
0 0 None
0 1 $0600–$07FF
1 0 $0400–$07FF
1 1 $0000–$07FF
3064 PGM T03
3
X25160
Write-Protect Enable To read the status register the CS line is first pulled LOW
The Write-Protect-Enable (WPEN) is available for the to select the device followed by the 8-bit RDSR instruc-
X25160 as a nonvolatile enable bit for the WP pin. tion. After the RDSR opcode is sent, the contents of the
status register are shifted out on the SO line. The read
Protected Unprotected Status status register sequence is illustrated in Figure 2.
WPEN WP WEL Blocks Blocks Register
Write Sequence
0 X 0 Protected Protected Protected
Prior to any attempt to write data into the X25160, the
0 X 1 Protected Writable Writable
“write enable” latch must first be set by issuing the
1 LOW 0 Protected Protected Protected
WREN instruction (See Figure 3). CS is first taken LOW,
1 LOW 1 Protected Writable Protected then the WREN instruction is clocked into the X25160.
X HIGH 0 Protected Protected Protected After all eight bits of the instruction are transmitted, CS
X HIGH 1 Protected Writable Writable must then be taken HIGH. If the user continues the write
3064 PGM T05.1 operation without taking CS HIGH after issuing the
The Write Protect (WP) pin and the nonvolatile Write WREN instruction, the write operation will be ignored.
Protect Enable (WPEN) bit in the Status Register control
the programmable hardware write protect feature. Hard- To write data to the E2PROM memory array, the user
ware write protection is enabled when WP pin is LOW, issues the WRITE instruction, followed by the address
and the WPEN bit is “1”. Hardware write protection is and then the data to be written. This is minimally a
disabled when either the WP pin is HIGH or the WPEN thirty-two clock operation. CS must go LOW and remain
bit is “0”. When the chip is hardware write protected, LOW for the duration of the operation. The host may
nonvolatile writes are disabled to the Status Register, continue to write up to 32 bytes of data to the X25160.
including the Block Protect bits and the WPEN bit itself, The only restriction is the 32 bytes must reside on the
as well as the block-protected sections in the memory same page. If the address counter reaches the end of
array. Only the sections of the memory array that are not the page and the clock continues, the counter will “roll
block-protected can be written. over” to the first address of the page and overwrite any
data that may have been written.
Note: Since the WPEN bit is write protected, it
cannot be changed back to a “0”, as long as For the write operation (byte or page write) to be
the WP pin is held LOW. completed, CS can only be brought HIGH after bit 0 of
data byte N is clocked in. If it is brought HIGH at any other
Clock and Data Timing time the write operation will not be completed. Refer to
Data input on the SI line is latched on the rising edge of Figures 4 and 5 below for a detailed illustration of the
SCK. Data is output on the SO line by the falling edge of write sequences and time frames in which CS going
SCK. HIGH are valid.
Read Sequence To write to the status register, the WRSR instruction is
When reading from the E2PROM memory array, CS is followed by the data to be written. Data bits 0, 1, 4, 5 and
first pulled LOW to select the device. The 8-bit READ 6 must be “0”. This sequence is shown in Figure 6.
instruction is transmitted to the X25160, followed by the While the write is in progress following a status register or
16-bit address of which the last 11 are used. After the E2PROM write sequence, the status register may be read to
READ opcode and address are sent, the data stored in check the WIP bit. During this time the WIP bit will be HIGH.
the memory at the selected address is shifted out on the
SO line. The data stored in memory at the next address Hold Operation
can be read sequentially by continuing to provide clock The HOLD input should be HIGH (at VIH) under normal
pulses. The address is automatically incremented to the operation. If a data transfer is to be interrupted HOLD
next higher address after each byte of data is shifted out. can be pulled LOW to suspend the transfer until it can be
When the highest address is reached ($07FF) the resumed. The only restriction is the SCK input must be
address counter rolls over to address $0000 allowing LOW when HOLD is first pulled LOW and SCK must also
the read cycle to be continued indefinitely. The read be LOW when HOLD is released.
operation is terminated by taking CS HIGH. Refer to the
read E2PROM array operation sequence illustrated in The HOLD input may be tied HIGH either directly to VCC
Figure 1. or tied to VCC through a resistor.
4
X25160
CS
0 1 2 3 4 5 6 7 8 9 10 20 21 22 23 24 25 26 27 28 29 30
SCK
DATA OUT
HIGH IMPEDANCE
SO 7 6 5 4 3 2 1 0
MSB
3064 ILL F03
CS
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
SCK
INSTRUCTION
SI
DATA OUT
HIGH IMPEDANCE
SO 7 6 5 4 3 2 1 0
MSB
3064 ILL F04
5
X25160
CS
0 1 2 3 4 5 6 7
SCK
SI
HIGH IMPEDANCE
SO
3064 ILL F05
CS
0 1 2 3 4 5 6 7 8 9 10 20 21 22 23 24 25 26 27 28 29 30 31
SCK
HIGH IMPEDANCE
SO
3064 ILL F06
6
X25160
CS
0 1 2 3 4 5 6 7 8 9 10 20 21 22 23 24 25 26 27 28 29 30 31
SCK
CS
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
SCK
CS
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
SCK
HIGH IMPEDANCE
SO
3064 ILL F08
7
X25160
D.C. OPERATING CHARACTERISTICS (Over the recommended operating conditions unless otherwise specified.)
Limits
Symbol Parameter Min. Max. Units Test Conditions
ICC VCC Supply Current (Active) 5 mA SCK = VCC x 0.1/VCC x 0.9 @ 2MHz,
SO = Open, CS = VSS
ISB VCC Supply Current (Standby) 1 µA CS = VCC, VIN = VSS or VCC
ILI Input Leakage Current 10 µA VIN = VSS to VCC
ILO Output Leakage Current 10 µA VOUT = VSS to VCC
VIL(1) Input LOW Voltage –1 VCC x 0.3 V
VIH(1) Input HIGH Voltage VCC x 0.7 VCC + 0.5 V
VOL1 Output LOW Voltage 0.4 V VCC = 5V, IOL = 3mA
VOH1 Output HIGH Voltage VCC – 0.8 V VCC = 5V, IOH = -1.6mA
VOL2 Output LOW Voltage 0.4 V VCC = 3V, IOL = 1.5mA
VOH2 Output HIGH Voltage VCC – 0.3 V VCC = 3V, IOH = -0.4mA
3064 PGM T08.3
POWER-UP TIMING
Symbol Parameter Min. Max. Units
tPUR(3) Power-up to Read Operation 1 ms
tPUW(3) Power-up to Write Operation 5 ms
3064 PGM T09
8
X25160
9
X25160
CS
SCK
ADDR
SI LSB IN
tCS
CS
tLEAD tLAG
SCK
SI MSB IN LSB IN
HIGH IMPEDANCE
SO
3064 ILL F11
10
X25160
Hold Timing
CS
tHZ tLZ
SO
SI
HOLD
SYMBOL TABLE
Must be Will be
steady steady
11
X25160
PACKAGING INFORMATION
0.430 (10.92)
0.360 (9.14)
0.260 (6.60)
0.240 (6.10)
PIN 1 INDEX
PIN 1
0.325 (8.25)
0.015 (0.38)
0.300 (7.62)
MAX.
0°
TYP. 0.010 (0.25) 15°
NOTE:
1. ALL DIMENSIONS IN INCHES (IN PARENTHESES IN MILLIMETERS)
2. PACKAGE DIMENSIONS EXCLUDE MOLDING FLASH
12
X25160
PACKAGING INFORMATION
PIN 1 INDEX
PIN 1
0.014 (0.35)
0.019 (0.49)
0.188 (4.78)
0.197 (5.00)
(4X) 7°
0.053 (1.35)
0.069 (1.75)
0.004 (0.19)
0.050 (1.27)
0.010 (0.25)
0.050"
0° – 8° TYPICAL
0.0075 (0.19)
0.010 (0.25) 0.250"
0.016 (0.410)
0.037 (0.937)
0.030"
TYPICAL
FOOTPRINT 8 PLACES
13
X25160
PACKAGING INFORMATION
.169 (4.3)
.252 (6.4) BSC
.177 (4.5)
.193 (4.9)
.200 (5.1)
.047 (1.20)
.010 (.25)
Gage Plane
0° – 8° Seating Plane
.019 (.50)
.029 (.75)
Detail A (20X)
.031 (.80)
.041 (1.05)
14
X25160
ORDERING INFORMATION
X25160 P T -V
Temperature Range
Blank = Commercial = 0°C to +70°C
I = Industrial = –40°C to +85°C
M = Military = –55°C to +125°C
Package
P = 8-Lead Plastic DIP
S = 8-Lead SOIC
V = 14-Lead TSSOP
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.
15