Contents

README

markdown

ATMEGA2560-16AU

Microchip · Microcontrollers (MCU/MPU/SOC) · TQFP-100(14x14)

ATMEGA2560-16AU from Microchip, in a TQFP-100(14x14). Pinout and pin descriptions extracted from the manufacturer datasheet by ds2sf; symbol, footprint, and 3D from KiCad-official CAD.

Pinout

Pin Name Type Function
1 PG5/(OC0B) bidirectional Port G bit 5 (6-bit port with internal pull-ups). Alternate function: Timer/Counter0 Output Compare Match B output (OC0B).
2 PE0/(RXD0/PCINT8) bidirectional Port E bit 0. Alternate functions: USART0 Receive input (RXD0) and Pin Change Interrupt source 8 (PCINT8).
3 PE1/(TXD0) bidirectional Port E bit 1. Alternate function: USART0 Transmit output (TXD0).
4 PE2/(XCK0/AIN0) bidirectional Port E bit 2. Alternate functions: USART0 external clock (XCK0) and Analog Comparator positive input (AIN0).
5 PE3/(OC3A/AIN1) bidirectional Port E bit 3. Alternate functions: Timer/Counter3 Output Compare Match A (OC3A) and Analog Comparator negative input (AIN1).
6 PE4/(OC3B/INT4) bidirectional Port E bit 4. Alternate functions: Timer/Counter3 Output Compare Match B (OC3B) and External Interrupt 4 (INT4).
7 PE5/(OC3C/INT5) bidirectional Port E bit 5. Alternate functions: Timer/Counter3 Output Compare Match C (OC3C) and External Interrupt 5 (INT5).
8 PE6/(T3/INT6) bidirectional Port E bit 6. Alternate functions: Timer/Counter3 external counter input (T3) and External Interrupt 6 (INT6).
9 PE7/(CLKO/ICP3/INT7) bidirectional Port E bit 7. Alternate functions: divided system clock output (CLKO), Timer/Counter3 input capture (ICP3), and External Interrupt 7 (INT7).
10 VCC power_in Digital supply voltage. 4.5-5.5 V for the 16 MHz speed grade. Decouple with 100 nF close to the pin.
11 GND power_in Ground.
12 PH0/(RXD2) bidirectional Port H bit 0. Alternate function: USART2 Receive input (RXD2).
13 PH1/(TXD2) bidirectional Port H bit 1. Alternate function: USART2 Transmit output (TXD2).
14 PH2/(XCK2) bidirectional Port H bit 2. Alternate function: USART2 external clock (XCK2).
15 PH3/(OC4A) bidirectional Port H bit 3. Alternate function: Timer/Counter4 Output Compare Match A (OC4A).
16 PH4/(OC4B) bidirectional Port H bit 4. Alternate function: Timer/Counter4 Output Compare Match B (OC4B).
17 PH5/(OC4C) bidirectional Port H bit 5. Alternate function: Timer/Counter4 Output Compare Match C (OC4C).
18 PH6/(OC2B) bidirectional Port H bit 6. Alternate function: Timer/Counter2 Output Compare Match B (OC2B).
19 PB0/(SS/PCINT0) bidirectional Port B bit 0 (higher drive strength than other ports). Alternate functions: SPI Slave Select input (SS) and Pin Change Interrupt 0 (PCINT0).
20 PB1/(SCK/PCINT1) bidirectional Port B bit 1. Alternate functions: SPI serial clock (SCK) and Pin Change Interrupt 1 (PCINT1).
21 PB2/(MOSI/PCINT2) bidirectional Port B bit 2. Alternate functions: SPI Master-Out Slave-In (MOSI) and Pin Change Interrupt 2 (PCINT2).
22 PB3/(MISO/PCINT3) bidirectional Port B bit 3. Alternate functions: SPI Master-In Slave-Out (MISO) and Pin Change Interrupt 3 (PCINT3).
23 PB4/(OC2A/PCINT4) bidirectional Port B bit 4. Alternate functions: Timer/Counter2 Output Compare Match A (OC2A) and Pin Change Interrupt 4 (PCINT4).
24 PB5/(OC1A/PCINT5) bidirectional Port B bit 5. Alternate functions: Timer/Counter1 Output Compare Match A (OC1A) and Pin Change Interrupt 5 (PCINT5).
25 PB6/(OC1B/PCINT6) bidirectional Port B bit 6. Alternate functions: Timer/Counter1 Output Compare Match B (OC1B) and Pin Change Interrupt 6 (PCINT6).
26 PB7/(OC0A/OC1C/PCINT7) bidirectional Port B bit 7. Alternate functions: Timer/Counter0 Output Compare Match A (OC0A), Timer/Counter1 Output Compare Match C (OC1C), and Pin Change Interrupt 7 (PCINT7).
27 PH7/(T4) bidirectional Port H bit 7. Alternate function: Timer/Counter4 external counter input (T4).
28 PG3/(TOSC2) bidirectional Port G bit 3. Alternate function: Timer Oscillator pin 2 (TOSC2) when asynchronous Timer/Counter2 clocked from external 32.768 kHz crystal.
29 PG4/(TOSC1) bidirectional Port G bit 4. Alternate function: Timer Oscillator pin 1 (TOSC1) for asynchronous Timer/Counter2 crystal input.
30 RESET input Active-low reset input. A low level longer than the minimum pulse length (see “System and Reset Characteristics”, datasheet p.360) generates a reset even if the clock is not running.
31 VCC power_in Digital supply voltage (tie to same rail as other VCC pins). Decouple with 100 nF close to the pin.
32 GND power_in Ground.
33 XTAL2 output Output of the inverting crystal oscillator amplifier. Leave floating when using an external clock on XTAL1.
34 XTAL1 input Input to the inverting crystal oscillator amplifier and to the internal clock circuit. Drive with an external clock or connect a crystal between XTAL1 and XTAL2 with two load capacitors to ground.
35 PL0/(ICP4) bidirectional Port L bit 0. Alternate function: Timer/Counter4 input capture (ICP4).
36 PL1/(ICP5) bidirectional Port L bit 1. Alternate function: Timer/Counter5 input capture (ICP5).
37 PL2/(T5) bidirectional Port L bit 2. Alternate function: Timer/Counter5 external counter input (T5).
38 PL3/(OC5A) bidirectional Port L bit 3. Alternate function: Timer/Counter5 Output Compare Match A (OC5A).
39 PL4/(OC5B) bidirectional Port L bit 4. Alternate function: Timer/Counter5 Output Compare Match B (OC5B).
40 PL5/(OC5C) bidirectional Port L bit 5. Alternate function: Timer/Counter5 Output Compare Match C (OC5C).
41 PL6 bidirectional Port L bit 6 (general-purpose I/O with internal pull-up).
42 PL7 bidirectional Port L bit 7 (general-purpose I/O with internal pull-up).
43 PD0/(SCL/INT0) bidirectional Port D bit 0. Alternate functions: 2-wire (TWI/I2C) serial clock (SCL) and External Interrupt 0 (INT0).
44 PD1/(SDA/INT1) bidirectional Port D bit 1. Alternate functions: 2-wire (TWI/I2C) serial data (SDA) and External Interrupt 1 (INT1).
45 PD2/(RXD1/INT2) bidirectional Port D bit 2. Alternate functions: USART1 Receive input (RXD1) and External Interrupt 2 (INT2).
46 PD3/(TXD1/INT3) bidirectional Port D bit 3. Alternate functions: USART1 Transmit output (TXD1) and External Interrupt 3 (INT3).
47 PD4/(ICP1) bidirectional Port D bit 4. Alternate function: Timer/Counter1 input capture (ICP1).
48 PD5/(XCK1) bidirectional Port D bit 5. Alternate function: USART1 external clock (XCK1).
49 PD6/(T1) bidirectional Port D bit 6. Alternate function: Timer/Counter1 external counter input (T1).
50 PD7/(T0) bidirectional Port D bit 7. Alternate function: Timer/Counter0 external counter input (T0).
51 PG0/(WR) bidirectional Port G bit 0. Alternate function: External-memory-interface Write strobe (WR) when the XMEM interface is enabled.
52 PG1/(RD) bidirectional Port G bit 1. Alternate function: External-memory-interface Read strobe (RD) when the XMEM interface is enabled.
53 PC0/(A8) bidirectional Port C bit 0. Alternate function: External-memory-interface address line A8.
54 PC1/(A9) bidirectional Port C bit 1. Alternate function: External-memory-interface address line A9.
55 PC2/(A10) bidirectional Port C bit 2. Alternate function: External-memory-interface address line A10.
56 PC3/(A11) bidirectional Port C bit 3. Alternate function: External-memory-interface address line A11.
57 PC4/(A12) bidirectional Port C bit 4. Alternate function: External-memory-interface address line A12.
58 PC5/(A13) bidirectional Port C bit 5. Alternate function: External-memory-interface address line A13.
59 PC6/(A14) bidirectional Port C bit 6. Alternate function: External-memory-interface address line A14.
60 PC7/(A15) bidirectional Port C bit 7. Alternate function: External-memory-interface address line A15.
61 VCC power_in Digital supply voltage. Decouple with 100 nF close to the pin.
62 GND power_in Ground.
63 PJ0/(RXD3/PCINT9) bidirectional Port J bit 0. Alternate functions: USART3 Receive input (RXD3) and Pin Change Interrupt 9 (PCINT9).
64 PJ1/(TXD3/PCINT10) bidirectional Port J bit 1. Alternate functions: USART3 Transmit output (TXD3) and Pin Change Interrupt 10 (PCINT10).
65 PJ2/(XCK3/PCINT11) bidirectional Port J bit 2. Alternate functions: USART3 external clock (XCK3) and Pin Change Interrupt 11 (PCINT11).
66 PJ3/(PCINT12) bidirectional Port J bit 3. Alternate function: Pin Change Interrupt 12 (PCINT12).
67 PJ4/(PCINT13) bidirectional Port J bit 4. Alternate function: Pin Change Interrupt 13 (PCINT13).
68 PJ5/(PCINT14) bidirectional Port J bit 5. Alternate function: Pin Change Interrupt 14 (PCINT14).
69 PJ6/(PCINT15) bidirectional Port J bit 6. Alternate function: Pin Change Interrupt 15 (PCINT15).
70 PJ7 bidirectional Port J bit 7 (general-purpose I/O with internal pull-up).
71 VCC power_in Digital supply voltage. Decouple with 100 nF close to the pin.
72 GND power_in Ground.
73 PA7/(AD7) bidirectional Port A bit 7. Alternate function: multiplexed external-memory-interface Address/Data bit 7 (AD7).
74 PA6/(AD6) bidirectional Port A bit 6. Alternate function: multiplexed external-memory-interface Address/Data bit 6 (AD6).
75 PA5/(AD5) bidirectional Port A bit 5. Alternate function: multiplexed external-memory-interface Address/Data bit 5 (AD5).
76 PA4/(AD4) bidirectional Port A bit 4. Alternate function: multiplexed external-memory-interface Address/Data bit 4 (AD4).
77 PA3/(AD3) bidirectional Port A bit 3. Alternate function: multiplexed external-memory-interface Address/Data bit 3 (AD3).
78 PA2/(AD2) bidirectional Port A bit 2. Alternate function: multiplexed external-memory-interface Address/Data bit 2 (AD2).
79 PA1/(AD1) bidirectional Port A bit 1. Alternate function: multiplexed external-memory-interface Address/Data bit 1 (AD1).
80 PA0/(AD0) bidirectional Port A bit 0. Alternate function: multiplexed external-memory-interface Address/Data bit 0 (AD0).
81 PG2/(ALE) bidirectional Port G bit 2. Alternate function: External-memory-interface Address Latch Enable (ALE) when the XMEM interface is enabled.
82 PK7/(ADC15/PCINT23) bidirectional Port K bit 7 doubling as ADC channel 15 input; also Pin Change Interrupt 23 (PCINT23). Analog input range 0 V to AVCC (default), 10-bit resolution.
83 PK6/(ADC14/PCINT22) bidirectional Port K bit 6; ADC channel 14 input; Pin Change Interrupt 22 (PCINT22). Analog input range 0 V to AVCC (default), 10-bit resolution.
84 PK5/(ADC13/PCINT21) bidirectional Port K bit 5; ADC channel 13 input; Pin Change Interrupt 21 (PCINT21). Analog input range 0 V to AVCC (default), 10-bit resolution.
85 PK4/(ADC12/PCINT20) bidirectional Port K bit 4; ADC channel 12 input; Pin Change Interrupt 20 (PCINT20). Analog input range 0 V to AVCC (default), 10-bit resolution.
86 PK3/(ADC11/PCINT19) bidirectional Port K bit 3; ADC channel 11 input; Pin Change Interrupt 19 (PCINT19). Analog input range 0 V to AVCC (default), 10-bit resolution.
87 PK2/(ADC10/PCINT18) bidirectional Port K bit 2; ADC channel 10 input; Pin Change Interrupt 18 (PCINT18). Analog input range 0 V to AVCC (default), 10-bit resolution.
88 PK1/(ADC9/PCINT17) bidirectional Port K bit 1; ADC channel 9 input; Pin Change Interrupt 17 (PCINT17). Analog input range 0 V to AVCC (default), 10-bit resolution.
89 PK0/(ADC8/PCINT16) bidirectional Port K bit 0; ADC channel 8 input; Pin Change Interrupt 16 (PCINT16). Analog input range 0 V to AVCC (default), 10-bit resolution.
90 PF7/(ADC7/TDI) bidirectional Port F bit 7; ADC channel 7 analog input; also JTAG Test Data Input (TDI). Pull-up on TDI stays active during reset when JTAG is enabled.
91 PF6/(ADC6/TDO) bidirectional Port F bit 6; ADC channel 6 analog input; also JTAG Test Data Output (TDO).
92 PF5/(ADC5/TMS) bidirectional Port F bit 5; ADC channel 5 analog input; also JTAG Test Mode Select (TMS). Pull-up on TMS stays active during reset when JTAG is enabled.
93 PF4/(ADC4/TCK) bidirectional Port F bit 4; ADC channel 4 analog input; also JTAG Test Clock (TCK). Pull-up on TCK stays active during reset when JTAG is enabled.
94 PF3/(ADC3) bidirectional Port F bit 3; ADC channel 3 analog input. Digital GPIO when the ADC is not in use.
95 PF2/(ADC2) bidirectional Port F bit 2; ADC channel 2 analog input. Digital GPIO when the ADC is not in use.
96 PF1/(ADC1) bidirectional Port F bit 1; ADC channel 1 analog input. Digital GPIO when the ADC is not in use.
97 PF0/(ADC0) bidirectional Port F bit 0; ADC channel 0 analog input. Digital GPIO when the ADC is not in use.
98 AREF passive Analog reference voltage input for the A/D converter. Decouple to GND with 100 nF; may be tied to AVCC via an internal switch, or driven by an internal 1.1 V / 2.56 V bandgap depending on ADMUX[REFS1:0].
99 GND power_in Ground (return for AVCC and AREF; connect to the common ground plane at the pin).
100 AVCC power_in Analog supply for Port F and the A/D Converter. Must be tied to VCC even if the ADC is not used; when the ADC is used, connect via an LC/RC low-pass filter to VCC.

