7FN8131.2
June 30, 2008
SPI Serial Memory
The memory portion of the device is a CMOS serial EEPRO M
array with Intersil’s block lock protection. The array is
internally organized as x8. The device features a Serial
Peripheral Interface (SPI) and sof tw are proto col allow ing
operation on a simple fo ur-wire b us.
The device utilizes Intersil’s proprietary Direct Write™ cell,
providing a minimum endurance of 100,000 cycles and a
minimum data retention of 100 years.
The device is designed to interface directl y wi th the
synchronous Serial Peripheral Interface (SPI) of many
popular microcontroller fami lies. It contains an 8-bit
instruction register that is accessed via the SI input, with
data being clocked in on the rising edge of SCK. CS must be
LOW during the entire operation.
All instructions (Table 1), addresses and data are transferred
MSB first. Data input on the SI line is latched on the first
rising edge of SCK after CS goes LOW . Data is output on the
SO line by the falling edge of SCK. SCK is static, allowing
the user to stop the clock and then start it again to resume
operations where left off.
Write Enable Latch
The device contains a write enable latch. This latch must be
SET before a write operation is initiated. The WREN
instruction will set the latch and the WRDI instruction will
reset the latc h (Fi g ure 3). This latch is automatically reset
upon a power-up condition and after the completion of a
valid write cycle.
Status Register
The RDSR instruction provides access to the status register.
The status registe r may be read at any time , e ven duri ng a
write cycle. The status register is formatted as foll ows:
The Write-In-Progress (WIP) bit is a volatile, read only bit
and indicates whether the device is busy with an internal
nonvolatile write operation. The WIP bit is read using the
RDSR instruction. When set to a “1”, a nonvolatile write
operation is in progress. When set to a “0”, no write is in
progress.
The Write Enable Latch (WEL) bit indicates the status of
the write enable latch. When WEL = 1, the latch is set
HIGH and when WEL = 0 the latch is reset LOW. The WEL
bit is a volatile, read only bit. It can be set by the WREN
instruction and can be reset by the WRDS instruction.
The block lock bits, BL0 and BL1, set the level of block lock
protection. These nonvolatile bits are programmed using the
WRSR instruction and allow the user to protect one quarter,
one half, all or none of the EEPROM array. Any portion of the
array that is block lock protected can be read but not written. It
will remain protected until the BL bits are altered to disable
block lock protection of that portion of memory .
NOTE: *Instructions are shown MSB in leftmost position. Instructions are transferred MSB first.
7 6543210
WPEN FLB WD1 WD0 BL1 BL0 WEL WIP
TABLE 1. INSTRUCTION SET
INSTRUCTION NAME INSTRUCTION FORMAT* OPERATION
WREN 0000 0110 Set the write enable latch (enable write operations)
SFLB 0000 0000 Set flag bit
WRDI/RFLB 0000 0100 Reset the write enable latch/reset flag bit
RSDR 0000 0101 Read status register
WRSR 0000 0001 Write status register (watchdog, block lock, WPEN and flag bits)
READ 0000 0011 Read data from memory array beginning at selected address
WRITE 0000 0010 Write data to memory array beginning at selected address
TABLE 2. BLOCK PROTECT MATRIX
WREN CMD STATUS REGISTER DEVICE PIN BLOCK BLOCK STATUS REGISTER
WEL WPEN WP Protected Block Unprote cted Block WPEN, BL0, BL1 WD0, WD1
0 X X Protected Protected Protected
1 1 0 Protected Writable Protected
1 0 X Protected Writable Writable
1 X 1 Protected Writable Writable
X5323, X5325