SPI Serial Eeproms: Features
SPI Serial Eeproms: Features
Description Not
The AT25128A/256A provides 131,072/262,144 bits of serial electrically-erasable pro-
grammable read only memory (EEPROM) organized as 16,384/32,768 words of 8 bits
Recommended
each. The device is optimized for use in many industrial and commercial applications for New Design
where low-power and low-voltage operation are essential. The devices are available
in space saving 8-lead PDIP, 8-lead EIAJ SOIC, 8-lead JEDEC SOIC, 8-lead TSSOP,
8-ball dBGA2 and 8-lead SAP packages. In addition, the entire family is available in
2.7V (2.7V to 5.5V) and 1.8V (1.8V to 5.5V) versions.
The AT25128A/256A is enabled through the Chip Select pin (CS) and accessed via a
3-wire interface consisting of Serial Data Input (SI), Serial Data Output (SO), and
Serial Clock (SCK). All programming cycles are completely self-timed, and no sepa-
rate Erase cycle is required before Write.
VCC 8 1 CS VCC 8 1 CS
HOLD 7 2 SO HOLD 7 2 SO
SCK 6 3 WP
SCK 6 3 WP
SI 5 4 GND
SI 5 4 GND
Bottom View
Bottom View 3368J–SEEPR–06/07
Table 0-1. Pin Configurations
Pin Name Function
CS Chip Select
GND Ground
WP Write Protect
NC No Connect
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 pro-
vided for additional data protection. Hardware data protection is provided via the WP pin to
protect against inadvertent write attempts to the status register. The HOLD pin may be used to
suspend any serial communication without resetting the serial sequence.
2 AT25128A_256A
3368J–SEEPR–06/07
AT25128A_256A
16384/32768 x 8
3
3368J–SEEPR–06/07
Table 1-2. DC Characteristics
Applicable over recommended operating range from TAI = 40°C to +85°C, VCC = +1.8V to +5.5V,
TAE = 40C to +125C, VCC = +1.8V to +5.5V(unless otherwise noted)
Symbol Parameter Test Condition Min Typ Max Units
VCC1 Supply Voltage 1.8 5.5 V
VCC2 Supply Voltage 2.7 5.5 V
VCC3 Supply Voltage 4.5 5.5 V
VCC = 5.0V at 20 MHz, SO = Open,
ICC1 Supply Current 9.0 10.0 mA
Read
VCC = 5.0V at 10 MHz,
ICC2 Supply Current 5.0 7.0 mA
SO = Open, Read, Write
VCC = 5.0V at 1 MHz,
ICC3 Supply Current 2.2 3.5 mA
SO = Open, Read, Write
ISB1 Standby Current VCC = 1.8V, CS = VCC 0.2 3.0 µA
ISB2 Standby Current VCC = 2.7V, CS = VCC 0.5 3.0 µA
ISB3 Standby Current VCC = 5.0V, CS = VCC 2.0 5.0 µA
IIL Input Leakage VIN = 0V to VCC 3.0 3.0 µA
IOL Output Leakage VIN = 0V to VCC, TAC = 0C to 70C 3.0 3.0 µA
VIL (1)
Input Low-voltage 1.0 VCC x 0.3 V
(1)
VIH Input High-voltage VCC x 0.7 VCC + 0.5 V
VOL1 Output Low-voltage IOL = 3.0 mA 0.4 V
3.6 VCC 5.5V
VOH1 Output High-voltage IOH = 1.6 mA VCC 0.8 V
VOL2 Output Low-voltage IOL = 0.15 mA 0.2 V
1.8V VCC 3.6V
VOH2 Output High-voltage IOH = 100 µA VCC 0.2 V
Note: 1. VIL min and VIH max are reference only and are not tested.
4 AT25128A_256A
3368J–SEEPR–06/07
AT25128A_256A
5
3368J–SEEPR–06/07
Table 1-3. AC Characteristics (Continued)
Applicable over recommended operating range from TAI = 40C to + 85C, TAE = 40C to +125C, VCC = As Specified,
CL = 1 TTL Gate and 30 pF (unless otherwise noted)
Symbol Parameter Voltage Min Max Units
4.55.5 25
tHZ Hold to Output High Z 2.75.5 50 ns
1.85.5 100
4.55.5 25
tDIS Output Disable Time 2.75.5 50 ns
1.85.5 100
4.55.5 5
tWC Write Cycle Time 2.75.5 5 ms
1.85.5 5
Endurance(1) 5.0V, 25C, Page Mode 1M Write Cycles
Notes: 1. This parameter is characterized and is not 100% tested. Contact Atmel for further information.
6 AT25128A_256A
3368J–SEEPR–06/07
AT25128A_256A
7
3368J–SEEPR–06/07
Figure 2-1. SPI Serial Interface
AT25128A/256A
8 AT25128A_256A
3368J–SEEPR–06/07
AT25128A_256A
3. Functional Description
The AT25128A/256A is designed to interface directly with the synchronous serial peripheral
interface (SPI) of the 6800 type series of microcontrollers.
The AT25128A/256A utilizes an 8-bit instruction register. The list of instructions and their opera-
tion codes are contained in see Table 4-3. All instructions, addresses, and data are transferred
with the MSB first and start with a high-to-low CS transition.
WRITE ENABLE (WREN): The device will power-up in the write disable state when VCC is
applied. All programming instructions must therefore be preceded by a Write Enable instruction.
WRITE DISABLE (WRDI): To protect the device against inadvertent writes, the Write Disable
instruction disables all programming modes. The WRDI instruction is independent of the status
of the WP pin.
READ STATUS REGISTER (RDSR): The Read Status Register instruction provides access to
the status register. The Ready/Busy and Write Enable status of the device can be determined by
the RDSR instruction. Similarly, the Block Write Protection bits indicate the extent of protection
employed. These bits are set by using the WRSR instruction.
9
3368J–SEEPR–06/07
WRITE STATUS REGISTER (WRSR): The WRSR instruction allows the user to select one of
four levels of protection. The AT25128A/256A is divided 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 protection levels and correspond-
ing status register control bits are shown in Table 3-4.
The three bits, BP0, BP1, and WPEN are nonvolatile cells that have the same properties and
functions as the regular memory cells (e.g. WREN, tWC, RDSR).
The WRSR instruction also allows the user to enable or disable the write protect (WP) pin
through the use of the write protect enable (WPEN) bit. Hardware write protection is enabled
when the WP pin is low and the WPEN bit is “1”. Hardware write protection is disabled when
either the WP pin is high or the WPEN bit is “0”. When the device is hardware write protected,
writes to the Status Register, including the Block Protect bits and the WPEN bit, and the block-
protected sections in the memory array are disabled. Writes are only allowed to sections of the
memory which are not block-protected.
NOTE: When the WPEN bit is hardware write protected, it cannot be changed back to “0”, as
long as the WP pin is held low.
READ SEQUENCE (READ): Reading the AT25128A/256A via the SO pin requires the follow-
ing 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 address to be read (see Table 3-6 on page 11). Upon com-
pletion, any data on the SI line will be ignored. The data (D7 - D0) at the specified address is
then shifted out onto the SO line. If only one byte is to be read, the CS line should be driven high
after the data comes out. The read sequence can be continued since the byte address is auto-
matically incremented and data will continue to be shifted out. When the highest address is
10 AT25128A_256A
3368J–SEEPR–06/07
AT25128A_256A
reached, the address counter will roll over to the lowest address allowing the entire memory to
be read in one continuous read cycle.
WRITE SEQUENCE (WRITE): In order to program the AT25128A/256A, two separate instruc-
tions must be executed. First, the device must be write enabled via the Write Enable (WREN)
Instruction. Then a Write instruction may be executed. Also, the address of the memory loca-
tion(s) to be programmed must be outside the protected address field location selected by the
Block Write Protection Level. During an internal write cycle, all commands will be ignored except
the RDSR instruction.
A Write Instruction requires the following sequence. After the CS line is pulled low to select the
device, the Write op-code is transmitted via the SI line followed by the byte address and the data
(D7 - D0) to be programmed (see Table 3-6). Programming will start after the CS pin is brought
high. (The Low-to-High transition of the CS pin must occur during the SCK low time immediately
after clocking in the D0 (LSB) data bit.
The Ready/Busy status of the device can be determined 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 AT25128A/256A is capable of a 64-byte Page Write operation. After each byte of data is
received, the six low order address bits are internally incremented by one; the high order bits of
the address will remain constant. If more than 64 bytes of data are transmitted, the address
counter will roll over and the previously written data will be overwritten. The AT25128A/256A is
automatically returned to the write disable state at the completion of a Write cycle.
NOTE: If the device is not write enabled (WREN), the device will ignore the Write instruction
and will return to the standby state, when CS is brought high. A new CS falling edge is required
to re-initiate the serial communication.
11
3368J–SEEPR–06/07
4. Timing Diagrams (for SPI Mode 0 (0, 0))
Figure 4-1. Synchronous Data Timing
tCS
VIH
CS
VIL
tCSS tCSH
VIH
SCK tWH tWL
VIL
tSU tH
VIH
SI VALID IN
VIL
tV tHO tDIS
VOH
SO HI-Z HI-Z
VOL
12 AT25128A_256A
3368J–SEEPR–06/07
AT25128A_256A
CS
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
SCK
SI INSTRUCTION
DATA OUT
HIGH IMPEDANCE
SO 7 6 5 4 3 2 1 0
MSB
13
3368J–SEEPR–06/07
Figure 4-6. READ Timing
CS
tCD tCD
SCK
tHD
tHD
HOLD
tHZ
SO
tLZ
14 AT25128A_256A
3368J–SEEPR–06/07
AT25128A_256A
Package Type
8P3 8-lead, 0.300" Wide, Plastic Dual In-line Package (PDIP)
8S1 8-lead, 0.150" Wide, Plastic Gull Wing Small Outline Package (JEDEC SOIC)
8S2 8-lead, 0.200" Wide, Plastic Gull Wing Small Outline Package (EIAJ SOIC)
8A2 8-lead, 4.4 mm Body, Thin Shrink Small Outline Package (TSSOP)
8Y7 8-lead, 6.00 mm x 4.90 mm Body, Ultra Thin, Dual Footprint, Non-leaded, Small Array Package (SAP)
Options
2.7 Low-voltage (2.7V to 5.5V)
15
3368J–SEEPR–06/07
AT25256A Ordering Information(1)
Ordering Code Package Operation Range
(2) 8P3
AT25256A-10PU-2.7
AT25256A-10PU-1.8(2) 8P3
AT25256AN-10SU-2.7(2) 8S1
AT25256AN-10SU-1.8(2) 8S1
Lead-free/Halogen-free/
AT25256AW-10SU-2.7(2) 8S2
Industrial Temperature
AT25256AW-10SU-1.8(2) 8S2
(40C to 85C)
AT25256A-10TU-2.7(2) 8A2
AT25256A-10TU-1.8(2) 8A2
AT25256AU2-10UU-1.8(2) 8U2-1
AT25256AY7-10YH-1.8(2) 8Y7
Industrial Temperature
AT25256A-W1.8-11(3) Die Sale
(40C to 85C)
Notes: 1. For 2.7V devices used in the 4.5V to 5.5V range, please refer to performance values in the AC and DC Characteristics
tables.
2. “U” designates Green package + RoHS compliant.
3. Available in waffle pack and wafer form; order as SL788 for wafer form. Bumped die available upon request. Please contact
Serial Interface Marketing.
Package Type
8P3 8-lead, 0.300" Wide, Plastic Dual In-line Package (PDIP)
8S1 8-lead, 0.150" Wide, Plastic Gull Wing Small Outline Package (JEDEC SOIC)
8S2 8-lead, 0.200" Wide, Plastic Gull Wing Small Outline Package (EIAJ SOIC)
8A2 8-lead, 4.4 mm Body, Thin Shrink Small Outline Package (TSSOP)
8Y7 8-lead, 6.00 mm x 4.90 mm Body, Ultra Thin, Dual Footprint, Non-leaded, Small Array Package (SAP)
Options
2.7 Low-voltage (2.7V to 5.5V)
16 AT25128A_256A
3368J–SEEPR–06/07
AT25128A_256A
6. Packaging Information
8P3 – PDIP
1
E
E1
Top View c
eA
End View
COMMON DIMENSIONS
D (Unit of Measure = inches)
e
D1 SYMBOL MIN NOM MAX NOTE
A2 A
A – – 0.210 2
A2 0.115 0.130 0.195
b 0.014 0.018 0.022 5
b2 0.045 0.060 0.070 6
b3 0.030 0.039 0.045 6
c 0.008 0.010 0.014
D 0.355 0.365 0.400 3
b2 L D1 0.005 – – 3
b3 E 0.300 0.310 0.325 4
4 PLCS b E1 0.240 0.250 0.280 3
e 0.100 BSC
Side View
eA 0.300 BSC 4
L 0.115 0.130 0.150 2
Notes: 1. This drawing is for general information only; refer to JEDEC Drawing MS-001, Variation BA, for additional information.
2. Dimensions A and L are measured with the package seated in JEDEC seating plane Gauge GS-3.
3. D, D1 and E1 dimensions do not include mold Flash or protrusions. Mold Flash or protrusions shall not exceed 0.010 inch.
4. E and eA measured with the leads constrained to be perpendicular to datum.
5. Pointed or rounded lead tips are preferred to ease insertion.
6. b2 and b3 maximum dimensions do not include Dambar protrusions. Dambar protrusions shall not exceed 0.010 (0.25 mm).
01/09/02
TITLE DRAWING NO. REV.
2325 Orchard Parkway 8P3, 8-lead, 0.300" Wide Body, Plastic Dual
8P3 B
R San Jose, CA 95131 In-line Package (PDIP)
17
3368J–SEEPR–06/07
8S1 – JEDEC SOIC
E E1
N L
Ø
TOP VIEW
END VIEW
e b
A COMMON DIMENSIONS
(Unit of Measure = mm)
Note: These drawings are for general information only. Refer to JEDEC Drawing MS-012, Variation AA for proper dimensions, tolerances, datums, etc.
3/17/05
TITLE DRAWING NO. REV.
1150 E. Cheyenne Mtn. Blvd. 8S1, 8-lead (0.150" Wide Body), Plastic Gull Wing
Colorado Springs, CO 80906 Small Outline (JEDEC SOIC) 8S1 C
R
18 AT25128A_256A
3368J–SEEPR–06/07
AT25128A_256A
E E1
N L
Top View ∅
End View
e b COMMON DIMENSIONS
A (Unit of Measure = mm)
Notes: 1. This drawing is for general information only; refer to EIAJ Drawing EDR-7320 for additional information.
2. Mismatch of the upper and lower dies and resin burrs are not included.
3. It is recommended that upper and lower cavities be equal. If they are different, the larger dimension shall be regarded.
4. Determines the true geometric position.
5. Values b and C apply to pb/Sn solder plated terminal. The standard thickness of the solder layer shall be 0.010 +0.010/−0.005 mm.
10/7/03
TITLE DRAWING NO. REV.
2325 Orchard Parkway 8S2, 8-lead, 0.209" Body, Plastic Small
San Jose, CA 95131 8S2 C
R
Outline Package (EIAJ)
19
3368J–SEEPR–06/07
8U2-1 – dBGA2
A1
A2
Top View
A
2 1
A
B
e
C
D
(e1)
6/24/03
TITLE DRAWING NO. REV.
1150 E. Cheyenne Mtn. Blvd. 8U2-1, 8-ball, 2.35 x 3.73 mm Body, 0.75 mm pitch,
R Colorado Springs, CO 80906 Small Die Ball Grid Array Package (dBGA2) PO8U2-1 A
20 AT25128A_256A
3368J–SEEPR–06/07
AT25128A_256A
8A2 – TSSOP
3 2 1
Pin 1 indicator
this corner
E1 E
L1
N
L
Top View End View
COMMON DIMENSIONS
(Unit of Measure = mm)
Notes: 1. This drawing is for general information only. Refer to JEDEC Drawing MO-153, Variation AA, for proper dimensions, tolerances,
datums, etc.
2. Dimension D does not include mold Flash, protrusions or gate burrs. Mold Flash, protrusions and gate burrs shall not exceed
0.15 mm (0.006 in) per side.
3. Dimension E1 does not include inter-lead Flash or protrusions. Inter-lead Flash and protrusions shall not exceed 0.25 mm
(0.010 in) per side.
4. Dimension b does not include Dambar protrusion. Allowable Dambar protrusion shall be 0.08 mm total in excess of the
b dimension at maximum material condition. Dambar cannot be located on the lower radius of the foot. Minimum space between
protrusion and adjacent lead is 0.07 mm.
5. Dimension D and E1 to be determined at Datum Plane H. 5/30/02
TITLE DRAWING NO. REV.
2325 Orchard Parkway 8A2, 8-lead, 4.4 mm Body, Plastic
8A2 B
R San Jose, CA 95131 Thin Shrink Small Outline Package (TSSOP)
21
3368J–SEEPR–06/07
8Y7 – UTSAP
PIN 1 ID
D1
D
E1
E A1
b e
e1
A
COMMON DIMENSIONS
(Unit of Measure = mm)
10/13/05
TITLE DRAWING NO. REV.
1150 E. Cheyenne Mtn. Blvd. 8Y7, 8-lead (6.00 x 4.90 mm Body) Ultra-Thin SOIC Array
Colorado Springs, CO 80906 8Y7 B
R
Package (UTSAP) Y7
22 AT25128A_256A
3368J–SEEPR–06/07
AT25128A_256A
Revision History
23
3368J–SEEPR–06/07
Headquarters International
Product Contact
Literature Requests
www.atmel.com/literature
Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any
intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDI-
TIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY
WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDEN-
TAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF
THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no
representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications
and product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided
otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel’s products are not intended, authorized, or warranted for use
as components in applications intended to support or sustain life.
©2007 Atmel Corporation. All rights reserved. Atmel ®, logo and combinations thereof, and others, are registered trademarks or trademarks of
Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others.
3368J–SEEPR–06/07