Microchip Technology

ATMEGA325P-20MU - 8-bit AVR MCU 32KB 20MHz 64-QFN | Microchip

MPN: ATMEGA325P-20MU βœ“ Active
In Stock Ships in 1-3 business days
1.8 V to 5.5 V Vdss 64-VFQFN Exposed Pad (9x9 mm) Package 20 MHz Speed 32 KB (16K x 16) Memory
From $2.21 USD / Unit
MOQ: 1 |
Price updated: 2026-09-17
Volume Pricing
Qty Unit Price Extended
1 $3.42 $3.42
10 $3.08 $30.80
100 $2.74 $274.00
500 $2.48 $1,240.00
1,000 $2.21 $2,210.00
ℹ️ All prices are in USD

ATMEGA325P-20MU Overview

The Microchip Technology ATMEGA325P-20MU is a picoPower 8-bit AVR RISC microcontroller with 32 KB self-programming Flash, 2 KB SRAM, 1 KB EEPROM, and 20 MIPS throughput at 20 MHz, housed in a 64-pin VFQFN (9x9 mm) package with exposed pad.

A microcontroller unit (MCU) is a single-chip computer that integrates a processor core, program memory, data memory, and peripherals such as ADCs, timers, and communication interfaces. Within the semiconductor hierarchy, the ATmega325P belongs to the AVR ATmega family of 8-bit MCUs, positioned above small AVR tinyAVR parts and below 32-bit ARM-based MCUs in complexity, and serves as the central control element in embedded systems.

Key features include an advanced RISC architecture with 131 powerful instructions, most executing in a single clock cycle; an 8-channel 10-bit ADC; a JTAG interface for on-chip debugging; and In-Circuit Serial Programming (ICSP) for field updates. The picoPower technology delivers low active and sleep current, making the P-variant more efficient than the earlier non-P ATmega325.

Technically, the ATmega325P executes up to 20 MIPS at 20 MHz, and the -20 speed suffix requires a 4.5 V to 5.5 V supply, while the wider AVR ATmega family supports 1.8 V to 5.5 V operation at reduced clock rates. Self-programming Flash enables bootloaders, and 1024 bytes of EEPROM retain calibration data through power cycles.

Typical applications include industrial control panels, consumer appliance control, sensor data loggers, and low-cost instrumentation where a 5 V logic environment and mature AVR tooling are preferred.

For design, remember that a 20 MHz clock requires the 5 V supply range; below 4.5 V the maximum safe clock frequency drops, so derate the crystal accordingly. Use the JTAG header or MPLAB SNAP for on-chip debug during development.

This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet.

Drop-in alternatives for ATMEGA325P-20MU β€” same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Variants in this series

Same-series models that are drop-in compatible with ATMEGA325P-20MU (same form factor and footprint) β€” differing in EEPROM, Package.

Microchip Technology
EEPROM: 1 KB
Package: 64-QFN (9x9 mm) Exposed Pad / 64-VFQFN
Compare with ATMEGA325P-20MU β†’

Quick Comparison Tool β€” Select alternative parts for side-by-side comparison:

ATMEGA325PA-20MU

βœ… Drop-In
πŸ“¦ 64-VFQFN (9x9 mm)
picoPower A-variant, lower active/sleep current, identical 32KB Flash / 2KB SRAM / 1KB EEPROM and 64-VFQFN footprint

πŸ“‹ Reference alternative (not in catalog)

ATMEGA325P-20MUR

βœ… Drop-In
Microchip Technology
πŸ“¦ 64-VFQFN (9x9 mm)
AVR Β· 8-Bit Β· 20 MHz Β· 32 KB (16K x 16) Β· 2 KB Β· 1 KB Β· 1.8 V to 5.5 V Β· picoPower, Brown-out Detect/Reset, POR, PWM, WDT

βœ“ In Stock

$2.86 / Unit

View Datasheet β†’

ATMEGA325P-20MI

