PSD413F Family
6-91
ADVANCE INFORMATION
Write
Operation
Status
DQ7
Data Polling
The Flash memory features Data Polling as a method to indicate to the host that the
embedded algorithms are in progress or completed. During the Embedded Program
Algorithm, an attempt to read the device will produce the complement of the data last
written to DQ7. Upon completion of the Embedded Program Algorithm, an attempt to read
the device will produce the true data last written to DQ7. During the Embedded Erase
Algorithm, an attempt to read the device will produce a “0” at the DQ7 output. Upon
completion of the Embedded Erase Algorithm an attempt to read the device will produce a
“1” at the DQ7 output. The flowchart for Data Polling (DQ7) is shown in Figure 3.
For chip erase, the Data Polling is valid after the rising edge of the sixth WRF pulse in the
six write pulse sequence. For sector erase, the Data Polling is valid after the last rising edge
of the sector erase WRF pulse. Data Polling must be performed at sector addresses within
any of the sectors being erased and
not
a sector that is protected. Otherwise, the status
may not be valid.
Just prior to the completion of Embedded Algorithm operations DQ7 may change
asynchronously while the output enable (RDF) is asserted low. This means that the device
is driving status information on DQ7 at one instant of time and then that byte’s valid data at
the next instant of time. Depending on when the system samples the DQ7 output, it may
read the status or valid data. Even if the device has completed the Embedded Algorithm
operations and DQ7 has a valid data, the data outputs on DQ0 – DQ6 may be still invalid.
The valid data on DQ0 – DQ7 can be read on the successive read attempts.
The Data Polling feature is only active during the Embedded Programming Algorithm,
Embedded Erase Algorithm or sector erase time-out (see Table 4).
DQ6
Toggle Bit
The Flash memory also features the “Toggle Bit” as a method to indicate to the host system
that the embedded algorithms are in progress or completed.
During an Embedded Program or Erase Algorithm cycle, successive attempts to read
(RDF toggling) data from the device at any address will result in DQ6 toggling between one
and zero. Once the Embedded Program or Erase Algorithm cycle is completed, DQ6
will stop toggling and valid data will be read on the next successive attempt. During
programming, the Toggle Bit is valid after the rising edge of the fourth WRF pulse in the four
write pulse sequence. For chip erase, the Toggle Bit is valid after the rising edge of the sixth
WRF pulse in the six write pulse sequence. For Sector erase, the Toggle Bit is valid after
the last rising edge of the sector erase WRF pulse. The Toggle Bit is active during the
sector erase time-out.
DQ5
Exceeded Timing Limits
DQ5 will indicate if the program or erase time has exceeded the specified limits (internal
pulse count). Under these conditions DQ5 will produce a “1”. This is a failure condition
which indicates that the program or erase cycle was not successfully completed. Data
Polling is the only operating function of the device under this condition. The CSF circuit will
partially power down the device under these conditions (to approximately 2 mA). The RDF
and WRF pins will control the output disable functions.
The DQ5 failure condition will also appear if a user tries to program a “1” to a location that is
previously programmed to “0”. In this case the device locks out and never completes the
Embedded Program Algorithm. Hence, the system never reads a valid data on DQ7 bit and
DQ6 never stops toggling. Once the device has exceeded timing limits, the DQ5 bit will
indicate a “1”. Please note that this is not a device failure condition since the device was
incorrectly used. If this occurs, reset the device.