2
Data Sheet
512 Kbit Multi-Purpose Flash
SST39SF512
©2003 Silicon Storage Technology, Inc. S71149-05-000 11/03
Device Operatio n
Commands are used to initiate the memory operation func-
tions of the device. Commands are written to the device
using standard microprocessor write sequences. A com-
mand is written by asse rtin g WE# low while keepi ng CE#
low. The address b us is latched on the f alling edge of WE#
or CE#, whichever oc curs l ast. T he data bus is latc hed o n
the rising edge of WE# or CE#, whichev er occurs first.
Read
The Read operation of the SST39SF512 is controlled by
CE# and OE#, both ha ve to be low for the system to obtain
data from the outputs. CE# is used for device selection.
When C E# is high , the chip is desele cted and only stand by
power is consu med . O E# is the out put co ntrol an d is us e d
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 further details (Figure 4) .
Byte-P rogram Opera ti on
The SST39SF512 are programmed on a byte-by-byte
basis. Before programming, the sector where the byte
exists must be fully erased. The Program operation is
accomplished in three steps. The first step is the three-byte
load sequence for Software Data Protection. The second
step is to load byte address and byte data. During the Byte-
Prog ram o perat ion, th e address es are latched on the falli ng
edge of either CE# or WE#, whichever occurs last. The
data is latched on the rising edge of either CE# or WE#,
whichever occurs first. The third step is the internal Pro-
gram operation which is initiated after the rising edge of the
fourth WE# or CE#, whichever occurs first. The Program
operation, once initiated, will be completed, within 30 µs.
See F i gu re s 5 a nd 6 for WE # an d CE # co nt ro ll ed P rogram
operation timing diagrams and Figure 15 for flowcharts.
During the Program operation, the only valid reads are
Data# Polling and Toggle Bit . During the inter nal Program
operatio n, the host i s free to perfor m additio nal tasks. Any
commands written during the internal Program 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, whil e 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 provide Chip-Erase operation, which
allows the user to erase the entire memory arr ay to the “1s”
state. This is useful when the entire device must be quickly
erased.
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 provide two software means to detect
the completion of a Write (Program or Erase) cycle, in
order to optimize the system Write cycle time. The software
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 initiates the
Prog ram or Er ase cycle .
The actual completion of the nonv olatile write is asynchro-
nous with the system; the refore, either a Data# Polling or
Toggle Bit read may be simultaneous with the completion
of the Write cycle. If this occurs, the system may possibly
get an erroneous result, i.e., valid data may appear to
conflict with eith er DQ7 or DQ6. In order to prevent spur i-
ous rejection , if an erroneous result occurs, the software
routine s hould include a loop to read t he accessed loc a-
tion an additional two (2) times. If both reads are valid,
then the device has completed the Write cycle, otherwise
the rejection is v alid.
http://store.iiic.cc/