βœ… Drop-In ⚠️ 参数待ιͺŒθ―
πŸ“¦ 64-VFQFN (9x9 mm)
industrial temperature grade variant of the same 20 MHz picoPower die, same pin map

πŸ“‹ Reference alternative (not in catalog)

ATMEGA325-20MU

βœ… Drop-In ⚠️ 参数待ιͺŒθ―
πŸ“¦ 64-VFQFN (9x9 mm)
non-picoPower predecessor, higher power consumption, same memory/package/pinout

πŸ“‹ Reference alternative (not in catalog)

ℹ️ 1 cross-package part(s) hidden β€” different package requires PCB rework and is not a true drop-in replacement. Contact us if you need cross-package suggestions.

ATMEGA325P-20MU Maximum Ratings & Electrical Characteristics

Core Architecture AVR 8-bit RISC
Core Size 8-bit
Maximum Clock Frequency 20 MHz
Throughput 20 MIPS at 20 MHz
Flash Program Memory 32 KB (16K x 16)
SRAM 2 KB
EEPROM 1 KB (1024B)
Supply Voltage Range (family) 1.8 V to 5.5 V
Supply Voltage Range (20 MHz grade) 4.5 V to 5.5 V
ADC 8-channel 10-bit
Debug / Programming Interface JTAG, ICSP
Package 64-VFQFN Exposed Pad (9x9 mm)
Mounting Type Surface Mount
Programming Features Self-programming Flash, In-System Programmable
Instruction Set 131 instructions, mostly single-cycle
Lifecycle Status ACTIVE

ATMEGA325P-20MU 64-vfqfn exposed pad (9x9 mm) Pin Configuration Guide

Pin configuration for ATMEGA325P-20MU (64-vfqfn exposed pad (9x9 mm) package). This digital IC includes GPIO, communication interfaces (UART, SPI, I2C), and power pins. Refer to the manufacturer datasheet for alternate pin functions and configuration options. Essential for embedded system design and PCB layout.

64-vfqfn exposed pad (9x9 mm) package pinout diagram for ATMEGA325P-20MU

No detailed pinout data available for ATMEGA325P-20MU.

Refer to the datasheet for full pin configuration.

Typical Applications

ATMEGA325P-20MU is suitable for 6 applications: Industrial Control Panels, Sensor Data Loggers, Consumer Appliance Control, Low-Cost Instrumentation, Automotive Aftermarket & Accessory Modules, LED Lighting Controllers.

🏭

Industrial Control Panels

The ATMEGA325P-20MU fits industrial control panels because its 4.5 V to 5.5 V supply range matches legacy 5 V industrial logic, and 20 MIPS throughput handles state machines, relay sequencing, and HMI polling with margin. The 8-channel 10-bit ADC digitizes potentiometers, current-shunt signals, and temperature sensors directly, while 1 KB EEPROM stores calibration and trip-limit data across power cycles. JTAG on-chip debugging accelerates firmware bring-up on panel prototypes. Placed as the main controller with ICSP header for field firmware updates, the device runs reliably from unregulated industrial supplies after simple linear or buck regulation; its exposed-pad VFQFN aids heat spreading in sealed enclosures.

🧩

Sensor Data Loggers

For battery-backed data loggers, the ATMEGA325P-20MU's picoPower sleep modes and 1 KB EEPROM allow periodic sampling with data retention. The 8-channel 10-bit ADC multiplexes multiple analog sensors without external front-ends, and 2 KB SRAM buffers logged records before writing to external EEPROM or SD media over SPI. Designers typically run the part from 2x AA cells through a boost regulator, waking on timer or pin-change interrupt, sampling, then sleeping to cut average current. Note that the 20 MHz grade requires 5 V, so loggers running below 4.5 V should derate clock speed per the AVR frequency-voltage curve. Self-programming Flash supports field-updatable logging firmware in deployed units.

πŸ”§

Consumer Appliance Control

