7
FN8132.2
October 16, 2015
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 pro-
grammed 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.
The FLAG bit shows the status of a volatile latch that
can be set and reset by the system using the SFLB and
RFLB instructions. The Flag bit is automatically reset
upon power-up.
The nonvolatile WPEN bit is programmed using the
WRSR instruction. This bit works in conjunction with the
WP
pin to provide an In-Circuit Programmable ROM
function (Table 2). WP
is LOW and WPEN bit pro-
grammed HIGH disables all Status Register Write Oper-
ations.
In Circuit Programmable ROM Mode
This mechanism protects the block lock and Watchdog
bits from inadvertent corruption.
In the locked state (Programmable ROM Mode) the WP
pin is LOW and the nonvolatile bit WPEN is “1”. This
mode disables nonvolatile writes to the device’s Status
Register.
Setting the WP
pin LOW while WPEN is a1 while an
internal write cycle to the Status Register is in progress
will not stop this write operation, but the operation dis-
ables subsequent write attempts to the Status Register.
When WP
is HIGH, all functions, including nonvolatile
writes to the Status Register operate normally.
Setting the WPEN bit in the Status Register to “0”
blocks the WP
pin function, allowing writes to the Status
Register when WP
is HIGH or LOW. Setting the WPEN
bit to “1” while the WP
pin is LOW activates the Pro-
grammable ROM mode, thus requiring a change in the
WP
pin prior to subsequent Status Register changes.
This allows manufacturing to install the device in a sys-
tem with WP
pin grounded and still be able to program
the Status Register. Manufacturing can then load Con-
figuration data, manufacturing time and other parame-
ters into the EEPROM, then set the portion of memory
to be protected by setting the block lock bits, and finally
set the “OTP mode” by setting the WPEN bit. Data
changes now require a hardware change.
Figure 5. Read EEPROM Array Sequence
Status Register Bits Array Addresses Protected
BL1 BL0 X5328/X5329
0 0 None
0 1 $0C00-$0FFF
1 0 $0800-$0FFF
1 1 $0000-$0FFF
0 1 2 3 4 5 6 7 8 9 10 20 21 22 23 24 25 26 27 28 29 30
7 6543210
Data Out
CS
SCK
SI
SO
MSB
High Impedance
Instruction 16 Bit Address
15 14 13 3 2 1 0
X5328, X5329
8
FN8132.2
October 16, 2015
Read Sequence
When reading from the EEPROM memory array, CS
is
first pulled low to select the device. The 8-bit READ
instruction is transmitted to the device, followed by the
16-bit address. After the READ opcode and address
are sent, the data stored in the memory at the selected
address is shifted out on the SO line. The data stored
in memory at the next address can be read sequen-
tially by continuing to provide clock pulses. The
address is automatically incremented to the next
higher address after each byte of data is shifted out.
When the highest address is reached, the address
counter rolls over to address $0000 allowing the read
cycle to be continued indefinitely. The read operation
is terminated by taking CS
high. Refer to the Read
EEPROM Array Sequence (Figure 1).
To read the Status Register, the CS
line is first pulled
low to select the device followed by the 8-bit RDSR
instruction. After the RDSR opcode is sent, the contents
of the Status Register are shifted out on the SO line.
Refer to the Read Status Register Sequence (Figure 2).
Write Sequence
Prior to any attempt to write data into the device, the
“Write Enable” Latch (WEL) must first be set by issu-
ing the WREN instruction (Figure 3). CS
is first taken
LOW, then the WREN instruction is clocked into the
device. After all eight bits of the instruction are trans-
mitted, CS
must then be taken HIGH. If the user con-
tinues the Write Operation without taking CS
HIGH
after issuing the WREN instruction, the Write Opera-
tion will be ignored.
To write data to the EEPROM memory array, the user
then issues the WRITE instruction followed by the
16-bit address and then the data to be written. Any
unused address bits are specified to be “0’s”. The
WRITE operation minimally takes 32 clocks. CS
must
go low and remain low for the duration of the opera-
tion. If the address counter reaches the end of a page
and the clock continues, the counter will roll back to
the first address of the page and overwrite any data
that may have been previously written.
For the Page Write Operation (byte or page write) to
be completed, CS
can only be brought HIGH after bit 0
of the last data byte to be written is clocked in. If it is
brought HIGH at any other time, the write operation
will not be completed (Figure 4).
To write to the Status Register, the WRSR instruction
is followed by the data to be written (Figure 5). Data
bits 0 and 1 must be “0”.
While the write is in progress following a Status Regis-
ter or EEPROM Sequence, the Status Register may
be read to check the WIP bit. During this time the WIP
bit will be high.
OPERATIONAL NOTES
The device powers-up in the following state:
The device is in the low power standby state.
A HIGH to LOW transition on CS
is required to enter
an active state and receive an instruction.
SO pin is high impedance.
The Write Enable Latch is reset.
The Flag Bit is reset.
Reset Signal is active for t
PURST
.
Data Protection
The following circuitry has been included to prevent
inadvertent writes:
A WREN instruction must be issued to set the Write
Enable Latch.
–CS
must come HIGH at the proper clock count in
order to start a nonvolatile write cycle.
X5328, X5329
9
FN8132.2
October 16, 2015
Figure 6. Read Status Register Sequence
Figure 7. Write Enable Latch Sequence
Figure 8. Write Sequence
01234567891011121314
76543210
CS
SCK
SI
SO
MSB
High Impedance
Instruction
Data Out
01234567
CS
SI
SCK
High Impedance
SO
32 33 34 35 36 37 38 39
SCK
SI
CS
012345678910
SCK
SI
Instruction 16 Bit Address
Data Byte 1
76543210
CS
40 41 42 43 44 45 46 47
Data Byte 2
76543210
Data Byte 3
76543210
15 14 13 3 2 1 0
20 21 22 23 24 25 26 27 28 29 30 31
65 4321 0
Data Byte N
X5328, X5329

X5328S8IZ-2.7T1

Mfr. #:
Manufacturer:
Renesas / Intersil
Description:
Supervisory Circuits VCC SUPERVISOR & 32K SPI SERIAL EEPROM
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union