MCU packages

ATmega2560 · TQFP-100 pinout

TQFP-100 · bare MCU · up to 16 MHz

Open in the interactive atlas →See the pin map, choose functions and save a wiring plan.Türkçe

100-pin TQFP ATmega2560: 86 GPIOs and 16 ADC inputs. These are package pins, not Mega D0–D69; they include signals absent from the board headers. The 64-pin ATmega2561 and CBGA use different packages. PF4–PF7 share JTAG. Simultaneous use depends on peripheral and fuse configuration.

At a glance

Platform / manufacturer
Microchip AVR
Type
MCU packages
MCU
ATmega2560
Package / connector
TQFP-100
Physical contacts
100
GPIO
86
I/O voltage
4.5–5.5 V (16 MHz grade)
Interfaces (pin count)
I²C (2) · SPI (4) · UART (12) · ADC (16) · PWM (15) · ANALOG (2) · CLOCK (3) · IRQ (32) · JTAG (4) · SMI (19) · TIMER (9)
First production / release date
Unverified for this exact model/revision [a]
MCU / processor core
8-bit AVR [a]
Clock speed / maximum
16 MHz [a]
Internal RAM / system RAM
8 KB SRAM [a]
Program Flash / storage
256 KB Flash [a]
EEPROM / persistent data
4 KB EEPROM [a]
Power and logic level
Connect VCC, AVCC and every GND pin; oscillator/fuse and RESET conditions are independent of Arduino boards. [a]
Pin sources checked
2026-11-05
Technical details reviewed
2026-11-14

All pins (100)

ATmega2560 · TQFP-100: every pin in physical order with its type, functions and warnings
PhysicalPin nameTypeFunctionsNotes and warningsSource
01PG5General-purpose I/OOC0B—[1]
02PE0General-purpose I/ORXD0PCINT8—[1]
03PE1General-purpose I/OTXD0—[1]
04PE2General-purpose I/OAIN0XCK0—[1]
05PE3General-purpose I/OAIN1OC3A—[1]
06PE4General-purpose I/OINT4OC3B—[1]
07PE5General-purpose I/OINT5OC3C—[1]
08PE6General-purpose I/OINT6T3—[1]
09PE7General-purpose I/OINT7ICP3CLKO—[1]
10VCCPower——[1]
11GNDGround——[1]
12PH0General-purpose I/ORXD2—[1]
13PH1General-purpose I/OTXD2—[1]
14PH2General-purpose I/OXCK2—[1]
15PH3General-purpose I/OOC4A—[1]
16PH4General-purpose I/OOC4B—[1]
17PH5General-purpose I/OOC4C—[1]
18PH6General-purpose I/OOC2B—[1]
19PB0General-purpose I/OSSPCINT0—[1]
20PB1General-purpose I/OSCKPCINT1—[1]
21PB2General-purpose I/OMOSIPCINT2—[1]
22PB3General-purpose I/OMISOPCINT3—[1]
23PB4General-purpose I/OOC2APCINT4—[1]
24PB5General-purpose I/OOC1APCINT5—[1]
25PB6General-purpose I/OOC1BPCINT6—[1]
26PB7General-purpose I/OOC0AOC1CPCINT7—[1]
27PH7General-purpose I/OT4—[1]
28PG3General-purpose I/OTOSC2

Shared with clock/oscillator functions. GPIO use depends on clock fuses and asynchronous-timer configuration; do not use an active oscillator signal as GPIO.

[1]
29PG4General-purpose I/OTOSC1

Shared with clock/oscillator functions. GPIO use depends on clock fuses and asynchronous-timer configuration; do not use an active oscillator signal as GPIO.

[1]
30RESETSystem—

Active-low reset/programming signal, not a normal GPIO.

