25AA040/25LC040/25C040: 4K Spi Bus Serial EEPROM
25AA040/25LC040/25C040: 4K Spi Bus Serial EEPROM
25XX040
Features SO 2 7 HOLD
25XX040
SO 2 7 HOLD
• 16 byte page
WP 3 6 SCK
• Write cycle time: 5 ms max.
• Self-timed ERASE and WRITE cycles VSS 4 5 SI
25XX040
• Built-in write protection VCC 2 7 SI
- Power on/off data protection circuitry 3 6
CS VSS
- Write enable latch
SO 4 5 WP
- Write-protect pin
• Sequential read
Block Diagram
• High reliability
- Endurance: 1M cycles Status
HV Generator
Register
- Data retention: > 200 years
- ESD protection: > 4000V
• 8-pin PDIP, SOIC, and TSSOP packages
• Temperature ranges supported:
- Industrial (I): -40°C to +85°C Memory EEPROM
- Automotive (E) (25C040): -40°C to +125°C I/O Control Array
Logic Control
Logic XDEC
Description Page
Latches
The Microchip Technology Inc. 25AA040/25LC040/
25C040 (25XX040*) is a 4 Kbit serial Electrically
Erasable PROM. The memory is accessed via a simple SI
Serial Peripheral Interface™ (SPI™) compatible serial SO Y Decoder
bus. The bus signals required are a clock input (SCK) CS
plus separate data in (SI) and data out (SO) lines. SCK
Access to the device is controlled through a Chip Sense Amp.
HOLD
Select (CS) input. R/W Control
WP
*25XX040 is used in this document as a generic part number VCC
for the 25AA040/25LC040/25C040 devices. SPI is a VSS
trademark of Motorola Corporation.
† NOTICE: Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to the
device. This is a stress rating only and functional operation of the device at those or any other conditions above those
indicated in the operational listings of this specification is not implied. Exposure to maximum rating conditions for an
extended period of time may affect device reliability
Param
Sym. Characteristic Min. Max. Units Test Conditions
No.
1 FCLK Clock Frequency — 3 MHz VCC = 4.5V to 5.5V
— 2 MHz VCC = 2.5V to 4.5V
— 1 MHz VCC = 1.8V to 2.5V
2 TCSS CS Setup Time 100 — ns VCC = 4.5V to 5.5V
250 — ns VCC = 2.5V to 4.5V
500 — ns VCC = 1.8V to 2.5V
3 TCSH CS Hold Time 150 — ns VCC = 4.5V to 5.5V
250 — ns VCC = 2.5V to 4.5V
475 — ns VCC = 1.8V to 2.5V
4 TCSD CS Disable Time 500 — ns —
5 TSU Data Setup Time 30 — ns VCC = 4.5V to 5.5V
50 — ns VCC = 2.5V to 4.5V
50 — ns VCC = 1.8V to 2.5V
6 THD Data Hold Time 50 — ns VCC = 4.5V to 5.5V
100 — ns VCC = 2.5V to 4.5V
100 — ns VCC = 1.8V to 2.5V
7 TR CLK Rise Time — 2 µs (Note 1)
8 TF CLK Fall Time — 2 µs (Note 1)
9 THI Clock High Time 150 — ns VCC = 4.5V to 5.5V
230 — ns VCC = 2.5V to 4.5V
475 — ns VCC = 1.8V to 2.5V
10 TLO Clock Low Time 150 — ns VCC = 4.5V to 5.5V
230 — ns VCC = 2.5V to 4.5V
475 — ns VCC = 1.8V to 2.5V
11 TCLD Clock Delay Time 50 — ns —
12 TCLE Clock Enable Time 50 — ns —
13 TV Output Valid from Clock Low — 150 ns VCC = 4.5V to 5.5V
— 230 ns VCC = 2.5V to 4.5V
— 475 ns VCC = 1.8V to 2.5V
14 THO Output Hold Time 0 — ns (Note 1)
15 TDIS Output Disable Time — 200 ns VCC = 4.5V to 5.5V (Note 1)
— 250 ns VCC = 2.5V to 4.5V (Note 1)
— 500 ns VCC = 1.8V to 2.5V (Note 1)
16 THS HOLD Setup Time 100 — ns VCC = 4.5V to 5.5V
100 — ns VCC = 2.5V to 4.5V
200 — ns VCC = 1.8V to 2.5V
17 THH HOLD Hold Time 100 — ns VCC = 4.5V to 5.5V
100 — ns VCC = 2.5V to 4.5V
200 — ns VCC = 1.8V to 2.5V
18 THZ HOLD Low to Output High-Z 100 — ns VCC = 4.5V to 5.5V (Note 1)
150 — ns VCC = 2.5V to 4.5V (Note 1)
200 — ns VCC = 1.8V to 2.5V (Note 1)
19 THV HOLD High to Output Valid 100 — ns VCC = 4.5V to 5.5V
150 — ns VCC = 2.5V to 4.5V
200 — ns VCC = 1.8V to 2.5V
20 TWC Internal Write Cycle Time — 5 ms —
21 — Endurance 1M — E/W (Note 2)
Cycles
Note 1: This parameter is periodically sampled and not 100% tested.
2: This parameter is not tested but ensured by characterization. For endurance estimates in a specific application, please
consult the Total Endurance™ Model which can be obtained from our web site: www.microchip.com.
CS
17 17
16 16
SCK
18 19
high-impedance
SO n+2 n+1 n n n-1
don’t care 5
SI n+2 n+1 n n n-1
HOLD
CS 12
2 11
7
Mode 1,1 8 3
SI MSB in LSB in
high-impedance
SO
CS
9 10 3
Mode 1,1
SCK Mode 0,0
13
15
14
don’t care
SI
CS
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
SCK
SI 0 0 0 0 A8 0 1 1 A7 6 5 4 3 2 1 A0 don’t care
data out
high-impedance
SO 7 6 5 4 3 2 1 0
CS
TWC
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
SCK
SI 0 0 0 0 A8 0 1 0 A7 6 5 4 3 2 1 A0 7 6 5 4 3 2 1 0
high-impedance
SO
CS
0 1 2 3 4 5 6 7 8 9 10 11 13 14 15 16 17 18 19 20 21 22 23 24
SCK
SI 0 0 0 0 A8 0 1 0 A7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
CS
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
SCK
SI 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
CS
0 1 2 3 4 5 6 7
SCK
SI 0 0 0 0 0 1 1 0
high-impedance
SO
CS
0 1 2 3 4 5 6 7
SCK
SI 0 0 0 0 0 1 10 0
high-impedance
SO
CS
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
SCK
instruction
SI 0 0 0 0 0 1 0 1
CS
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
SCK
SI 0 0 0 0 0 0 0 1 7 6 5 4 3 2 1 0
high-impedance
SO
XXXXXXXX 25AA040
XXXXXNNN I/PNNN
YYWW YYWW
XXXXXXXX 25AA040
XXXXYYWW I/SNYYWW
NNN NNN
XXXX 5A4X
XYWW IYWW
NNN NNN
Note: In the event the full Microchip part number cannot be marked on one line, it will
be carried over to the next line thus limiting the number of available characters
for customer specific information.
* Standard PICmicro device marking consists of Microchip part number, year code, week code, and
traceability code. For PICmicro device marking beyond this, certain price adders apply. Please check
with your Microchip Sales Office. For QTP devices, any special marking adders are included in QTP
price.
E1
n 1
A A2
L
c
A1
β B1
p
eB B
E1
D
2
B n 1
h α
45×
c
A A2
f
β L A1
E1
D
2
1
n
B
α
A
f A1 A2
β
L
From: Name
Company
Address
City / State / ZIP / Country
Telephone: (_______) _________ - _________ FAX: (______) _________ - _________
Application (optional):
Would you like a reply? Y N
Questions:
2. How does this document meet your hardware and software development needs?
3. Do you find the organization of this document easy to follow? If not, why?
4. What additions to the document do you think would enhance the structure and subject?
5. What deletions from the document could be made without affecting the overall usefulness?
• Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
• There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip's Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
• Microchip is willing to work with the customer who is concerned about the integrity of their code.
• Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.