Microchip Technology

ATMEGA323L-4PC - 8-bit AVR MCU 32KB Flash 4MHz DIP-40 | Microchip

MPN: ATMEGA323L-4PC ✗ End of Life
In Stock Ships in 1-3 business days
2.7 V to 5.5 V Vdss 40-pin PDIP (DIP-40) Package 4 MHz Speed 32KB In-System Programmable Memory
From $16.59 USD / Unit
MOQ: 1 |
Price updated: 2026-09-16
Volume Pricing
Qty Unit Price Extended
1 $25.28 $25.28
10 $22.75 $227.50
100 $20.48 $2,048.00
500 $18.43 $9,215.00
1,000 $16.59 $16,590.00
ℹ️ All prices are in USD

ATMEGA323L-4PC Overview

The Microchip Technology (Atmel) ATMEGA323L-4PC is an 8-bit AVR RISC microcontroller with 32KB of in-system programmable Flash, 2KB of SRAM, and a 2.7V to 5.5V operating supply, delivered in a 40-pin PDIP (DIP-40) package rated for 4MHz clocking in the low-voltage L speed grade.

An 8-bit microcontroller is a single-chip computer that integrates a processor core, program memory, data memory, and peripherals on one die. Within the power-management/embedded hierarchy, the ATmega323 belongs to the AVR family - an advanced RISC architecture executing 131 powerful instructions, most in a single clock cycle, through eight general-purpose working registers and fully static operation offering up to 16 MIPS throughput at maximum frequency.

Key features of the ATMEGA323L-4PC include in-system programmable (ISP) 32KB Flash organized for self-programming, 2KB of internal SRAM for data buffering, and the AVR single-cycle RISC core that lets the L-4 speed grade sustain useful throughput even at 4MHz. The wide 2.7V to 5.5V supply range allows direct operation from a 3.3V rail while remaining 5V-tolerant, which is valuable in mixed legacy designs. The through-hole DIP-40 package makes the part ideal for prototyping, education, and socketed industrial boards.

Technically, the AVR core achieves close to 1 MIPS per MHz by fetching one instruction word from program memory on every cycle, a Harvard-architecture split that separates the 32KB Flash bus from the SRAM data path. In-system programming via the SPI serial port allows firmware updates without removing the device from the board, reducing field-service cost.

Typical applications include industrial control panels, legacy board maintenance and repair, academic embedded-lab training boards, and hobby or prototype systems that require through-hole mounting and socketed replacement.

Design consideration: the L grade is specified at 4MHz - do not clock above this rating at 2.7V to 5.5V; use the standard ATMEGA323-8 speed grade for higher frequencies.

This page synthesizes distributor pricing, drop-in alternative analysis, and sourcing information not consolidated in the manufacturer datasheet.

Drop-in alternatives for ATMEGA323L-4PC — 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 ATMEGA323L-4PC (same form factor and footprint) — differing in Package, ADC, Core Architecture, Debug Interface, Operating Temperature.

Microchip Technology
Package: 40-pin PDIP (DIP-40), Through Hole
ADC: 8-channel 10-bit A/D converter
Core Architecture: 8-bit AVR enhanced RISC
Compare with ATMEGA323L-4PC →
Microchip Technology
Package: 40-PDIP
ADC: 8-channel 10-bit
Core Architecture: 8-bit AVR RISC
Compare with ATMEGA323L-4PC →
Microchip Technology
Package: 40-PDIP (0.600 in, 15.24mm)
ADC: 8-channel, 10-bit
Debug Interface: JTAG (on-chip debug and boundary scan)
Compare with ATMEGA323L-4PC →

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

ATMEGA323-8PI

✅ Drop-In
Microchip Technology
📦 DIP-40
AVR · 8-Bit · 8 MHz · 32KB (16K x 16) · 2KB · 1KB · 131 instructions, most single-cycle · 8 MIPS at 8 MHz (16 MIPS at 16 MHz architecture max)

✓ In Stock

$4.48 / Unit

View Datasheet →

ATMEGA32-16PU

✅ Drop-In
Microchip Technology
📦 DIP-40
8-bit AVR RISC · 16 MHz · 32KB (16K x 16) · 1KB · 2KB · 32 lines · 4.5 V to 5.5 V · 16 MIPS at 16 MHz

✓ In Stock

$3.68 / Unit

View Datasheet →

ATMEGA32-16PI

✅ Drop-In
Microchip Technology
📦 DIP-40
8-bit AVR enhanced RISC · 32 KB In-System Programmable · 2 KB · 1 KB · 16 MHz · up to 16 MIPS at 16 MHz · 131 powerful instructions, most single-clock cycle · 4.5 V to 5.5 V

