m35b32 STMicroelectronics, m35b32 Datasheet - Page 28

no-image

m35b32

Manufacturer Part Number
m35b32
Description
32 Kbit, 256-byte Page, Fast Program Eeprom Memory Accessed By Spi Bus Interface
Manufacturer
STMicroelectronics
Datasheet
Instructions
6.11
28/42
Sector Erase (SE)
The M35B32 offers two sectors: the Data sector and the Event sector.
The Sector Erase (SE) instruction sets to 1 (FFh) all bits inside the chosen sector:
Before it can be accepted, a Write Enable (WREN) instruction must previously have been
executed.
After the Write Enable, the Sector Erase (SE) instruction is entered by driving Chip Select
(S) low, followed by the instruction code, and two address bytes on Serial Data Input (D).
Any address inside the Sector is a valid address for the Sector Erase (SE) instruction. Chip
Select (S) must be driven low for the entire duration of the sequence.
The instruction sequence is shown in
Chip Select (S) must be driven high after the eighth bit of the last address byte has been
latched in, otherwise the Sector Erase (SE) instruction is not executed. As soon as Chip
Select (S) is driven high, the self-timed Sector Erase cycle (whose duration is t
initiated. While the Sector Erase cycle is in progress, the Status Register may be read to
check the value of the Write In Progress (WIP) bit. The Write In Progress (WIP) bit is at 1
during the self-timed Sector Erase cycle, and it is at 0 when the cycle is complete. The Write
Enable Latch (WEL) bit is also reset (or not) once the self-timed Sector Erase cycle is
complete, depending on the logical level applied on the W input pin and the value of the
decoded address, as shown in
A Sector Erase (SE) instruction applied to a sector that contains a page that is Hardware
Protected is not executed.
Any Sector Erase (SE) instruction, while an Erase, Program or Write cycle is in progress, is
rejected without having any effects on the cycle that is in progress.
Figure 16. Sector Erase (SE) instruction sequence
1. Address bits A15 to A12 are Don’t Care.
when the transmitted address is inside the Event sector, the data in the Event sector
are erased if the W pin is driven high
when the transmitted address is inside the Data sector, the data in the top pages are
erased (whatever the state of the W pin)
when the transmitted address is above 1000h: no action
S
C
D
0
1
2
Instruction
Doc ID 18391 Rev 3
Table
3
4
4.
5
Figure
6
7
MSB
16.
15 14
8
9
16-bit address
2
29 30 31
1
0
AI15476
SE
) is
M35B32

Related parts for m35b32