Loads when you scroll to it. Unloads after 5 minutes in the background.

Symbol & Footprint

Schematic Symbol

Open full view ↗
Loads when you scroll to it. Unloads after 5 minutes in the background.

PCB Footprint

Open full view ↗
Loads when you scroll to it. Unloads after 5 minutes in the background.
Loads when you scroll to it. Unloads after 5 minutes in the background.
Download PDF
Contents

README

markdown

ATMEGA328P-AN

Microchip Tech · Microcontrollers (MCU/MPU/SOC) · TQFP-32(7x7)

ATMEGA328P-AN from Microchip Tech, in a TQFP-32(7x7). Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.

Pinout

Pin Name Type Function
1 PD3 bidirectional Port D bit 3 is a bi-directional I/O pin with internal pull-up, also usable as INT1 external interrupt 1 input, OC2B Timer/Counter2 compare output, or PCINT19.
2 PD4 bidirectional Port D bit 4 is a bi-directional I/O pin with internal pull-up, also usable as XCK USART external clock, T0 Timer/Counter0 external counter input, or PCINT20.
3 GND power_in Ground reference for the digital supply.
4 VCC power_in Digital supply voltage, 1.8 to 5.5 V operating range.
5 GND power_in Ground reference for the digital supply.
6 VCC power_in Digital supply voltage, 1.8 to 5.5 V operating range.
7 PB6 bidirectional Port B bit 6 is used as XTAL1 chip clock oscillator input or external clock input (or TOSC1 / PCINT6) depending on fuse settings, and cannot be used as an I/O pin when used as a clock pin.
8 PB7 bidirectional Port B bit 7 is used as XTAL2 inverting oscillator amplifier output (or TOSC2 / PCINT7) depending on fuse settings, and cannot be used as an I/O pin when used as a clock pin.
9 PD5 bidirectional Port D bit 5 is a bi-directional I/O pin with internal pull-up, also usable as T1 Timer/Counter1 external counter input, OC0B output, or PCINT21.
10 PD6 bidirectional Port D bit 6 is a bi-directional I/O pin with internal pull-up, also usable as AIN0 analog comparator positive input, OC0A output, or PCINT22.
11 PD7 bidirectional Port D bit 7 is a bi-directional I/O pin with internal pull-up, also usable as AIN1 analog comparator negative input or PCINT23; disable its pull-up when used as comparator input.
12 PB0 bidirectional Port B bit 0 is a bi-directional I/O pin with internal pull-up, also usable as ICP1 input capture, CLKO divided system clock output, or PCINT0.
13 PB1 bidirectional Port B bit 1 is a bi-directional I/O pin with internal pull-up, also usable as OC1A Timer/Counter1 compare output or PCINT1.
14 PB2 bidirectional Port B bit 2 is a bi-directional I/O pin with internal pull-up, also usable as SS SPI slave select, OC1B Timer/Counter1 compare output, or PCINT2.
15 PB3 bidirectional Port B bit 3 is a bi-directional I/O pin with internal pull-up, also usable as MOSI SPI data line, OC2A Timer/Counter2 compare output, or PCINT3.
16 PB4 bidirectional Port B bit 4 is a bi-directional I/O pin with internal pull-up, also usable as MISO SPI data line or PCINT4.
17 PB5 bidirectional Port B bit 5 is a bi-directional I/O pin with internal pull-up, also usable as SCK SPI clock or PCINT5.
18 AVCC power_in Supply voltage pin for the A/D converter, PC3:0 and ADC7:6; it should be connected to VCC even if the ADC is unused, and through a low-pass filter if the ADC is used.
19 ADC6 input Analog input channel 6 of the 10-bit A/D converter, available in the TQFP and VQFN packages only and powered from the analog supply.
20 AREF input Analog reference pin for the A/D converter.
21 GND power_in Ground reference for the digital supply.
22 ADC7 input Analog input channel 7 of the 10-bit A/D converter, available in the TQFP and VQFN packages only and powered from the analog supply.
23 PC0 bidirectional Port C bit 0 is a 7-bit I/O pin group member with internal pull-up, also usable as ADC0 analog input (analog power) or PCINT8.
24 PC1 bidirectional Port C bit 1 is an I/O pin with internal pull-up, also usable as ADC1 analog input (analog power) or PCINT9.
25 PC2 bidirectional Port C bit 2 is an I/O pin with internal pull-up, also usable as ADC2 analog input (analog power) or PCINT10.
26 PC3 bidirectional Port C bit 3 is an I/O pin with internal pull-up, also usable as ADC3 analog input (analog power) or PCINT11.
27 PC4 bidirectional Port C bit 4 is an I/O pin with internal pull-up, also usable as SDA 2-wire serial data, ADC4 analog input (digital power), or PCINT12.
28 PC5 bidirectional Port C bit 5 is an I/O pin with internal pull-up, also usable as SCL 2-wire serial clock, ADC5 analog input (digital power), or PCINT13.
29 PC6 input Reset input when the RSTDISBL fuse is unprogrammed; a low level longer than the minimum pulse length (Table 29-11) generates a reset, and shorter pulses are not ensured to reset the device.
30 PD0 bidirectional Port D bit 0 is a bi-directional I/O pin with internal pull-up, also usable as RXD USART receive data input or PCINT16.
31 PD1 bidirectional Port D bit 1 is a bi-directional I/O pin with internal pull-up, also usable as TXD USART transmit data output or PCINT17.
32 PD2 bidirectional Port D bit 2 is a bi-directional I/O pin with internal pull-up, also usable as INT0 external interrupt 0 input or PCINT18.

Key specifications

Parameter Value
Manufacturer Microchip Tech
Package TQFP-32(7x7)
Category Embedded Processors & Controllers
Pins 32

Electrical characteristics

Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).

Parameter Symbol Min Typ Max Unit Conditions Page
Operating Temperature -55 125 °C 308
Storage Temperature -65 150 °C 308
Voltage on RESET with respect to Ground -0.5 13 V 308
Voltage on any pin except RESET with respect to Ground -0.5 V Printed as -0.5V to VCC+0.5V; upper limit is VCC-dependent, left null 308
DC Current per I/O Pin 40 mA 308
DC Current VCC and GND Pins 200 mA 308
Power Supply (operating range) VCC 1.8 5.5 V ATmega328P-AN, Industrial (-40°C to 105°C) per ordering table 635
Speed Grade 20 MHz ATmega328P-AN ordering table speed; maximum frequency depends on VCC per Figure 29-1 635

CAD (KiCad official)

  • Symbol: ATMEGA328P-AN
  • Footprint: Package_QFP:TQFP-32_7x7mm_P0.8mm
  • 3D model: TQFP-32(7x7) (KiCad packages3D, STEP)
  • 3D model files: atmega328p-an-etched.step / atmega328p-an-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); atmega328p-an.step / atmega328p-an.glb are the bare package body.

Provenance

Data extracted from the manufacturer datasheet, not a distributor listing:

  • Datasheet: Microchip Tech datasheet (653 pp, sha256 7699c7d2d6d12492, retrieved 2026-10-21, tier: lcsc)
  • Extractor: parts-factory 2.0.0 / extract_pins 0.3, primary claude-haiku-5-5 (text), consensus claude-sonnet-5-5 (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.
  • CAD: KiCad official libraries (CC-BY-SA 4.0).

Datasheet PDF