– 5.0 (VCC = 4.5V to 5.5V)
– 2.7 (VCC = 2.7V to 5.5V)
– 1.8 (VCC = 1.8V to 3.6V)
•
Block Write Protection
– Protect 1/4, 1/2, or Entire Array
•
Write Protect (WP) Pin and Write Disable Instructions for
Both Hardware and Software Data Protection
•
High Reliability
– Endurance: 100K Write Cycles
– Data Retention: > 40 Years
– ESD Protection: > 3000V
•
8-Pin PDIP, 8-Pin EIAJ SOIC, and 8-Pin Leadless Array Package
Description
The AT25HP256/512 provides 262,144/524,288 bits of serial electrically erasable programmable read only memory (EEPROM) organized as 32,768/65,536 words of 8-bits
each. The device is o ptimi zed f or u se i n man y in dustria l and com merc ial app lic ations
where high-speed, low- power, and low-voltage operation are essent ial. The
AT25HP256/512 is available in a space saving 8-pin PDIP (AT25HP256/512), 8-pin
EIAJ SOIC (AT25HP256), and 8-pin Leadless Array (AT25HP256/512) packages. In
(continued)
SPI Serial
EEPROMs
256K (32,768 x 8)
512K (65,536 x 8)
AT25HP256
AT25HP512
Preliminary
Pin Configurations
Pin NameFunction
CS
SCKSerial Data Clock
SISerial Data Input
SOSerial Data Output
GNDGround
VCCPower Supply
WP
HOLDSuspends Serial Input
CS
SO
WP
GND
Chip Select
Write Protect
8-Pin PDIP
8
1
7
2
3
6
4
5
VCC
HOLD
SCK
SI
CS
SO
WP
GND
8-Pin SOIC
8
1
7
2
3
6
4
5
VCC
HOLD
SCK
SI
8-Pin Leadless Array
VCC
HOLD
SCK
8
7
6
SI
5
CS
1
SO
2
WP
3
GND
4
Bottom View
Rev. 1113B–07/98
1
Page 2
addition, the entire family is available in 5.0V (4.5V to
5.5V), 2.7V (2.7V to 5.5V), and 1.8V (1 .8V to 3.6V) versions.
The AT25HP256/512 is enabled through the Chip Select
pin (CS
Serial Data Input (SI), Serial Data Output (SO), and Serial
Clock (SCK). All progr amming cycle s are co mpletely s elftimed, and no separate ERASE cycle is required before
WRITE.
BLOCK WRITE protection is enabled by programming the
status register with top ¼, top ½ or entire array of write protection. Separate program enable and program disable
instructions are provided for additional data protection.
Hardware d ata protection is pr ovided via the WP
tect against inadvertent write attempts to the status register. The HOLD
communication without resetting the serial sequence.
) and accessed via a 3-wire interface consisting of
pin to pro-
pin may be used to suspend any serial
Block Diagram
Absolute Maximum Ratings*
Operating Temperature..................................-55°C to +125°C
Storage Temperature .....................................-65°C to +150°C
Voltage on Any Pin
with Respect to Ground.................................... -1.0V to +7.0V
Maximum Operating Voltage................................... ...... ..6.25V
DC Output Current........................................................5.0 mA
*NOTICE:Stresses beyond those listed under “Absolute Maxi-
mum Ratings” ma y cause permanent d amage to th e
device. This is a stress rating only and functional
operation of the device at these or any other conditions beyond those indicated in the operational sections of this specif ic ati on is n ot im pl ie d. Ex pos ure to
absolute maximum rating conditions for extended
periods may affect device reliability.
32,768/65,536 x 8
2
AT25HP256/512
Page 3
AT25HP256/512
Pin Capacitance
(1)
Applicable over recommended operating range from TA = 25°C, f = 1.0 MHz, VCC = +5.0V (unless otherwise noted).
Note:1. This parameter is characterized and is not 100% tested.
DC Characteristics
Applicable over recommended operating range from: TAI = -40°C to +85°C, VCC = +1.8V to +5.5V,
= 0°C to +70°C, VCC = +1.8V to +5.5V (unless otherwise noted).
T
AC
SymbolParameterTest ConditionMinTypMaxUnits
V
CC1
V
CC2
V
CC3
I
CC1
I
CC2
I
SB1
I
SB2
I
SB3
I
IL
I
OL
(1)
V
IL
(1)
V
IH
V
OL1
V
OH1
V
OL2
V
OH2
Note:1. V
Supply Voltage1.83.6V
Supply Voltage2.75.5V
Supply Voltage4.55.5V
Supply CurrentVCC = 5.0V at 5 MHz, SO = Open Read6.010.0mA
Supply CurrentVCC = 5.0V at 5 MHz, SO = Open Write4.07.0mA
Standby CurrentVCC = 1.8V, CS = V
Standby CurrentVCC = 2.7V, CS = V
Standby CurrentVCC = 5.0V, CS = V
Input LeakageVIN = 0V to V
CC
CC
CC
CC
-3.03.0
0.12.0
0.22.0
2.05.0
Output LeakageVIN = 0V to VCC, TAC = 0°C to 70°C-3.03.0
Input Low Voltage-0.6V
x 0.3V
CC
Input High VoltageVCC x 0.7VCC + 0.5V
Output Low Voltage
Output High VoltageIOH = -1.6 mAVCC - 0.8V
4.5V ≤ V
≤ 5.5V
CC
Output Low Voltage
Output High VoltageIOH = -100 µAV
1.8V ≤ V
and VIH max are reference only and are not tested.
IL
≤ 3.6V
CC
I
= 3.0 mA0.4V
OL
I
= 0.15 mA0.2V
OL
- 0.2V
CC
µ
A
µ
A
µ
A
µ
A
µ
A
3
Page 4
AC Characteristics
Applicable over recommended operating range from TA = -40°C to +85°C, VCC = As Specified,
= 1 TTL Gate and 30 pF (unless otherwise noted).
C
L
SymbolParameterVoltageMinMaxUnits
f
SCK
SCK Clock Frequency
4.5 - 5.5
2.7 - 5.5
1.8 - 3.6
0
0
0
10
5
TBD
MHz
t
t
t
t
t
t
t
t
RI
FI
WH
WL
CS
CSS
CSH
SU
Input Rise Time
Input Fall Time
SCK High Time
SCK Low Time
CS High Time
CS Setup Time
CS Hold Time
Data In Setup Time
4.5 - 5.5
2.7 - 5.5
1.8 - 3.6
4.5 - 5.5
2.7 - 5.5
1.8 - 3.6
4.5 - 5.5
2.7 - 5.5
1.8 - 3.6
4.5 - 5.5
2.7 - 5.5
1.8 - 3.6
4.5 - 5.5
2.7 - 5.5
1.8 - 3.6
4.5 - 5.5
2.7 - 5.5
1.8 - 3.6
4.5 - 5.5
2.7 - 5.5
1.8 - 3.6
4.5 - 5.5
2.7 - 5.5
1.8 - 3.6
40
80
TBD
40
80
TBD
50
100
TBD
50
100
TBD
50
100
TBD
12
20
TBD
2
2
TBD
2
2
TBD
µ
µ
ns
ns
ns
ns
ns
ns
s
s
4.5 - 5.5
t
H
Data In Hold Time
2.7 - 5.5
1.8 - 3.6
4.5 - 5.5
t
HD
Hold Setup Time
2.7 - 5.5
1.8 - 3.6
4.5 - 5.5
t
CD
Hold Hold Time
2.7 - 5.5
1.8 - 3.6
4.5 - 5.5
t
V
Output Valid
2.7 - 5.5
1.8 - 3.6
4.5 - 5.5
t
HO
Output Hold Time
2.7 - 5.5
1.8 - 3.6
4
AT25HP256/512
10
20
TBD
25
50
TBD
25
50
TBD
0
0
0
0
0
0
40
80
TBD
ns
ns
ns
ns
ns
Page 5
AT25HP256/512
AC Characteristics (Continued)
Applicable over recommended operating range from TA = -40°C to +85°C, VCC = As Specified,
= 1 TTL Gate and 30 pF (unless otherwise noted).
C
L
SymbolParameterVoltageMinMaxUnits
t
LZ
t
HZ
t
DIS
t
WC
Endurance
Note:1. This parameter is characterized and is not 100% tested.
Hold to Output Low Z
Hold to Output High Z
Output Disable Time
Write Cycle Time
(1)
5.0V, 25°C, Page Mode
4.5 - 5.5
2.7 - 5.5
1.8 - 3.6
4.5 - 5.5
2.7 - 5.5
1.8 - 3.6
4.5 - 5.5
2.7 - 5.5
1.8 - 3.6
4.5 - 5.5
2.7 - 5.5
1.8 - 3.6
4.5 - 5.5
2.7 - 5.5
1.8 - 3.6
0
0
0
100K
100
200
TBD
100
200
TBD
100
100
TBD
5
10
TBD
Write
Cycles
ns
ns
ns
ms
5
Page 6
Serial Interface Description
MASTER:
SLAVE:
input, the AT25HP256/512 always operates as a slave.
TRANSMITTER/RECEIVER:
separate pins designated for data transmission (SO) and
reception (SI).
MSB:
transmitted and received.
SERIAL OP-CODE:
going low, the first byte will be receiv ed. This byte co ntains
the op-code that defines the operations to be performed.
INVALID OP-CODE:
data will be shifted in to th e A T25HP 256 /512, and the serial
output pin (SO) will remain in a high impedance state until
the falling edge of CS
the serial communication.
CHIP SELECT:
pin is low. When the device is not selected, data will not
CS
be accepted via the SI pin, and the seria l output pin (SO)
will remain in a high impedance state.
HOLD:
pin to select the AT25HP256/512. When the device is
selected and a serial sequence is underway, HOLD
used to pause the se rial communica tion with the master
device without resetting the serial sequence. To pause, the
HOLD
resume serial communication, the HOLD
high while the SCK pin is low (SCK may still toggle during
HOLD
is in the high impedance state.
WRITE PROTECT:
normal read/ write opera tions when he ld high. Wh en the
WP
tions to the status registe r are inhibited. WP
while CS
ter. If the internal write cycle has already been initiated, WP
going low will have no effect on any write operation to the
The device that generates the serial clock.
Because the Serial Clock pin (SCK) is always an
The AT25HP256/512 has
The Most Significant Bit (MSB) is the first bit
After the device is selected with CS
If an invalid op-code is received, no
is detected again. This will reinitialize
The AT25HP256/512 is sele cted whe n the
The HOLD
pin must be brought low while the SCK pin is low. To
). Inputs to the SI pin will be ignored while the SO pin
pin is brought low an d WPEN bit is “ 1”, all wr ite oper a-
is still low will interrupt a write to the status regis-
pin is us ed in conju nctio n wit h the CS
can be
pin is brought
The write protect pin (WP
) will allow
going low
status register. The WP
WPEN bit in the statu s register is “0”. This wil l allow the
user to install the AT25HP256/512 in a system with the WP
pin tied to ground and still be able to write to the status register. All WP
is set to “1”.
pin functions ar e enab led wh en the WPE N bit
pin function is blocked when the
SPI Serial Interface
AT25HP256/512
6
AT25HP256/512
Page 7
Functional Description
The AT25HP256/512 is designed to interface directly with
the synchronous serial peripheral interface (SPI) of the
6800 type series of microcontrollers.
The AT25HP256/512 utilizes an 8-bit instruction register.
The list of i nstruction s and th eir ope ration c odes ar e contained in Ta ble 1. All i nst ructi ons , add ress es, and dat a ar e
transferred with the MSB first and start with a hi gh-to-low
transition.
CS
Table 1.
Instruction
Name
WREN0000 X110Set Write Enable Latch
WRDI0000 X100Reset Write Enable Latch
RDSR0000 X101Re ad Status Regi ste r
WRSR0000 X001Write Status Register
READ0000 X011Read Data from Memory Array
WRITE0000 X010Write Data to Memory Array
WRITE ENABLE (WREN):
write disable state when V
instructions mus t t here fo re be p reced ed b y a Wr ite Enab le
instruction.
WRITE DISABLE (WRDI):
inadvertent writes, the Wr it e Dis able i nst ru cti on disabl es all
programming modes. The WRDI ins tructio n is ind ependen t
of the status of the WP
READ STATUS REGISTER (RDSR):
Register instruction provides access to the status register.
The READY/BUSY an d Write Enable sta tus of th e devic e
can be determined by the RDSR instruction. Similarly, the
Block Write Pr otec tion bits i ndic ate th e exten t o f prote ctio n
employed. These bits are set by using the WRSR instru ction.
Table 2.
Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
WPENXXXBP1BP0WENRDY
Instruction Set for the AT25HP256/512
Instruction
FormatOperation
The device will power u p in th e
is applied. All programming
CC
To protect the device against
pin.
The Read Status
Status Register Format
AT25HP256/512
Table 3.
BitDefinition
Bit 0 (RDY
Bit 1 (WEN)Bit 1= 0 indicates the device
Bit 2 (BP0)See Table 4.
Bit 3 (BP1)See Table 4.
Bits 4-6 are 0s when device is not in an internal write cycle.
Bit 7 (WPEN) See Table 5.
Bits 0-7 are 1s during an internal write cycle.
WRITE STATUS REGISTER (WRSR):
tion allows the user to select one of four levels of protection. The AT25HP256/512 is div ided into four array
segments. Top quarter (1/4), top half (1/2), or all of the
memory segments can be protected. Any of the data within
any selected segment will therefore be READ only. The
block write prot ection le vels and corr espondi ng stat us register control bits are shown in Table 4.
The three bits, BP0, BP1, and WPEN are nonvolatile cells
that have the same pro perties and functi ons as the regul ar
memory cells (e.g. WREN, t
The WRSR instruction also allows the user to enable or
disable the write protect (WP
Write Protect Enable (WPEN) bit. Hardware write protection is ena bl e d wh en t h e W P
“1”. Hardware write protection is disabled when
WP
hardware write protected, writes to the Status Register,
including the Bloc k Protec t bits and the WPEN bi t, and the
block-protected sec tions in the memor y arra y are disab led.
Read Status Register Bit Definition
)Bit 0 = 0 (RDY) indicates the device is
READ Y. Bit 0 = 1 indica tes the write cycle is in
progress.
is not
WRITE
ENABLED. Bit 1 = 1 indicates the device is
WRITE ENABLED.
The WRSR instruc-
, RDSR).
WC
Block Write Protect Bits
Status Register BitsArray Addresses Protected
BP1BP0AT25HP256/512
) pin through the use of the
pin is low and the WPEN bit is
either
the
pin is high or the WPEN bit is “0.” When the device is
7
Page 8
Writes are only allowed to sections of the memory which
are not block-protected.
Reading the
AT25HP256/512 via the SO (Serial Output) pin requires the
following sequence. After the CS
line is pulled low to select
a device, the READ op-code is transmitted via the SI line
followed by the byte a ddres s to be r ead (R efer to Tab le 6) .
Upon completion, any data on the SI line will be ignored.
The data (D7-D0 ) at the speci fied addres s is then sh ifted
out onto the SO line . If only on e byte is to be read, th e CS
line should be driven high after the data comes out. T he
READ sequence can be continued since the byte address
is automatically incremented and data will continue to be
shifted out. When the highest address is reached, the
address counter will roll over to the lowest address allowing
the entire memory to be rea d in one continuous REA D
cycle.
WRITE SEQUENCE ( WRITE):
In order to program the
AT25HP256/512, two separate instructions must be executed. First, the device
must be write enabled
via the
Write Enable (WREN) Instruction. Then a Write (WRITE)
Instruction may be executed. Also, the address of the
memory location(s) t o be pr og r amm ed mu st b e out si de th e
protected address field location selected by the Block Write
Protection Level. During an internal write c ycle, all commands will be ignored except the RDSR instruction.
A Write Instruc tion r equires the foll owing s equence. After
the CS
line is pulled low to select the device, the WRITE
op-code is transmitted via the S I line follo wed by the byte
address and the data (D7- D0) to be programme d (Refer to
Table 6). Programming will s tar t aft er the CS
high. (The LOW to High transition of the CS
pin is brought
pin must occur
during the SCK low ti me immedi ately after c locking in th e
D0 (LSB) data bit.
The READY/BUSY status of the devic e can be determine d
by initiating a READ STATUS REGISTER (RDSR) Instruction. If Bit 0 = 1, the WRITE cycle is still in progress. If Bit 0
= 0, the WRITE cycle has ended. Only the READ STATUS
REGISTER instruction is enabled during the WRITE programming cycle.
The AT25HP256/512 is capable of a 128-byte PAGE
WRITE operation. After each by te of data is receiv ed, the
seven low order address bits are intern ally incr emented by
one; the high order bits of the address will remain constant.
If more than 128-bytes of data are transmitted, the address
counter will roll over and the previously written data will be
overwritten. The AT25 HP256/5 12 is automa tically returne d
to the write disable state at the completion of a WRITE
cycle.
NOTE:
If the device is not Write enabl ed (WREN), the
device will igno re the Wr it e instruction and wil l return to the
standby state, when CS
is brought high. A new CS falli ng
edge is required to re-initiate the serial communication.
Table 6.
NOTE:
Address Key
AddressAT25HP256/512
A
N
Don’t Care BitsA15 / none
A14 - A0 / A15 - A
128-byte PAGE WRITE operation only
0
. Content of
the page in the array will not be guaranteed if less than 128
bytes of data is received (byte write is not supported).