Key specifications

Parameter Value
Manufacturer Microchip
Package TQFP-100(14x14)
Category MCU
Pins 100

Ordering variants

  • ATmega2560-16AU
  • ATmega2560-16AUR
  • ATMEGA2560-16AUATmega2560-16CU
  • ATMEGA2560-16AUATmega2560-16CUR
  • ATMEGA2560-16AUATmega2560V-8CU
  • ATMEGA2560-16AUATmega2560V-8CUR
  • ATMEGA2560-16AUATmega2560V-8AU
  • ATMEGA2560-16AUATmega2560V-8AUR

CAD (KiCad official)

  • Symbol: ATMEGA2560-16AU
  • Footprint: Package_QFP:TQFP-100_14x14mm_P0.5mm
  • 3D model: TQFP-100(14x14) (KiCad packages3D, STEP)

Provenance

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

  • Datasheet: Microchip datasheet (None pp, sha256 8ee216d27cb2f273, retrieved 2026-08-17, tier: manufacturer)
  • Extractor: ds2sf (Claude). Every pin and dimension is cited to a datasheet page; it refuses to fabricate.
  • CAD: KiCad official libraries (CC-BY-SA 4.0).

Datasheet PDF

Symbol & Footprint

Schematic Symbol

Open full view ↗

PCB Footprint

Open full view ↗