Microchip Technology AT25040B-MAHL-E
- Part No.:
- AT25040B-MAHL-E
- Manufacturer:
- Microchip Technology
- Category:
- Memory
- Package:
- 8-UFDFN Exposed Pad
- Datasheet:
-
AT25040B-MAHL-E.pdf
- Description:
- IC EEPROM 4KBIT SPI 20MHZ 8UDFN
- Quantity:
- Payment:

- Shipping:

Inventory:14,678
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
AT25040B-MAHL-E from Microchip Technology is a 4-Kbit SPI Serial EEPROM (512 × 8) with industrial-grade operation (−40°C to +85°C), 1.8V–5.5V supply range, and 20 MHz max clock rate at 5V. It features hardware/software write protection, 8-byte page write mode, and self-timed write cycles ≤5 ms - deployed in embedded control systems for firmware parameter storage and calibration data retention.
For engineers reviewing the AT25040B-MAHL-E datasheet, AT25040B-MAHL-E pinout, AT25040B-MAHL-E application, or AT25040B-MAHL-E equivalent, key selection criteria include SPI Mode 0/3 compatibility, VCC voltage scalability across 1.8–5.5V, block-level write protection granularity (1/4, 1/2, or full array), HOLD/CS-controlled suspend capability, and guaranteed 1M write cycles with 100-year data retention.
Technical Context
The AT25040B-MAHL-E implements a synchronous SPI slave interface with fixed MSB-first serial framing, rising-edge input sampling (SI), and falling-edge output latching (SO). Its internal architecture includes a nonvolatile STATUS register controlling BP1/BP0 block protection bits, WEL latch, and RDY/BSY flag - all accessible via dedicated opcodes (RDSR, WRSR, WREN).
It supports dual-voltage timing: AC characteristics scale with VCC (e.g., tWH = 20 ns @ 5V, 80 ns @ 1.8V), and power-up requires ≥100 µs stabilization post-VCC threshold (VPOR ≤1.5 V) before instruction acceptance. The HOLD pin suspends serial communication without resetting state, while WP pin disables writes independently of software enable status.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Memory Size | 4 Kbit (512 words × 8 bits) - supports firmware configuration storage in space-constrained microcontroller peripherals |
| Interface | SPI Mode 0 (CPOL=0, CPHA=0) and Mode 3 (CPOL=1, CPHA=1) - interoperable with most MCU SPI controllers without protocol translation |
| Supply Voltage | 1.8V to 5.5V - enables direct integration into mixed-voltage systems (e.g., 1.8V logic + 3.3V I/O rails) |
| Max Clock Rate | 20 MHz at VCC ≥4.5V - delivers 2.5 MB/s effective throughput for rapid parameter updates |
| Write Cycle Time | ≤5 ms (self-timed) - eliminates need for external polling delay; busy flag (RDY/BSY) indicates completion |
| Endurance & Retention | 1,000,000 write cycles / 100 years data retention at 55°C - validated for long-life industrial deployments |
| Write Protection | Hardware (WP pin) + software (STATUS register BP1/BP0) - enables layered security for critical configuration sectors |
Pinout & Package
AT25040B-MAHL-E is packaged in an 8-lead SOIC (Small Outline Integrated Circuit) with standard JEDEC MS-012AC footprint (5.3 mm × 4.4 mm, 1.27 mm pitch). This package supports reflow soldering per J-STD-020 and is RoHS-compliant.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| CS | Chip Select | Active-low enable: must be low before SCK edge to initiate command; pull-up resistor (≤10 kΩ) required for robust power-up behavior |
| SO | Serial Data Output | Tri-state output: data valid on falling SCK edge; high-impedance when CS high or HOLD active |
| WP | Write-Protect | Hardware lock: drives low to inhibit all write operations regardless of STATUS register or WEL state |
| GND | Ground Reference | System ground return path for VCC and all I/O; must be low-impedance connection to minimize noise coupling |
| SI | Serial Data Input | Command/address/data input: sampled on rising SCK edge; MSB-first framing required |
| SCK | Serial Clock Input | Master-generated clock: defines timing for SI sampling and SO output; idle polarity depends on SPI mode (0 or 3) |
| HOLD | Suspend Control | Pauses ongoing serial transfer without resetting state; requires SCK low during assertion/deassertion for reliable entry/exit |
| VCC | Power Supply | 1.8V–5.5V input: must ramp monotonically at ≤0.1 V/µs; POR circuit enforces 100 µs delay before first instruction |
Key Features
| Feature | Design Value |
|---|---|
| 8-byte page write mode | Reduces write time per byte by batching up to 8 bytes per internal cycle - improves efficiency over single-byte writes |
| Block write protection (BP1/BP0) | Configurable via STATUS register to lock 25%, 50%, or 100% of memory - prevents accidental overwrite of boot or calibration sectors |
| HOLD pin suspend function | Halts serial communication mid-transfer without losing context - enables priority interrupt handling in real-time systems |
| ESD tolerance >4 kV | Withstands human-body-model ESD events during board handling and system integration - reduces field failure risk |
| Green packaging | Lead-free, halide-free, RoHS-compliant SOIC - meets global environmental compliance requirements without derating |
Applications
| Industrial Sensor Calibration | Medical Device Configuration |
|---|---|
Use Scenario: Storing temperature-compensation coefficients and sensor offset values in factory-calibrated pressure transducers. IC Role / Device Role / Timing Role: Nonvolatile parameter storage accessed during power-on initialization and runtime correction routines. Use Value: Enables field-replaceable sensors with persistent calibration data across 100+ years - eliminating recalibration logistics. | Use Scenario: Holding user-defined therapy parameters and safety limits in portable infusion pumps. IC Role / Device Role / Timing Role: Secure configuration store with hardware write-lock (WP pin) preventing runtime corruption during battery swaps. Use Value: Meets IEC 62304 Class B software requirements via deterministic 5 ms write cycles and 1M endurance. |
| Automotive Body Control Module | Smart Energy Meter Firmware |
Use Scenario: Saving seat/mirror position presets and lighting profiles in 12V automotive BCMs operating down to −40°C. IC Role / Device Role / Timing Role: Low-voltage EEPROM interfaced to 3.3V microcontroller SPI bus with HOLD support for CAN message prioritization. Use Value: Guaranteed operation at 1.8V allows direct connection to MCU I/O without level-shifting - reducing BOM cost. | Use Scenario: Storing tariff schedules, metering logs, and cryptographic keys in utility-grade smart meters. IC Role / Device Role / Timing Role: Tamper-resistant storage with dual protection (WP pin + BP bits) against unauthorized firmware modification. Use Value: 100-year data retention ensures lifetime compliance with ANSI C12.22 and DLMS/COSEM standards. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar SPI EEPROM applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| M95040-DRMN6TP/K | 4-Kbit SPI EEPROM (512 × 8); same 1.8–5.5V range but rated for −40°C to +125°C; uses different STATUS register bit mapping for BP bits | Targeted at extended-temperature automotive under-hood use; lacks HOLD pin functionality | Select when ambient exceeds +85°C or HOLD is not required; verify BP bit compatibility in firmware |
| 25AA040AT-I/OT | 4-Kbit SPI EEPROM; identical pinout and command set; lower max clock (10 MHz at 5V) and no HOLD pin; rated −40°C to +85°C | Cost-optimized variant for non-real-time systems where suspend capability is unnecessary | Choose for price-sensitive designs without HOLD dependency; confirm timing margins for 10 MHz SCK in host controller |
Compared with M95040-DRMN6TP/K and 25AA040AT-I/OT, the AT25040B-MAHL-E uniquely combines HOLD functionality, 20 MHz speed at 5V, and consistent BP bit implementation across Microchip's AT25xxx-B family - simplifying firmware reuse and enabling deterministic interrupt handling in time-critical applications.
Availability
AT25040B-MAHL-E is available at Aetrix Electronics and suitable for industrial sensor calibration, medical device configuration, and automotive body control modules requiring stable component supply across extended temperature and voltage ranges.
Supply support for AT25040B-MAHL-E includes scheduled delivery planning, volume procurement assistance, BOM continuity management, traceable sourcing, and lifecycle availability coordination for OEM customers, industrial embedded developers, connected-device designers, and electronics production programs.
Manufacturer
Microchip Technology Inc. is a leading provider of microcontrollers, analog devices, and memory solutions, headquartered in Chandler, Arizona, with global design and manufacturing operations.
The AT25xxx-B family was designed specifically for reliable, low-power nonvolatile storage in resource-constrained embedded systems - emphasizing SPI interoperability, industrial temperature resilience, and long-term data integrity.
FAQ
What is the maximum SPI clock frequency supported by AT25040B-MAHL-E?
The AT25040B-MAHL-E supports up to 20 MHz SCK frequency when VCC is 4.5V–5.5V, 10 MHz at 2.5V–5.5V, and 5 MHz at 1.8V–5.5V. These graded timing specifications ensure robust signal integrity across its full 1.8V–5.5V operating range. All timing parameters - including tWH, tWL, and tSU - scale accordingly, as defined in Table 4-3 of the DS20006251A datasheet. The AT25040B-MAHL-E maintains full functionality across this range without configuration changes.
Does AT25040B-MAHL-E support both SPI Mode 0 and Mode 3?
Yes, AT25040B-MAHL-E explicitly supports SPI Modes 0 (CPOL=0, CPHA=0) and 3 (CPOL=1, CPHA=1). In both modes, data is latched on the rising edge of SCK and output on the falling edge. The only difference is SCK idle polarity: low in Mode 0, high in Mode 3. The AT25040B-MAHL-E requires matching SCK idle state before and after CS assertion. Mode 0 is used in all timing diagrams and recommended for new designs unless legacy compatibility dictates Mode 3.
How does the HOLD pin function during an active write cycle in AT25040B-MAHL-E?
The HOLD pin in AT25040B-MAHL-E has no effect on an ongoing internal write cycle - it only suspends serial communication (SI/SO/SCK interaction) while CS remains asserted. If a WRITE command has already triggered the self-timed 5 ms erase-program sequence, asserting HOLD will pause further instruction input but will not interrupt the write. The AT25040B-MAHL-E continues programming and sets RDY/BSY=0 upon completion. HOLD is therefore safe to use during background writes without data corruption risk.
What write protection mechanisms are implemented in AT25040B-MAHL-E?
AT25040B-MAHL-E provides dual-layer write protection: hardware-based via the WP pin (low = all writes disabled), and software-configurable via BP1/BP0 bits in the STATUS register (enabling 1/4, 1/2, or full array lock). WP overrides software settings - if WP is low, no write commands execute regardless of BP or WEL state. The AT25040B-MAHL-E also requires WREN instruction and WEL=1 for any write, adding a third logical gate. This three-tier scheme ensures robust defense against accidental or malicious overwrites.
Is AT25040B-MAHL-E pin-compatible with other members of the AT25xxx-B family?
Yes, AT25040B-MAHL-E shares identical pinout, package dimensions, and electrical interface with AT25010B and AT25020B in the same SOIC-8 package (MAHL-E). All three use the same CS/SO/WP/GND/SI/SCK/HOLD/VCC arrangement and command set. The only functional difference is memory size (1K/2K/4K), reflected in address bit usage (A8 is significant only in AT25040B). Firmware written for one can run on another with minor address-range adjustments - making AT25040B-MAHL-E a drop-in upgrade path.
AT25040B-MAHL-E Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Microchip Technology
- Series:
- -
- Package/Case:
- 8-UFDFN Exposed Pad
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Active
- Programmable:
- Not Verified
- Memory Type:
- Non-Volatile
- Memory Format:
- EEPROM
- Technology:
- EEPROM
- Memory Size:
- 4Kbit
- Memory Organization:
- 512 x 8
- Memory Interface:
- SPI
- Clock Frequency:
- 20 MHz
- Write Cycle Time - Word, Page:
- 5ms
- Access Time:
- -
- Voltage - Supply:
- 1.8V ~ 5.5V
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
- 8-UDFN (2x3)
AT25040B-MAHL-E FAQ
1.How can I place an order for AT25040B-MAHL-E through Aetrix?
Please submit a Request for Quotation (RFQ) for AT25040B-MAHL-E on Aetrix. Our sales agent will provide a competitive quotation and guide you through the order confirmation once you accept the terms.
2.Are the price and stock information for AT25040B-MAHL-E reliable?
The price and inventory of AT25040B-MAHL-E are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for AT25040B-MAHL-E is usually 5 days.
3.What payment methods are accepted for AT25040B-MAHL-E?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for AT25040B-MAHL-E transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for AT25040B-MAHL-E?
AT25040B-MAHL-E orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your AT25040B-MAHL-E order is processed, you will receive an email with the shipment details and tracking number.
Note: Tracking information may take up to 24 hours to appear. Express delivery typically takes 3–5 business days.
5.How can I obtain technical support or documentation for AT25040B-MAHL-E?
For technical support, including AT25040B-MAHL-E datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your AT25040B-MAHL-E requirements.
6.How does Aetrix verify that AT25040B-MAHL-E is sourced from the original manufacturer or authorized distributors?
All AT25040B-MAHL-E products on Aetrix are procured from qualified distributors and authorized channels. Our dedicated quality assurance team conducts strict verification, including traceability checks and, if necessary, third-party testing. This ensures that AT25040B-MAHL-E meets industry standards.
7.What is the process for return or replacement of AT25040B-MAHL-E?
All AT25040B-MAHL-E units undergo pre-shipment inspection (PSI). If there is an issue with AT25040B-MAHL-E, returns or replacements are accepted under the following conditions:
1.Quantity discrepancies, incorrect items, or visible external defects (such as breakage or corrosion), acknowledged by Aetrix.
2.The issue is reported within 90 days of delivery.
3.The AT25040B-MAHL-E part is unused and in its original packaging.
Return procedure for AT25040B-MAHL-E:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
AT25040B-MAHL-E Tags

