X28HC256
10
FN8108.5
August 27, 2015
Submit Document Feedback
Device Operation
Read
Read operations are initiated by both OE and CE LOW. The read
operation is terminated by either CE or OE returning HIGH. This
two line control architecture eliminates bus contention in a
system environment. The data bus will be in a high impedance
state when either OE
or CE is HIGH.
Write
Write operations are initiated when both CE and WE are LOW and
OE is HIGH. The X28HC256 supports both a CE and WE controlled
write cycle. That is, the address is latched by the falling edge of
either CE
or WE, whichever occurs last. Similarly, the data is
latched internally by the rising edge of either CE or WE, whichever
occurs first. A byte write operation, once initiated, will
automatically continue to completion, typically within 3ms.
Page Write Operation
The page write feature of the X28HC256 allows the entire
memory to be written in typically 0.8 seconds. The page write
allows up to 128 bytes of data to be consecutively written to the
X28HC256, prior to the commencement of the internal
programming cycle. The host can fetch data from another device
within the system during a page write operation (change the
source address), but the page address (A
7
through A
14
) for each
subsequent valid write cycle to the part during this operation
must be the same as the initial page address.
The page write mode can be initiated during any write operation.
Following the initial byte write cycle, the host can write an
additional one to 127 bytes in the same manner as the first byte
was written. Each successive byte load cycle, started by the WE
high-to-low transition, must begin within 100µs of the falling
edge of the preceding WE. If a subsequent WE high-to-low
transition is not detected within 100µs, the internal automatic
programming cycle will commence. There is no page write
window limitation. Effectively the page write window is infinitely
wide, so long as the host continues to access the device within
the byte load cycle time of 100µs.
Write Operation Status Bits
The X28HC256 provides the user two write operation status bits.
These can be used to optimize a system write cycle time. The
status bits are mapped onto the I/O bus as shown in Figure 7
.
DATA Polling (I/O
7
)
The X28HC256 features DATA polling as a method to indicate to the
host system that the byte write or page write cycle has completed.
DATA
polling allows a simple bit test operation to determine the
status of the X28HC256. This eliminates additional interrupt inputs
or external hardware. During the internal programming cycle, any
attempt to read the last byte written will produce the complement of
that data on I/O
7
(i.e., write data = 0xxx xxxx, read data = 1xxx xxxx).
Once the programming cycle is complete, I/O
7
will reflect true data.
Toggle Bit (I/O
6
)
The X28HC256 also provides another method for determining
when the internal write cycle is complete. During the internal
programming cycle I/O
6
will toggle from high-to-low and high-to-
low on subsequent attempts to read the device. When the
internal cycle is complete the toggling will cease and the device
will be accessible for additional read and write operations.
DATA Polling I/O
DATA polling can effectively halve the time for writing to the
X28HC256. The timing diagram in Figure 8 on page 11
illustrates the sequence of events on the bus. The software flow
diagram in Figure 9 on page 11 illustrates one method of
implementing the routine.
The Toggle Bit I/O
The toggle bit can eliminate the chore of saving and fetching the
last address and data in order to implement DATA polling. This
can be especially helpful in an array comprised of multiple
X28HC256 memories that is frequently updated. The timing
diagram in Figure 10 on page 12
illustrates the sequence of
events on the bus. The software flow diagram in Figure 11 on
page 12 illustrates a method for polling the toggle bit.
Hardware Data Protection
The X28HC256 provides two hardware features that protects
nonvolatile data from inadvertent writes.
•Default V
CC
Sense — All write functions are inhibited when V
CC
is 3.5V typically.
Write Inhibit — Holding either OE low, WE high, or CE high will
prevent an inadvertent write cycle during power-up and
power-down, maintaining data integrity.
5TBDP 43210I/O
RESERVED
TOGGLE BIT
DATA
POLLING
FIGURE 7. STATUS BIT ASSIGNMENT
X28HC256
11
FN8108.5
August 27, 2015
Submit Document Feedback
CE
OE
WE
I/O
7
X28HC256
READY
LAST
WRITE
HIGH Z
V
OL
V
IH
A
0
TO A
14
An An An An An An
V
OH
An
FIGURE 8. DATA POLLING BUS SEQUENCE
WRITE DATA
SAVE LAST DATA
AND ADDRESS
READ LAST
ADDRESS
IO
7
COMPARE?
X28HC256
NO
YES
WRITES
COMPLETE?
NO
YES
READY
FIGURE 9. DATA POLLING SOFTWARE FLOW
X28HC256
12
FN8108.5
August 27, 2015
Submit Document Feedback
¬
Software Data Protection
The X28HC256 offers a software controlled data protection
feature. The X28HC256 is shipped from Intersil with the software
data protection NOT ENABLED; that is, the device will be in the
standard operating mode. In this mode data should be protected
during power-up/down operations through the use of external
circuits. The host would then have open read and write access of
the device once V
CC
was stable.
The X28HC256 can be automatically protected during power-up
and power-down (without the need for external circuits) by
employing the software data protection feature. The internal
software data protection circuit is enabled after the first write
operation, utilizing the software algorithm. This circuit is
nonvolatile, and will remain set for the life of the device unless
the reset command is issued.
Once the software protection is enabled, the X28HC256 is also
protected from inadvertent and accidental writes in the powered
up state. That is, the software algorithm must be issued prior to
writing additional data to the device.
Software Algorithm
Selecting the software data protection mode requires the host
system to precede data write operations by a series of three
write operations to three specific addresses. Refer to
Figures 12
and 13 on page 13 for the sequence. The 3 byte
sequence opens the page write window, enabling the host to
write from one to 128 bytes of data. Once the page load cycle
has been completed, the device will automatically be returned
to the data protected state.
CE
OE
WE
X28C512, X28C513
LAST
WRITE
I/O
6
HIGH Z
V
OH
V
OL
READY
FIGURE 10. TOGGLE BIT BUS SEQUENCE
NOTE:
18.
I/O6 Beginning and ending state of I/O6 will vary.
(Note 18)
(Note 18)
COMPARE
X28C256
NO
YES
OK?
COMPARE
ACCUM WITH
ADDR n
LOAD ACCUM
FROM ADDR n
LAST WRITE
READY
YES
FIGURE 11. TOGGLE BIT SOFTWARE FLOW

X28HC256PIZ-90

Mfr. #:
Manufacturer:
Renesas / Intersil
Description:
EEPROM 32K X 8 EEPROM,CMOS,HIGH SPEED,PDIP,I.TEMP,90NS,PB FREE
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union