White goods and small appliances use the ATMEGA325P-20MU as the main control MCU because its 5 V operation, 32 KB Flash, and rich timer set cover motor timing, user-interface scanning, and safety interlock logic in one chip. The 64-pin VFQFN provides enough I/O to drive seven-segment displays, relays, and touch keys simultaneously without port expanders, reducing BOM cost. Firmware benefits from 131 mostly single-cycle AVR instructions for deterministic button-scan and PWM loops. The JTAG interface supports production-line programming and in-circuit diagnosis, while self-programming Flash allows service-bootloader updates. Its active lifecycle status ensures long-term availability for multi-year appliance programs.

πŸ”¬

Low-Cost Instrumentation

Bench and portable instruments exploit the ATMEGA325P-20MU's deterministic 8-bit core and integrated peripherals to replace discrete glue logic. The 10-bit ADC with 8 input channels captures front-panel settings and measurement channels, while hardware timers generate precise gate windows and PWM reference signals. With 20 MHz operation at 5 V, the MCU delivers timing resolution of 50 ns per cycle for counter and frequency-meter functions. The JTAG port allows engineers to single-step measurement firmware during calibration, and EEPROM retains gain and offset constants between sessions. The exposed-pad 9x9 mm VFQFN keeps the controller compact on crowded analog boards without sacrificing routability.

πŸš—

Automotive Aftermarket & Accessory Modules

In non-safety automotive accessory modules such as lighting controllers, window retrofit kits, and gauge adapters, the ATMEGA325P-20MU provides robust 5 V control tolerant of automotive 12 V rails after a simple regulator, with the industrial-temperature ATMEGA325P-20MI grade available for harsher cabin and engine-bay environments. Its ADC reads potentiometer and sensor feedback, timers drive lamp PWM dimming, and EEPROM stores learned vehicle configurations. The 64-pin footprint supplies ample I/O for CAN-toolι™„δ»Ά or discrete signaling, and ICSP supports end-of-line flashing. Note that the standard ATmega325P is not AEC-Q100 qualified, so certified automotive programs must use qualified Microchip automotive AVR parts instead.

πŸ’‘

LED Lighting Controllers

Dimmable LED drivers and smart-lamp controllers use the ATMEGA325P-20MU's hardware timers to generate phase-cut or PWM dimming signals with 50 ns cycle resolution at 20 MHz. The 10-bit ADC samples dimmer potentiometers, ambient-light sensors, and current-shunt feedback for closed-loop brightness regulation, while the 5 V logic simplifies interfacing with triac driver optocouplers. With 32 KB Flash, the MCU implements smooth gamma-corrected fading curves, DALI-like protocol handlers, and temperature foldback protection in a single chip. PicoPower sleep modes keep standby power low for always-plugged fixtures. The VFQFN exposed pad grounds the controller thermal path, improving reliability in enclosed, passively cooled lamp housings.