✓ In Stock

$2.75 / Unit

View Datasheet →

ATMEGA323L-4PC Maximum Ratings & Electrical Characteristics

Core Architecture AVR 8-bit RISC
Flash Program Memory 32KB In-System Programmable
SRAM Data Memory 2KB
Max CPU Speed (L grade) 4 MHz
Max Throughput 16 MIPS (device family max at 16 MHz)
Instructions 131 instructions, most single-cycle
Operating Voltage Range 2.7 V to 5.5 V
Package 40-pin PDIP (DIP-40)
Mounting Type Through Hole
Programming Method In-System Programmable (ISP) via SPI

ATMEGA323L-4PC 40-pin pdip (dip-40) Pin Configuration Guide

Pin configuration for ATMEGA323L-4PC (40-pin pdip (dip-40) 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.

40-pin pdip (dip-40) package pinout diagram for ATMEGA323L-4PC

No detailed pinout data available for ATMEGA323L-4PC.

Refer to the datasheet for full pin configuration.

Typical Applications

ATMEGA323L-4PC is suitable for 6 applications: Industrial Control Panel Maintenance, Embedded Systems Education and Training Labs, Hobby and Prototype Through-Hole Projects, Legacy Firmware Preservation and Re-manufacture, Motor and Relay Sequencing Controllers, Instrumentation Front-End Data Loggers.

🏭

Industrial Control Panel Maintenance

The ATMEGA323L-4PC remains widely used to service and maintain installed industrial control panels that were designed around Atmel AVR DIP-40 MCUs. Its 2.7V to 5.5V supply range allows direct replacement into boards powered by 3.3V or 5V logic, and the 32KB ISP Flash holds the original control firmware with 2KB SRAM for runtime variables. The through-hole DIP-40 package fits original machine-pin sockets, so a failed chip can be swapped in minutes without soldering or PCB modification. The L grade's 4MHz rating matches the crystal originally fitted on these legacy boards, avoiding timing changes. Because the part is obsolete, maintenance engineers should hold buffer stock and keep an ISP programmer with the original firmware image archived.

🔧

Embedded Systems Education and Training Labs

The ATMEGA323L-4PC is a practical teaching platform for 8-bit embedded systems courses because the DIP-40 through-hole package lets students insert and remove the chip by hand, and the ISP interface allows repeated firmware reflashing with a simple SPI programmer. The AVR core's 131 mostly single-cycle instructions make assembly-language timing behavior easy to predict, while the 32KB Flash and 2KB SRAM are sufficient for C programs with peripheral drivers. The 2.7V to 5.5V operating range supports simple bench power supplies without precision regulation. Universities favoring legacy Atmel toolchains (AVR-GCC, AVR Studio) continue to use this part in existing lab boards, where its socketed DIP format lowers per-semester replacement cost compared with soldered QFP devices.

🧩

Hobby and Prototype Through-Hole Projects

For hobbyists and prototypers, the ATMEGA323L-4PC offers a solderable, breadboard-adaptable 40-pin DIP format that avoids the hot-air rework needed for surface-mount AVRs. The 32KB in-system programmable Flash supports bootloaders, so firmware can be updated over UART without a dedicated programmer after initial setup, and the 2KB SRAM comfortably buffers sensor data in measurement sketches. Its 2.7V to 5.5V range allows powering from three AA cells (4.5V) or a USB 5V rail. The L grade's 4MHz ceiling is acceptable for polling-based control loops and serial links used in hobby projects. Note that availability is limited to broker stock, so prototype builders may prefer the actively produced ATMEGA32-16PU with the same footprint.

🖥️

Legacy Firmware Preservation and Re-manufacture

Companies re-manufacturing out-of-production equipment need the exact MCU originally qualified in the design, and the ATMEGA323L-4PC fills that role for boards specified with the L speed grade. Its identical die to the ATMEGA323 family means firmware images, fuse settings, and timing assumptions carry over unchanged; the 32KB ISP Flash accepts the original production hex file without recompilation. The 2KB SRAM preserves real-time behavior of stack-heavy legacy code, and the 2.7V to 5.5V rating matches the original power-tree. Procurement teams should qualify broker stock with date-code verification and decap or functional testing, since obsolete AVR parts are a known counterfeit target, and simultaneously qualify the ATMEGA323-8PI as a same-die second source.

Motor and Relay Sequencing Controllers

The ATMEGA323L-4PC suits relay and contactor sequencing controllers common in building automation retrofits, where a 4MHz clock is ample for millisecond-scale state machines and the 32KB Flash accommodates scheduling tables, communication parsing, and logging code with room to spare. The 2KB SRAM holds sequencer state and serial buffers, while in-system programming allows field firmware updates through a service header without desoldering the MCU. Operating from 2.7V to 5.5V, it tolerates supply sag from shared 5V logic rails that also power optocoupler inputs. The DIP-40 package eases repair in sealed enclosures. Designers must verify the exact timer and I/O configuration of the original board firmware, as this obsolete part is typically fitted only in existing designs.

🎥

Instrumentation Front-End Data Loggers

In legacy instrumentation data loggers, the ATMEGA323L-4PC provides the control core that polls ADC results, formats readings, and writes to serial or memory peripherals. The 32KB ISP Flash stores logging tables and command interpreters, and 2KB SRAM buffers measurement batches before transfer. The L grade's 4MHz clock reduces core current draw in the 2.7V to 5.5V operating window, which benefits battery-backed loggers, while fully static operation preserves register contents if the clock is slowed or halted by power-management firmware. The through-hole package simplifies field replacement of the controller in long-service-life instruments. Engineers repairing such loggers should archive firmware and fuse settings, and validate that replacement broker stock executes ISP programming correctly before deployment.

What is the ATMEGA323L-4PC microcontroller?
The ATMEGA323L-4PC is an 8-bit AVR RISC microcontroller with 32KB of in-system programmable Flash and 2KB of SRAM, operating from 2.7V to 5.5V at up to 4MHz in the L speed grade. It is housed in a 40-pin PDIP package. According to the Atmel datasheet, the AVR core executes 131 instructions, most in a single clock cycle, delivering fully static operation with family throughput of up to 16 MIPS.
What is the operating voltage of ATMEGA323L-4PC?
The ATMEGA323L-4PC operates from 2.7V to 5.5V, per distributor listings (Microchip USA, MOST Electronics). This wide range means the L (low-voltage) grade can run directly from a 3.3V supply or a 5V rail. Note that the L speed grade limits the maximum clock frequency to 4MHz regardless of supply voltage; higher-frequency designs require the non-L ATMEGA323-8 variant.
What is the maximum clock frequency of ATMEGA323L-4PC?
The ATMEGA323L-4PC is specified for a maximum clock frequency of 4MHz; the L suffix denotes the low-voltage/low-speed grade. The AVR architecture still yields roughly 1 MIPS per MHz, so 4MHz delivers about 4 MIPS of useful throughput. According to the Atmel datasheet, the AVR family achieves up to 16 MIPS at 16MHz, but only on the faster speed-grade order codes such as ATMEGA323-8.
Is ATMEGA323L-4PC still in production?
No, the ATMEGA323L-4PC is a legacy Atmel part that is obsolete and no longer in active production by Microchip Technology. It is available through surplus and broker stock channels such as Ampheo, Easybom, and Microchip USA, with 16 distributors listing price references from $0.01 to $25.28 for 1 piece as of 2026-09-17. For new designs, Microchip recommends migrating to modern AVR parts such as the ATmega328 family.
What is the best drop-in replacement for ATMEGA323L-4PC?
The closest same-brand drop-in is the ATMEGA323-8PI: the same die, same 40-pin PDIP package and pinout, but an 8MHz speed grade instead of 4MHz, so it is 100% pin-compatible and simply faster. ATMEGA32-16PU and ATMEGA32-16PI are also 40-pin PDIP AVR parts that are pin-compatible and offer newer peripheral features with 32KB Flash. Always verify fuse-bit settings and peripheral register differences against the respective datasheets before reprogramming.
What is the difference between ATMEGA323L-4PC and ATMEGA323-8PI?
The difference is speed grading only: the ATMEGA323L-4PC is the L grade limited to 4MHz with a 2.7V to 5.5V supply range, while the ATMEGA323-8PI is the standard grade rated to 8MHz. Both share the same 32KB ISP Flash, 2KB SRAM, 8-bit AVR core, and identical 40-pin PDIP footprint, making the -8PI a true drop-in replacement with a 100% parametric match on memory and package.
Is ATMEGA32-16PU a suitable replacement for ATMEGA323L-4PC?
Yes, for most through-hole applications the ATMEGA32-16PU is a strong pin-compatible replacement: it uses the same 40-pin PDIP package and 8-bit AVR architecture with 32KB Flash. Differences include higher speed grading (16MHz vs 4MHz), a newer peripheral set, and different fuse/register maps. According to Microchip's own cross-reference guidance, such in-family migrations are the preferred drop-in path for discontinued ATmega parts, but firmware must be recompiled and fuses reconfigured.
How much does ATMEGA323L-4PC cost?
As of 2026-09-17, the ATMEGA323L-4PC shows distributor price references from $0.01 to $25.28 for 1 piece on Easybom, which aggregates 16 distributors; Octopart lists 1 distributor with bulk discounts. Because this is an obsolete part sourced from remaining stock, pricing varies widely by broker, quantity, and date code. XAIPART tier pricing starts at $25.28 at qty 1, declining to $16.59 at qty 1000.
Where can I buy ATMEGA323L-4PC online?
The ATMEGA323L-4PC can be purchased from broker and legacy-stock distributors including Ampheo, Easybom (16 distributor price references), Microchip USA, ETEI, MOST Electronics, and Veswin. Octopart also indexes availability for this Microchip part. Since the part is obsolete, confirm date codes, packaging type, and authenticity guarantees with the seller before ordering, as broker stock carries a higher counterfeit risk than franchised distribution.
Where can I download the ATMEGA323L-4PC datasheet PDF?
The ATMEGA323L-4PC datasheet PDF (8-bit Microcontroller with 32K Bytes of In-System Programmable Flash, 247 pages) is available from archive sources including alldatasheet.com, datasheetq.com, digchip.com, and abc-semi.com, which hosts the direct PDF. XAIPART links the datasheet on this product page. Note that Atmel was acquired by Microchip Technology, so the current manufacturer site may host updated AVR documentation under the Microchip domain.
How much Flash and RAM does the ATMEGA323L-4PC have?
The ATMEGA323L-4PC contains 32KB of in-system programmable Flash program memory and 2KB of internal SRAM data memory. According to the Atmel datasheet title and Microchip USA listing, the Flash is organized with self-programming capability for bootloader use. The 2KB x 8 SRAM handles stack and data storage; combined with the 32KB ISP Flash, this memory profile targets medium-size 8-bit control applications.
Is ATMEGA323L-4PC suitable for new product designs?
No, the ATMEGA323L-4PC is not recommended for new designs because it is obsolete, supply depends on broker stock, and lifecycle risk is high. The 4MHz L speed grade also limits performance. For new through-hole AVR designs, the ATmega328P family (28-pin) or ATmega32 variants offer active production, RoHS-compliant packaging, and modern toolchain support. Use the ATMEGA323L-4PC only to maintain or repair existing boards that are already designed around it.
What are the key specifications of ATMEGA323L-4PC that engineers should know?
Engineers should know: 8-bit AVR RISC core with 131 mostly single-cycle instructions; 32KB in-system programmable Flash; 2KB SRAM; operating voltage 2.7V to 5.5V; maximum clock 4MHz (L grade); family throughput up to 16 MIPS; and a 40-pin PDIP through-hole package. These values come from the Atmel datasheet and Microchip USA product data. The DIP-40 footprint and ISP capability are the main reasons legacy systems still use this part.
Hey Google, what can replace ATMEGA323L-4PC?
The closest replacements are same-family Microchip AVR parts in the same 40-pin PDIP package: ATMEGA323-8PI (identical die, 8MHz, 100% pin-compatible drop-in), ATMEGA32-16PU, and ATMEGA32-16PI (pin-compatible, 32KB Flash, 16MHz, newer peripherals). A cross-brand Microchip PIC16C57 in DIP is electrically different and NOT pin-compatible. All replacements require firmware migration and fuse reconfiguration; verify pinout against the destination datasheet before committing the PCB.
What is the best cross-brand equivalent for ATMEGA323L-4PC?
There is no true cross-brand pin-compatible equivalent for the ATMEGA323L-4PC; its 40-pin DIP AVR pinout is proprietary. Functionally similar 8-bit MCUs include Microchip's PIC16 series and STMicroelectronics' ST72 family, but none share the same pin map or register set, so any cross-brand change is a redesign, not a drop-in. Microchip's own cross-reference tools confirm that recommended substitutes for discontinued ATmega323 parts are in-family AVR devices such as the ATmega32 and ATmega328 families.

Engineering reference data for ATMEGA323L-4PC — comparison, design guidance, and compliance information.

Selection Guide

Choose the ATMEGA323L-4PC when you must repair or re-manufacture an existing board originally qualified with the ATmega323 L speed grade at 4MHz - it preserves the exact register map, fuse behavior, and low-voltage envelope with zero firmware changes. Choose ATMEGA323-8PI when you need a drop-in with identical hex compatibility but want clock headroom to 8MHz; it is the preferred same-die second source. Choose ATMEGA32-16PU when starting a new through-hole AVR design or when ATmega323 supply dries up, accepting that firmware must be recompiled, fuse maps reconfigured, and timing revalidated; choose ATMEGA32-16PI for industrial temperature requirements. Avoid the ATMEGA323L-4PC for new designs entirely - its obsolete status means lifecycle risk rests entirely on broker stock, with wide price variance ($0.01 to $25.28 for 1 piece across 16 distributors as of 2026-09-17) and elevated counterfeit risk.

Comparison with Alternatives

Parameter This Product ATMEGA323-8PI ATMEGA32-16PU ATMEGA32-16PI
Brand Microchip Technology (Atmel) Microchip Technology (Atmel) Microchip Technology (Atmel) Microchip Technology (Atmel)
Package DIP-40 (PDIP) DIP-40 (PDIP) - same DIP-40 (PDIP) - same DIP-40 (PDIP) - same
Flash 32KB ISP 32KB ISP 32KB ISP 32KB ISP
Max Clock Frequency 4 MHz (L grade) 8 MHz 16 MHz 16 MHz
Core 8-bit AVR RISC (131 instructions) 8-bit AVR RISC - identical die 8-bit AVR RISC - newer peripheral set 8-bit AVR RISC - newer peripheral set
Firmware Compatibility Baseline (ATmega323 register map) Identical hex file and fuses Recompile and re-fuse required Recompile and re-fuse required

Key Differentiators

  • True same-die drop-in exists within family (vs ATMEGA323-8PI)
  • Low-voltage L grade for 3.3V rails (vs ATMEGA32-16PU)
  • Baseline register map for original firmware (vs ATMEGA32-16PI)

Design Notes

Respect the L speed grade: the ATMEGA323L-4PC is limited to 4MHz regardless of supply voltage. Fitting an 8MHz or 16MHz crystal to a board carrying the L part risks out-of-spec timing across the 2.7V to 5.5V range. If a board must run faster, migrate to ATMEGA323-8PI or ATMEGA32-16PU/PI and reconfigure the AVR clock fuses accordingly - a wrong fuse setting (e.g., low-frequency crystal selected) can render the chip unresponsive and require a high-voltage parallel programmer to recover.

The 2.7V to 5.5V operating range means the same PCB can ship in either 3.3V or 5V variants, but peripheral margins change with supply: verify that external memory, RS-232 level shifters, and LCD modules meet their own minimum voltage at 2.7V. Decouple VCC with 100nF ceramic close to the DIP socket plus bulk capacitance at the regulator. Because this part is sourced from broker stock, test ISP programming and brown-out behavior on a sample from each lot before committing to production repairs.

The DIP-40 through-hole footprint is forgiving for layout, but legacy AVR designs should still keep the ISP header (MOSI/MISO/SCK/RESET/GND/VCC) routed short and place a 100nF capacitor at the socket. When substituting the ATMEGA32 family on an ATmega323 board, audit the pin function map and fuse defaults against the ATmega32 datasheet: peripheral assignments differ, and hardware built around ATmega323-specific register addresses will not function from the same hex file. Always recompile from source and re-run timing validation on substituted silicon.

Compliance Information

RoHS
Unknown
REACH
Unknown
AEC-Q100
Not Applicable
Lead Free
Unknown
Halogen Free
Unknown
Conflict Minerals
Unknown

This is a legacy Atmel part predating modern compliance documentation; no RoHS/REACH status was found in the provided web data. Many original DIP-40 Atmel parts were non-RoHS (tin-lead finish) - verify with the specific seller's lot documentation.

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

Related Searches

ATMEGA323L-4PC ATMEGA323L-4PC datasheet ATMEGA323L-4PC price buy Microchip Atmel ATMEGA323L-4PC ATMEGA323L-4PC drop-in replacement ATMEGA323L-4PC vs ATMEGA323-8PI ATMEGA323L-4PC equivalent substitute 32KB flash 8-bit AVR DIP-40 microcontroller ATMEGA323L-4PC pinout 40 pin DIP ATMEGA323L-4PC legacy industrial board repair obsolete Atmel microcontroller replacement guide is ATMEGA323L-4PC still available

Related Components & Terms

Microchip Technology Atmel ATMEGA323L-4PC ATMEGA323-8PI ATMEGA32-16PU ATMEGA32-16PI AVR 8-bit microcontroller RISC architecture in-system programmable Flash DIP-40 PDIP through-hole ISP SPI RoHS embedded systems education industrial control 32KB Flash 2KB SRAM 16 MIPS Harvard architecture
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