[1]
31VCCPower——[1]
32GNDGround——[1]
33XTAL2System——[1]
34XTAL1System——[1]
35PL0General-purpose I/OICP4—[1]
36PL1General-purpose I/OICP5—[1]
37PL2General-purpose I/OT5—[1]
38PL3General-purpose I/OOC5A—[1]
39PL4General-purpose I/OOC5B—[1]
40PL5General-purpose I/OOC5C—[1]
41PL6General-purpose I/O——[1]
42PL7General-purpose I/O——[1]
43PD0General-purpose I/OINT0SCL—[1]
44PD1General-purpose I/OINT1SDA—[1]
45PD2General-purpose I/OINT2RXD1—[1]
46PD3General-purpose I/OINT3TXD1—[1]
47PD4General-purpose I/OICP1—[1]
48PD5General-purpose I/OXCK1—[1]
49PD6General-purpose I/OT1—[1]
50PD7General-purpose I/OT0—[1]
51PG0General-purpose I/OWR—[1]
52PG1General-purpose I/ORD—[1]
53PC0General-purpose I/OA8—[1]
54PC1General-purpose I/OA9—[1]
55PC2General-purpose I/OA10—[1]
56PC3General-purpose I/OA11—[1]
57PC4General-purpose I/OA12—[1]
58PC5General-purpose I/OA13—[1]
59PC6General-purpose I/OA14—[1]
60PC7General-purpose I/OA15—[1]
61VCCPower——[1]
62GNDGround——[1]
63PJ0General-purpose I/ORXD3PCINT9—[1]
64PJ1General-purpose I/OTXD3PCINT10—[1]
65PJ2General-purpose I/OXCK3PCINT11—[1]
66PJ3General-purpose I/OPCINT12—[1]
67PJ4General-purpose I/OPCINT13—[1]
68PJ5General-purpose I/OPCINT14—[1]
69PJ6General-purpose I/OPCINT15—[1]
70PG2General-purpose I/OALE—[1]
71PA7General-purpose I/OAD7—[1]
72PA6General-purpose I/OAD6—[1]
73PA5General-purpose I/OAD5—[1]
74PA4General-purpose I/OAD4—[1]
75PA3General-purpose I/OAD3—[1]
76PA2General-purpose I/OAD2—[1]
77PA1General-purpose I/OAD1—[1]
78PA0General-purpose I/OAD0—[1]
79PJ7General-purpose I/O——[1]
80VCCPower——[1]
81GNDGround——[1]
82PK7General-purpose I/OADC15PCINT23—[1]
83PK6General-purpose I/OADC14PCINT22—[1]
84PK5General-purpose I/OADC13PCINT21—[1]
85PK4General-purpose I/OADC12PCINT20—[1]
86PK3General-purpose I/OADC11PCINT19—[1]
87PK2General-purpose I/OADC10PCINT18—[1]
88PK1General-purpose I/OADC9PCINT17—[1]
89PK0General-purpose I/OADC8PCINT16—[1]
90PF7General-purpose I/OADC7TDI

JTAG shares this pin with ADC/GPIO. Release JTAG through the appropriate register/fuse settings before ADC or GPIO use.

[1]
91PF6General-purpose I/OADC6TDO

JTAG shares this pin with ADC/GPIO. Release JTAG through the appropriate register/fuse settings before ADC or GPIO use.

[1]
92PF5General-purpose I/OADC5TMS

JTAG shares this pin with ADC/GPIO. Release JTAG through the appropriate register/fuse settings before ADC or GPIO use.

[1]
93PF4General-purpose I/OADC4TCK

JTAG shares this pin with ADC/GPIO. Release JTAG through the appropriate register/fuse settings before ADC or GPIO use.

[1]
94PF3General-purpose I/OADC3—[1]
95PF2General-purpose I/OADC2—[1]
96PF1General-purpose I/OADC1—[1]
97PF0General-purpose I/OADC0—[1]
98AREFSystem—

ADC reference connection, not a supply output. Coordinate external-reference wiring with the internal-reference selection.

[1]
99GNDGround——[1]
100AVCCPower——[1]

General usage notes

Bare-MCU port bit. Configure I/O mode, peripheral and any required fuses; check voltage, current and clock limits in the MCU datasheet.

Sources

Pin and warning references

  1. ATmega640/1280/1281/2560/2561 complete datasheet · PDF p. 2Figure 1-1 · TQFP100 top view · all 100 package pins; not the 64-pin ATmega2561

Technical sources (1)

  1. ATmega640/1280/1281/2560/2561 complete datasheetMicrochip · Locked pin-source document; see sources/manifest.json for revision and SHA-256

Locked source documents

Pin reference · Datasheet