-
M24C02-WMN6TP
STMicroelectronics
-
AT24C02C-XHM-T
Microchip Technology

-
AT21CS01-STUM10-T
Microchip Technology

-
AT24C02C-SSHM-T
Microchip Technology

-
24LC01BT-I/OT
Microchip Technology
-
M24C02-FMC6TG
STMicroelectronics

-
AT24CS02-SSHM-T
Microchip Technology

-
93LC46BT-I/OT
Microchip Technology

-
AT24C04C-SSHM-T
Microchip Technology

-
24LC01BT-I/SN
Microchip Technology

-
24AA02UIDT-I/OT
Microchip Technology

-
AT24C08C-STUM-T
Microchip Technology
Tech Hub
TTL and CMOS logic families differ in thresholds, loading, output drive, power and timing. This engineering guide compares 74HC and 74HCT, calculates noise margins and checks 3.3 V/5 V compatibility.
A practical engineering guide to 3.3V and 5V logic compatibility, input thresholds, resistor dividers, translator ICs, MOSFET level shifting, I2C pull-ups, timing limits and power-sequencing risks.
The 74HC595 uses push-pull logic outputs, while the TPIC6B595 uses 50 V open-drain DMOS sinks for higher-power loads. This guide compares timing, current limits, 3.3 V interfacing, load wiring, thermal…
The 74HC595 converts serial data into eight stable parallel outputs. This guide covers pin functions, shift and storage timing, OE and MR behavior, drive-current limits, cascading, voltage compatibilit…
A technical comparison of level-sensitive latches and edge-triggered flip-flops, covering timing windows, setup and hold limits, master–slave operation, time borrowing, race-through, HDL inference and…
A D latch stores one bit while Enable controls when data can pass. This reference covers gate-level operation, truth tables, transparency, setup and hold timing, LE versus OE, common ICs and practical …
An SR latch stores one bit through cross-coupled feedback. This engineering reference covers NOR and NAND implementations, truth tables, forbidden-state recovery, gated operation, switch debouncing, fa…
Latch circuits retain one bit through feedback. This technical reference covers SR and D latches, truth tables, transparency, timing limits, latch-versus-flip-flop behavior, applications and common log…
An engineering guide to LED driver operation, constant-current and constant-voltage outputs, linear and switching topologies, dimming, IC selection, calculations, replacement compatibility, and fault c…
Operational amplifier guide covering op amp basics, feedback, ideal vs real op amps, common configurations, buffer circuits, offset, bias current, gain-bandwidth, slew rate, rail-to-rail limits and sel…

