2
Data Sheet
512 Kbit / 1 Mbit Multi-Purpose Flash
SST39SF512 / SST39SF010
©2001 Silicon Storage Technology, Inc. S71149-03-000 4/01 394
low. The address b us is latched on the f alling edge of WE#
or CE#, whichever oc curs l ast. The data bus is latc hed o n
the rising edge of WE# or CE#, whichev er occurs first.
Read
The Read operation of the S ST39SF51 2/010 is con trolled
by CE# and OE#, both have to be low for the system to
obtain data from the outputs. CE# is used for device selec-
tion. When CE# is high, the chip is deselected and only
standb y po wer is consumed. OE# is the output control and
is used to gate data from the output pins . The data bus is in
high impedance state when either CE# or OE# is high.
Refer to the Read cycle timing diagram for fur ther details
(Figure 4).
Byte-P rogram Opera ti on
The SST39SF512/010 are programmed on a byte-by-byte
basis. The Program operati on consists of thr e e s te ps. Th e
fir st st ep i s the th ree-b y te- loa d se quence f o r S oftw ar e Da ta
Protection. The second step is to load byte address and
byte data. During the Byte-Program operation, the
addres ses are latched on the fallin g edg e of either CE# or
WE#, whiche ver occurs last. The data is latched on the ris-
ing edge of either CE# or WE#, whic hev er occurs first. The
third step is the internal Program operation which is initi-
ated after the rising edge of the fourth WE# or CE#, which-
ev er occurs first. The Program operation, once initiated, will
be compl eted, within 30 µs. Se e Figures 5 and 6 fo r WE#
and CE# controlled Program operation timing diagrams
and Figure 15 for flowcharts. During the Program opera-
tion, the only valid reads a re Dat a# Polling and Toggl e Bit.
During the internal Program operation, the host is free to
perform additional tasks . An y commands written during the
internal Prog ram operation will be ignored.
Sector-Erase Operation
The Sector-Erase operation allows the system to erase the
device on a sector-by-sector ba sis. The sector architecture
is based on uniform sector size of 4 KByte. The Sector-
Erase operation is initiated by executing a six-byte-com-
mand load sequence for Software Data Protection with
Sector -Erase com mand (30 H) and s ector addr ess (S A) in
the last b us cycle. The sector address is latched on the fall-
ing edge of the sixth WE# pulse, while the command (30H)
is latched on the rising edge of the sixth WE# pulse. The
inter nal Erase ope ration begin s afte r the sixt h WE# pul se.
The end of Erase can be determined using either Data#
Polling or Toggle Bit methods. See Figure 9 for timing
waveforms. Any commands written during the Sector-
Erase operation will be ignored.
Chip-Erase Operation
The SST39SF512/010 provide Chip-Erase operation,
which al lows the user to erase the entire mem or y array to
the “1s” state. This is useful when the entire device must be
quickly er ased.
The Chip-Erase operation is initiated by executing a six-
byte Software Data Protection command sequence with
Chip-Erase command (10H) with address 5555H in the last
byte sequence. The Erase ope ration begi ns wi th the ri sin g
edge of the sixth WE# or CE#, whiche ver occurs first. Dur-
ing the Erase operation, the only valid read is Toggle Bit or
Data# Polling. See Table 4 for the command sequence,
Figure 10 for timing diagram, and Figure 18 for the flow-
chart. Any commands written during the Chip-Erase opera-
tion will be ignor ed.
Write Opera ti on Status De te ct ion
The SST39SF512/010 provide two software means to
detect the completion of a Write (Program or Erase) cycle,
in order to op timize the syste m Write cycle time. The soft-
ware detection includes two status bits: Data# Polling
(DQ7) and Toggle Bit (DQ6). The End-of-Write detection
mode is enabled after the rising edge of WE#, which ini-
tiates the program or erase cycle.
The act ual co mple tion of the nonvolatile wr ite is asyn chr o-
nous with the system; therefore, either a Data# Polling or
Toggle Bit read may be simultaneous with the co mpletion
of the Write cycle. If this occurs, the system may possibly
get an erroneous result, i.e., valid data ma y appear to con-
flict with either DQ7 or DQ6. In order to prevent spurious
rejection, if an erroneous result occurs, the software routine
should include a loop to read the accessed location an
additional two (2) times. If both reads are valid, then the
device has completed the Write cycle, otherwise the rejec-
tion is valid.
Data# Polling (DQ7)
When the SST39SF512/010 are in the internal Program
operatio n, any attempt to r ead DQ7 will pro duce the co m-
plement of the true data. Once the Program operation is
comp lete d, D Q7 will produc e true data. T he device is the n
ready for the next operation. During inter nal Erase opera-
tion, any a ttempt to read DQ7 will pro duce a ‘0’. Once the
inter nal Erase operati on is completed, DQ 7 will produce a
‘1’. The Data# Polling is valid after the rising edge of fourth
WE# (or CE #) pulse for Program Ope ration. For sect or or
Chip-E rase, the Data# Pollin g is valid after the r isi ng edge
of sixth WE# (or CE#) pulse. See Figure 7 for Data# P olling
timing diagram and Figure 16 f or a flowchart.