What is the ATMEGA325P-20MU microcontroller?
The ATMEGA325P-20MU is a Microchip Technology picoPower 8-bit AVR RISC microcontroller with 32 KB self-programming Flash, 2 KB SRAM, 1 KB EEPROM, and an 8-channel 10-bit ADC, delivering up to 20 MIPS at 20 MHz. It is supplied in a 64-pin VFQFN package with exposed pad and supports JTAG on-chip debugging and ICSP programming.
What is the price of ATMEGA325P-20MU?
Pricing for the ATMEGA325P-20MU typically starts around USD 3.42 for single units, dropping to roughly USD 2.21 at 1000-piece volumes as of 2026-09-17. Exact distributor pricing at DigiKey, Mouser, or XAIPART varies with stock and reel quantity, so request a quote for volume orders and confirm current stock before committing a BOM.
Where to buy ATMEGA325P-20MU online?
You can buy the ATMEGA325P-20MU from authorized distributors including DigiKey, Mouser, and XAIPART. DigiKey lists it under Microcontrollers as an AVR ATmega IC, 8-bit, 20 MHz, 32 KB Flash, 64-QFN (9x9). For production volumes, XAIPART offers quote-based purchasing with lead-time confirmation, which is advisable since AVR demand can cause distributor stock fluctuations.
What supply voltage does the ATMEGA325P-20MU need at 20 MHz?
At the full 20 MHz clock speed, the ATMEGA325P-20MU requires a 4.5 V to 5.5 V supply per the AVR speed-grade rules. Although the wider ATmega family supports 1.8 V to 5.5 V operation, the -20 (20 MHz) suffix is only rated for the 5 V range; if your system runs at 3.3 V, choose a lower speed grade such as the V-series parts.
What is the difference between ATMEGA325P-20MU and ATMEGA325-20MU?
The ATMEGA325P-20MU is the picoPower version of the ATMEGA325-20MU, offering lower power consumption in active and sleep modes while keeping the same 32 KB Flash, 2 KB SRAM, 1 KB EEPROM, 20 MHz clock, and 64-VFQFN package. The two are pin-compatible and code-compatible, so the P-variant is generally a drop-in upgrade for power-sensitive designs.
What is the difference between ATMEGA325P-20MU and ATMEGA329P-20MU?
Both are picoPower AVR MCUs with 32 KB Flash in similar packages, but the ATMEGA329P-20MU integrates an LCD controller for segment-driving applications, while the ATMEGA325P-20MU instead offers a standard general-purpose I/O set with an 8-channel 10-bit ADC. Choose the ATmega329P for battery LCD products and the ATmega325P for general control tasks without LCD glass.
When should I choose ATMEGA325P-20MU over ATMEGA324P?
Choose the ATMEGA325P-20MU when your design needs JTAG on-chip debugging and the larger 64-pin I/O count of the 9x9 mm VFQFN, since the ATMEGA324P in smaller packages offers fewer I/O and a different debug path. If board space or cost favors 44-pin TQFP and you can debug over debugWIRE/ISP, the ATmega324P family is a valid alternative with the same core performance.
What is the best drop-in replacement for ATMEGA325P-20MU?
The best drop-in replacement is the ATMEGA325PA-20MU, the picoPower A-variant, which shares the same 64-VFQFN footprint, 32 KB Flash, 2 KB SRAM, and 20 MHz rating with even lower active current. The ATMEGA325P-20MUR is the identical die in tape-and-reel packaging for automated assembly. Both require no PCB or firmware changes in typical designs.
Where to download the ATMEGA325P-20MU datasheet PDF?
Download the ATMEGA325P-20MU datasheet PDF from the official Microchip product page at microchip.com/en-us/product/ATmega325P, which hosts the current document titled 8-bit Microcontroller with 32K Bytes In-System Programmable Flash. Avoid third-party mirrors such as alldatasheet or datasheetq for revision-critical work, since Microchip's site always carries the latest errata and revision data.
Where can I find the ATMEGA325P-20MU pinout?
The complete 64-pin pinout for the ATMEGA325P-20MU VFQFN is given in the pin configuration section of the Microchip ATmega325P datasheet, including power, ground, JTAG (TCK, TMS, TDO, TDI), crystal (XTAL1/XTAL2), reset, and port assignments. Because a 64-pad QFN layout is error-prone, always verify against the official datasheet figure before routing your PCB.
Is ATMEGA325P-20MU still in production and active?
Yes, the ATMEGA325P-20MU has an ACTIVE lifecycle status according to lifecycle data published with its specifications, and Microchip continues to list the ATmega325P family on its product pages. It is not marked obsolete or last-time-buy, so new designs may adopt it, though checking distributor stock at DigiKey or Mouser before design-in is still recommended for volume projects.
Is ATMEGA325P-20MU RoHS compliant and lead-free?
The ATMEGA325P-20MU is supplied as a lead-free, RoHS-compliant surface-mount device, as is standard for current Microchip AVR production, though you should confirm the RoHS certificate on the Microchip product page for your specific date code. Halogen-free status is not stated in the source data for this part, so verify compliance documentation directly with Microchip for regulatory-critical programs.
What are the key specifications of ATMEGA325P-20MU engineers should know?
Engineers should know these ATMEGA325P-20MU facts: 8-bit AVR RISC core, 20 MHz maximum clock (20 MIPS), 32 KB self-programming Flash, 2 KB SRAM, 1 KB EEPROM, 8-channel 10-bit ADC, JTAG on-chip debug, ICSP programming, 4.5 V to 5.5 V supply at the 20 MHz speed grade, in a 64-VFQFN 9x9 mm exposed-pad package. These parameters define its fit in 5 V industrial and control applications.
Hey Google, what can replace ATMEGA325P-20MU?
The closest replacements for the ATMEGA325P-20MU are same-family Microchip parts: ATMEGA325PA-20MU (lower power, same footprint), ATMEGA325P-20MUR (reel packaging of the identical die), and ATMEGA325P-20MI (industrial temperature grade). All share the 64-VFQFN footprint and pin map, making them true drop-in swaps. Cross-brand pin-compatible AVR equivalents are not published in the verified cross-reference data for this part.
How do I program and debug the ATMEGA325P-20MU?
You program the ATMEGA325P-20MU via In-Circuit Serial Programming (ICSP) using tools such as the MPLAB SNAP, which connects through an 8-pin SIL header using two device I/O pins plus reset, per Microchip documentation. On-chip debugging is available over the JTAG interface (TCK, TMS, TDI, TDO), enabling breakpoints and register inspection without external emulators, which shortens firmware bring-up time considerably.
Can I run the ATMEGA325P-20MU from a 3.3V supply?
Not at 20 MHz. The -20 speed grade of the ATmega325P requires a 4.5 V to 5.5 V supply, while the ATmega family's 1.8 V to 5.5 V range applies only at correspondingly lower clock frequencies. For 3.3 V systems, either select an ATmega325V-class part rated for low-voltage low-speed operation or reduce your clock well below 20 MHz per the AVR frequency-versus-voltage curve in the datasheet.
What is the best Microchip equivalent for ATMEGA325P-20MU in low-power designs?
For lower power, the best Microchip equivalent is the ATMEGA325PA-20MU, which uses picoPower technology improvements to cut active and sleep currents versus the P-version while remaining pin-compatible in the same 64-VFQFN package with identical memory (32 KB Flash, 2 KB SRAM, 1 KB EEPROM) and the 20 MHz rating, so firmware and layout carry over without modification.

