ATMEGA324PA / ATMEGA164PA / ATMEGA324A (PDIP-40)
Synchronized Pinout (Symbol / 2D / 3D) (40/40)
Touch or hover any pin to highlight concurrently across Symbol, Footprint and 3D| Pin | Symbol | Type | Function (EN) |
|---|---|---|---|
| 1 | (PCINT8/XCK0/T0)PB0 | I/O | Multiplexed I/O & Peripheral Pin (PCINT8/XCK0/T0)PB0 (General) |
| 2 | (PCINT9/CLKO/T1)PB1 | I/O | Multiplexed I/O & Peripheral Pin (PCINT9/CLKO/T1)PB1 (General) |
| 3 | (PCINT10/INT2/AIN0)PB2 | I/O | Multiplexed I/O & Peripheral Pin (PCINT10/INT2/AIN0)PB2 (ADC) |
| 4 | (PCINT11/OC0A/AIN1)PB3 | I/O | Multiplexed I/O & Peripheral Pin (PCINT11/OC0A/AIN1)PB3 (ADC, PWM) |
| 5 | (PCINT12/OC0B/SS#)PB4 | I/O | Multiplexed I/O & Peripheral Pin (PCINT12/OC0B/SS#)PB4 (PWM) |
| 6 | (PCINT13/MOSI)PB5 | I/O | Multiplexed I/O & Peripheral Pin (PCINT13/MOSI)PB5 (SPI) |
| 7 | (PCINT14/MISO)PB6 | I/O | Multiplexed I/O & Peripheral Pin (PCINT14/MISO)PB6 (SPI) |
| 8 | (PCINT15//SCK)PB7 | I/O | Multiplexed I/O & Peripheral Pin (PCINT15//SCK)PB7 (SPI) |
| 9 | RESET# | I | System Enable & Hardware Reset (RESET#) |
| 10 | VCC | Power | Power Supply Input (VCC — 1.8V ~ 5.5V VCC) |
| 11 | GND | GND | Ground Reference Pin (GND) |
| 12 | XTAL2 | I/O | Multiplexed I/O & Peripheral Pin XTAL2 (RTC/CLK) |
| 13 | XTAL1 | I/O | Multiplexed I/O & Peripheral Pin XTAL1 (RTC/CLK) |
| 14 | (PCINT24/RXD0)PD0 | I/O | Multiplexed I/O & Peripheral Pin (PCINT24/RXD0)PD0 (UART) |
| 15 | (PCINT25/TXD0)PD1 | I/O | Multiplexed I/O & Peripheral Pin (PCINT25/TXD0)PD1 (UART) |
| 16 | (PCINT26/RXD1/INT0)PD2 | I/O | Multiplexed I/O & Peripheral Pin (PCINT26/RXD1/INT0)PD2 (UART) |
| 17 | (PCINT27/TXD1/INT1)PD3 | I/O | Multiplexed I/O & Peripheral Pin (PCINT27/TXD1/INT1)PD3 (UART) |
| 18 | (PCINT28/XCK1/OC1B)PD4 | I/O | Multiplexed I/O & Peripheral Pin (PCINT28/XCK1/OC1B)PD4 (PWM) |
| 19 | (PCINT29/OC1A)PD5 | I/O | Multiplexed I/O & Peripheral Pin (PCINT29/OC1A)PD5 (PWM) |
| 20 | (PCINT30/OC2B/ICP1)PD6 | I/O | Multiplexed I/O & Peripheral Pin (PCINT30/OC2B/ICP1)PD6 (PWM) |
| 21 | (OC2A/PCINT31)PD7 | I/O | Multiplexed I/O & Peripheral Pin (OC2A/PCINT31)PD7 (PWM) |
| 22 | (SCL/PCINT16)PC0 | I/O | Multiplexed I/O & Peripheral Pin (SCL/PCINT16)PC0 (I2C) |
| 23 | (SDA/PCINT17)PC1 | I/O | Multiplexed I/O & Peripheral Pin (SDA/PCINT17)PC1 (I2C) |
| 24 | (TCK/PCINT18)PC2 | I/O | Multiplexed I/O & Peripheral Pin (TCK/PCINT18)PC2 (General) |
| 25 | (TMS/PCINT19)PC3 | I/O | Multiplexed I/O & Peripheral Pin (TMS/PCINT19)PC3 (General) |
| 26 | (TDO/PCINT20)PC4 | I/O | Multiplexed I/O & Peripheral Pin (TDO/PCINT20)PC4 (General) |
| 27 | (TDI/PCINT21)PC5 | I/O | Multiplexed I/O & Peripheral Pin (TDI/PCINT21)PC5 (General) |
| 28 | (TOSC1/PCINT22)PC6 | I/O | Multiplexed I/O & Peripheral Pin (TOSC1/PCINT22)PC6 (General) |
| 29 | (TOSC2/PCINT23)PC7 | I/O | Multiplexed I/O & Peripheral Pin (TOSC2/PCINT23)PC7 (General) |
| 30 | AVCC | Power | Power Supply Input (AVCC — 1.8V ~ 5.5V VCC) |
| 31 | GND | GND | Ground Reference Pin (GND) |
| 32 | AREF | I/O | Multiplexed I/O & Peripheral Pin AREF (ADC) |
| 33 | (ADC7/PCINT7)PA7 | I/O | Multiplexed I/O & Peripheral Pin (ADC7/PCINT7)PA7 (ADC) |
| 34 | (ADC6/PCINT6)PA6 | I/O | Multiplexed I/O & Peripheral Pin (ADC6/PCINT6)PA6 (ADC) |
| 35 | (ADC5/PCINT5)PA5 | I/O | Multiplexed I/O & Peripheral Pin (ADC5/PCINT5)PA5 (ADC) |
| 36 | (ADC4/PCINT4)PA4 | I/O | Multiplexed I/O & Peripheral Pin (ADC4/PCINT4)PA4 (ADC) |
| 37 | (ADC3/PCINT3)PA3 | I/O | Multiplexed I/O & Peripheral Pin (ADC3/PCINT3)PA3 (ADC) |
| 38 | (ADC2/PCINT2)PA2 | I/O | Multiplexed I/O & Peripheral Pin (ADC2/PCINT2)PA2 (ADC) |
| 39 | (ADC1/PCINT1)PA1 | I/O | Multiplexed I/O & Peripheral Pin (ADC1/PCINT1)PA1 (ADC) |
| 40 | (ADC0/PCINT0)PA0 | I/O | Multiplexed I/O & Peripheral Pin (ADC0/PCINT0)PA0 (ADC) |
Extracted Drawings Gallery (6 Standard Drawings + 14 Extracted Figures)
Read the original datasheet PDF directly or click any drawing to view fullscreenTechnical Specifications & Part Details (ATMEGA324PA-PU)
Summary of electrical parameters, mechanical dimensions, voltage range and peripheral interfaces from Datasheet (EN)5-Point Standards Verification
Automated compliance checks prior to exportHardware Verification & Community Engineering Reviews
Summary of electrical parameters, mechanical dimensions, voltage range and peripheral interfaces from DatasheetFamily Variants & Same Datasheet Chips — ATMEGA324PA / ATMEGA164PA / ATMEGA324A (5)
ATMEGA324PA / ATMEGA164PA / ATMEGA324A (QFN-44(5x5))
ATMEGA324PA / ATMEGA164PA / ATMEGA324A (QFN-44(5x5))
ATMEGA324PA / ATMEGA164PA / ATMEGA324A (QFN-44(5x5))
ATMEGA324PA / ATMEGA164PA / ATMEGA324A (QFN-44(5x5))
Mechanical Dimensions & Land Pattern (PDIP-40)
Extracted from Datasheet & IPC-7351B NormalizedRecommended Companion BOM & Drop-In Equivalents
Passive external components per reference schematic and 1:1 pin-compatible alternatives| Designator / Replacement MPN | Value / Package | Function & PCB Layout Rule |
|---|---|---|
| N/A BOM | Per application circuit PDIP-40 | Size power & signal trace widths for rated load current following IPC-2221 clearance rules. |
Technical Frequently Asked Questions (FAQ) — ATMEGA324PA-PU (PDIP-40)
Quick answers covering Pinout, IPC-7351B Land Pattern dimensions, and CAD export formatsWhat is the Pinout and operating voltage specification of ATMEGA324PA-PU (PDIP-40)?
Manufactured by MICROCHIP, the ATMEGA324PA-PU is housed in a PDIP-40 package with 40 pins and a 2.54 mm lead pitch, supporting a VCC supply range of 1.8V to 5.5V. Key pins include: 1 ((PCINT8/XCK0/T0)PB0: Multiplexed I/O & Peripheral Pin (PCINT8/XCK0/T0)PB0 (General)), 2 ((PCINT9/CLKO/T1)PB1: Multiplexed I/O & Peripheral Pin (PCINT9/CLKO/T1)PB1 (General)), 3 ((PCINT10/INT2/AIN0)PB2: Multiplexed I/O & Peripheral Pin (PCINT10/INT2/AIN0)PB2 (ADC)), 4 ((PCINT11/OC0A/AIN1)PB3: Multiplexed I/O & Peripheral Pin (PCINT11/OC0A/AIN1)PB3 (ADC, PWM)), 5 ((PCINT12/OC0B/SS#)PB4: Multiplexed I/O & Peripheral Pin (PCINT12/OC0B/SS#)PB4 (PWM)), 6 ((PCINT13/MOSI)PB5: Multiplexed I/O & Peripheral Pin (PCINT13/MOSI)PB5 (SPI)).
What are the IPC-7351B PCB Footprint dimensions for ATMEGA324PA-PU?
Normalized from the official datasheet mechanical drawing per IPC-7351B (Density Level B Nominal), ATMEGA324PA-PU (PDIP-40) has a nominal body envelope of 3.90 × 3.90 mm, pitch e = 2.54 mm, and 40 copper pads.
Where can I download KiCad (.kicad_mod, .kicad_sym), Fusion 360 (.lbr), and 3D STEP models for ATMEGA324PA-PU?
You can download the verified open-hardware (CERN-OHL-P-2.0) CAD library bundle for ATMEGA324PA-PU (MICROCHIP, PDIP-40) directly on this page, including KiCad 8 Footprints (.kicad_mod), Schematic Symbols (.kicad_sym), Autodesk Fusion 360 / Eagle (.lbr), and 3D STEP AP214 / WebGL GLB models.
Static Reference Appendix: Pinout Table (40 pins) & ATMEGA324PA / ATMEGA164PA / ATMEGA324A Family VariantsExpand static table
| Pin # | Signal Name | Electrical Type | Functional Description & Design Notes |
|---|---|---|---|
| 1 | (PCINT8/XCK0/T0)PB0 | Digital_IO | Signal terminal (PCINT8/XCK0/T0)PB0 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (PCINT8/XCK0/T0)PB0. Supported peripheral buses: General. |
| 2 | (PCINT9/CLKO/T1)PB1 | Digital_IO | Signal terminal (PCINT9/CLKO/T1)PB1 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (PCINT9/CLKO/T1)PB1. Supported peripheral buses: General. |
| 3 | (PCINT10/INT2/AIN0)PB2 | Analog | Signal terminal (PCINT10/INT2/AIN0)PB2 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (PCINT10/INT2/AIN0)PB2. Supported peripheral buses: ADC. |
| 4 | (PCINT11/OC0A/AIN1)PB3 | Analog | Signal terminal (PCINT11/OC0A/AIN1)PB3 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (PCINT11/OC0A/AIN1)PB3. Supported peripheral buses: ADC, PWM. |
| 5 | (PCINT12/OC0B/SS#)PB4 | Digital_IO | Signal terminal (PCINT12/OC0B/SS#)PB4 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (PCINT12/OC0B/SS#)PB4. Supported peripheral buses: PWM. |
| 6 | (PCINT13/MOSI)PB5 | Digital_IO | Signal terminal (PCINT13/MOSI)PB5 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (PCINT13/MOSI)PB5. Supported peripheral buses: SPI. |
| 7 | (PCINT14/MISO)PB6 | Digital_IO | Signal terminal (PCINT14/MISO)PB6 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (PCINT14/MISO)PB6. Supported peripheral buses: SPI. |
| 8 | (PCINT15//SCK)PB7 | Digital_IO | Signal terminal (PCINT15//SCK)PB7 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (PCINT15//SCK)PB7. Supported peripheral buses: SPI. |
| 9 | RESET# | Digital_IO | Active-low hardware reset terminal (RESET#): pulling this pin Low resets the processor core and peripherals. |
| 10 | VCC | Power_In | Primary positive power supply input (VCC) operating in the 1.8V ~ 5.5V VCC domain (Max rating: 6.0V). |
| 11 | GND | GND | 0V electrical ground return terminal (GND) for internal core logic, I/O drivers, and analog sub-blocks. |
| 12 | XTAL2 | Digital_IO | Signal terminal XTAL2 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: XTAL2. Supported peripheral buses: RTC/CLK. |
| 13 | XTAL1 | Digital_IO | Signal terminal XTAL1 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: XTAL1. Supported peripheral buses: RTC/CLK. |
| 14 | (PCINT24/RXD0)PD0 | Digital_IO | Signal terminal (PCINT24/RXD0)PD0 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (PCINT24/RXD0)PD0. Supported peripheral buses: UART. |
| 15 | (PCINT25/TXD0)PD1 | Digital_IO | Signal terminal (PCINT25/TXD0)PD1 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (PCINT25/TXD0)PD1. Supported peripheral buses: UART. |
| 16 | (PCINT26/RXD1/INT0)PD2 | Digital_IO | Signal terminal (PCINT26/RXD1/INT0)PD2 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (PCINT26/RXD1/INT0)PD2. Supported peripheral buses: UART. |
| 17 | (PCINT27/TXD1/INT1)PD3 | Digital_IO | Signal terminal (PCINT27/TXD1/INT1)PD3 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (PCINT27/TXD1/INT1)PD3. Supported peripheral buses: UART. |
| 18 | (PCINT28/XCK1/OC1B)PD4 | Digital_IO | Signal terminal (PCINT28/XCK1/OC1B)PD4 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (PCINT28/XCK1/OC1B)PD4. Supported peripheral buses: PWM. |
| 19 | (PCINT29/OC1A)PD5 | Digital_IO | Signal terminal (PCINT29/OC1A)PD5 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (PCINT29/OC1A)PD5. Supported peripheral buses: PWM. |
| 20 | (PCINT30/OC2B/ICP1)PD6 | Digital_IO | Signal terminal (PCINT30/OC2B/ICP1)PD6 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (PCINT30/OC2B/ICP1)PD6. Supported peripheral buses: PWM. |
| 21 | (OC2A/PCINT31)PD7 | Digital_IO | Signal terminal (OC2A/PCINT31)PD7 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (OC2A/PCINT31)PD7. Supported peripheral buses: PWM. |
| 22 | (SCL/PCINT16)PC0 | Digital_IO | Signal terminal (SCL/PCINT16)PC0 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (SCL/PCINT16)PC0. Supported peripheral buses: I2C. |
| 23 | (SDA/PCINT17)PC1 | Digital_IO | Signal terminal (SDA/PCINT17)PC1 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (SDA/PCINT17)PC1. Supported peripheral buses: I2C. |
| 24 | (TCK/PCINT18)PC2 | Digital_IO | Signal terminal (TCK/PCINT18)PC2 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (TCK/PCINT18)PC2. Supported peripheral buses: General. |
| 25 | (TMS/PCINT19)PC3 | Digital_IO | Signal terminal (TMS/PCINT19)PC3 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (TMS/PCINT19)PC3. Supported peripheral buses: General. |
| 26 | (TDO/PCINT20)PC4 | Digital_IO | Signal terminal (TDO/PCINT20)PC4 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (TDO/PCINT20)PC4. Supported peripheral buses: General. |
| 27 | (TDI/PCINT21)PC5 | Digital_IO | Signal terminal (TDI/PCINT21)PC5 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (TDI/PCINT21)PC5. Supported peripheral buses: General. |
| 28 | (TOSC1/PCINT22)PC6 | Digital_IO | Signal terminal (TOSC1/PCINT22)PC6 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (TOSC1/PCINT22)PC6. Supported peripheral buses: General. |
| 29 | (TOSC2/PCINT23)PC7 | Digital_IO | Signal terminal (TOSC2/PCINT23)PC7 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (TOSC2/PCINT23)PC7. Supported peripheral buses: General. |
| 30 | AVCC | Power_In | Primary positive power supply input (AVCC) operating in the 1.8V ~ 5.5V VCC domain (Max rating: 6.0V). |
| 31 | GND | GND | 0V electrical ground return terminal (GND) for internal core logic, I/O drivers, and analog sub-blocks. |
| 32 | AREF | Digital_IO | Signal terminal AREF (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: AREF. Supported peripheral buses: ADC. |
| 33 | (ADC7/PCINT7)PA7 | Analog | Signal terminal (ADC7/PCINT7)PA7 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (ADC7/PCINT7)PA7. Supported peripheral buses: ADC. |
| 34 | (ADC6/PCINT6)PA6 | Analog | Signal terminal (ADC6/PCINT6)PA6 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (ADC6/PCINT6)PA6. Supported peripheral buses: ADC. |
| 35 | (ADC5/PCINT5)PA5 | Analog | Signal terminal (ADC5/PCINT5)PA5 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (ADC5/PCINT5)PA5. Supported peripheral buses: ADC. |
| 36 | (ADC4/PCINT4)PA4 | Analog | Signal terminal (ADC4/PCINT4)PA4 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (ADC4/PCINT4)PA4. Supported peripheral buses: ADC. |
| 37 | (ADC3/PCINT3)PA3 | Analog | Signal terminal (ADC3/PCINT3)PA3 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (ADC3/PCINT3)PA3. Supported peripheral buses: ADC. |
| 38 | (ADC2/PCINT2)PA2 | Analog | Signal terminal (ADC2/PCINT2)PA2 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (ADC2/PCINT2)PA2. Supported peripheral buses: ADC. |
| 39 | (ADC1/PCINT1)PA1 | Analog | Signal terminal (ADC1/PCINT1)PA1 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (ADC1/PCINT1)PA1. Supported peripheral buses: ADC. |
| 40 | (ADC0/PCINT0)PA0 | Analog | Signal terminal (ADC0/PCINT0)PA0 (I/O, 1.8V ~ 5.5V VCC domain). Multiplexed alternate functions: (ADC0/PCINT0)PA0. Supported peripheral buses: ADC. |







![ATMEGA324PA-PU (PDIP-40) — 646 ATmega164A/164PA/324A/324PA/644A/644PA/1284/1284P [DATASHEET]](/api/v1/assets/C1338027/extracted/figures/p646_fig01.png)

![ATMEGA324PA-PU (PDIP-40) — Figure 1-2. DRQFN - pinout [QFN-44(5x5)]](/api/v1/assets/C1338227/extracted/figures/p12_fig01.png)
![ATMEGA324PA-PU (PDIP-40) — Figure 1-3. VFBGA - pinout [QFN-44(5x5)]](/api/v1/assets/C1338227/extracted/figures/p13_fig01.png)
![ATMEGA324PA-PU (PDIP-40) — ATmega164A/PA/324A/PA/644A/PA/1284/P [QFN-44(5x5)]](/api/v1/assets/C1338227/extracted/figures/p652_fig01.png)