Engineering reference data for ATMEGA325P-20MU β€” comparison, design guidance, and compliance information.

Selection Guide

Choose ATMEGA325P-20MU when you need a 5 V, 20 MHz, 8-bit AVR with 32 KB Flash, JTAG debugging, and the I/O density of a 64-pin VFQFN at distributor pricing around USD 3 as of 2026-09-17 - typical for industrial panels, appliances, and instrumentation. Choose ATMEGA325PA-20MU instead if battery life or standby power dominates; it is the same footprint with lower current. Choose ATMEGA325P-20MUR for automated assembly reel sourcing, or ATMEGA325P-20MI for industrial temperature environments. Avoid this part for 3.3 V systems (use V-series ATmega at lower clocks) and for AEC-Q100-certified automotive designs (use automotive AVR parts such as ATmega16M1). If firmware will exceed 32 KB, plan an ATmega2561-class upgrade path early. No verified cross-brand pin-compatible equivalents exist, so same-family sourcing is the safe strategy.

Comparison with Alternatives

Parameter This Product ATMEGA325PA-20MU ATMEGA325P-20MUR ATMEGA325P-20MI ATMEGA325P-20AU
Package 64-VFQFN (9x9 mm) exposed pad 64-VFQFN (9x9 mm) - same 64-VFQFN (9x9 mm) - same 64-VFQFN (9x9 mm) - same TQFP-64 - different footprint
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Flash Memory 32 KB 32 KB 32 KB 32 KB 32 KB
SRAM 2 KB 2 KB 2 KB 2 KB 2 KB
Max Clock Speed 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz
Power Technology picoPower (P) picoPower A - lowest power picoPower (P) picoPower (P) standard (higher power)
Debug Interface JTAG + ICSP JTAG + ICSP JTAG + ICSP JTAG + ICSP JTAG + ICSP
Lifecycle Status ACTIVE ACTIVE ACTIVE ACTIVE ACTIVE

Key Differentiators

  • Lowest power in the 32 KB 64-QFN ATmega family (vs ATMEGA325-20MU)
  • JTAG on-chip debug on a sub-4 USD MCU (vs ATMEGA324P-20AUR)
  • Even lower power A-variant available with zero redesign (vs ATMEGA325PA-20MU)
  • Trade-off: no AEC-Q100 qualification (vs ATMEGA16M1-15MD)

Design Notes

The ATMEGA325P-20MU operates at full 20 MHz only from a 4.5 V to 5.5 V supply. If your rail sags below 4.5 V during inrush or brownout, the AVR may overclock relative to its rating and corrupt execution. Add a supply monitor or brown-out detector (the AVR internal BOD can be fused on) and verify the 5 V rail under worst-case load. For 3.3 V systems, switch to a low-voltage V-series ATmega with a reduced clock instead of forcing this speed grade.

The 64-VFQFN exposed pad is the primary ground and thermal path. Solder the center pad to a grounded copper pour with an array of thermal vias - do not leave it floating, as QFN center pads are prone to incomplete wetting with excessive paste. Use a window-pane stencil covering roughly 50-70% of the pad area. Decouple VCC and AVCC each with 100 nF ceramics placed within 2 mm of the pins, plus 10 uF bulk at the supply entry.

Route XTAL1/XTAL2 crystal traces short (under 10 mm) and guard them with ground pour to keep the 20 MHz oscillator stable against switching noise from the ADC and outputs. Keep analog sensor traces away from the crystal and PWM outputs, and connect AGND/DGND at a single point near the exposed pad. If JTAG is used in production for boundary scan or debug, reserve the four JTAG pins with 100-ohm series resistors to protect them from contention.

Two frequent errors with this part: first, assuming the family 1.8 V to 5.5 V range applies at 20 MHz - it does not; the -20 grade needs 5 V. Second, forgetting that JTAG pins overlap general-purpose I/O: if your firmware expects full port width, disable JTAG via fuse after production programming, otherwise PC port pins remain unavailable. Also verify EEPROM wear leveling if logs write every second - 1 KB EEPROM endurance is finite.

Compliance Information

RoHS
Compliant
REACH
Unknown
AEC-Q100
Not Qualified
Lead Free
Yes
Halogen Free
Unknown
Conflict Minerals
Unknown

RoHS/lead-free per current Microchip AVR production standards; confirm certificate on the Microchip product page. REACH, halogen-free, and conflict-minerals status not stated in provided data.

Data verified on: 2026-09-17 β€” data verified and curated by XAIPART's component engineering team

Related Searches

ATMEGA325P-20MU datasheet PDF ATMEGA325P-20MU price buy Microchip ATMEGA325P-20MU 64-QFN microcontroller ATMEGA325P-20MU pinout 64 pin VFQFN ATMEGA325P-20MU vs ATMEGA325PA-20MU difference ATMEGA325P-20MU drop-in replacement equivalent 8-bit AVR microcontroller 32KB flash 20MHz JTAG ATMEGA325P-20MU industrial control application ATmega325P supply voltage 20 MHz 5V is ATMEGA325P-20MU still in production ATMEGA325P-20MU stock availability lead time how to program ATMEGA325P-20MU JTAG ICSP

Related Components & Terms

Microchip Technology ATMEGA325P-20MU ATMEGA325PA-20MU ATMEGA325P-20MUR ATMEGA329P-20MU ATmega325P AVR 8-bit microcontroller MCU picoPower RISC architecture JTAG ICSP 64-VFQFN QFN package family surface mount 10-bit ADC self-programming Flash EEPROM MPLAB SNAP RoHS industrial control sensor data logging LED lighting control
Quick Quote RFQ
Fill in complete details β€” our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
βœ“
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details