ATmega2560
8-bit AVR MicrocontrollerThe ATmega2560 is a 8-bit avr microcontroller from Atmel. View the full ATmega2560 datasheet below including key specifications.
Official ATmega2560 datasheet (PDF) — the source this page was extracted from.
Manufacturer
AtmelCategory
Microcontrollers (MCU)ATmega2560 Key Specifications
| Parameter | Value |
|---|---|
| ADC | 16-channel, 10-bit |
| SRAM | 8KB |
| Flash | 256KB in-system self-programmable |
| EEPROM | 4KB |
| USARTs | 4 |
| Interfaces | UART, SPI, I2C (2-wire), JTAG |
| Throughput | Up to 16 MIPS at 16MHz |
| Flash Endurance | 10,000 write/erase cycles |
| Instruction Set | 135 instructions, 32x8 general purpose registers |
| Max Clock Speed | 16MHz @ 4.5V-5.5V |
| Timers/Counters | 2x 8-bit and 4x 16-bit |
| EEPROM Endurance | 100,000 write/erase cycles |
| 16-Bit PWM Channels | 12 |
| General Purpose I/O | 86 lines |
| External Memory Space | Up to 64KB |
| Operating Temperature | -40°C to 85°C |
| Power-Down Current (1.8V) | 0.1µA |
| Active Current (1MHz, 1.8V) | 500µA |
| Supply Voltage (16MHz Grade) | 4.5V to 5.5V |
| Supply Voltage (ATmega2560V Low-Voltage Grade) | 1.8V to 5.5V |
ATmega2560 Overview
Part: ATmega640/V-1280/V-1281/V-2560/V-2561/V — Atmel Type: 8-bit AVR Microcontroller Description: High-performance, low-power 8-bit AVR microcontroller with up to 256KB In-System Self-Programmable Flash, 4KB EEPROM, 8KB SRAM, and up to 86 programmable I/O lines.
Operating Conditions:
- Supply voltage: 1.8V–5.5V
- Operating temperature: -40 to 85 °C
- Max clock frequency: 16 MHz @ 4.5V - 5.5V
Absolute Maximum Ratings:
Key Specs:
- Flash Memory: 64KB/128KB/256KB
- EEPROM: 4KB
- Internal SRAM: 8KB
- CPU Throughput: Up to 16 MIPS at 16MHz
- Data Retention: 20 years at 85°C / 100 years at 25°C
- Active Mode Current: 500μA at 1MHz, 1.8V
- Power-down Mode Current: 0.1μA at 1.8V
- ADC: 8/16-channel, 10-bit
Features:
- Advanced RISC Architecture with 135 powerful instructions
- JTAG (IEEE std. 1149.1 compliant) Interface for debug and programming
- Two 8-bit Timer/Counters and Four 16-bit Timer/Counters
- Four 8-bit PWM Channels and Six/Twelve PWM Channels with programmable resolution
- Two/Four Programmable Serial USARTs
- Master/Slave SPI Serial Interface
- Byte Oriented 2-wire Serial Interface
- Atmel QTouch library support for capacitive touch sensing
Applications:
- Embedded control applications
Package:
- 64-pad QFN/MLF (ATmega1281/2561)
- 64-lead TQFP (ATmega1281/2561)
- 100-lead TQFP (ATmega640/1280/2560)
- 100-ball CBGA (ATmega640/1280/2560)
ATmega2560 Features
- High Performance, Low Power Atmel ® AVR ® 8-Bit Microcontroller
- Advanced RISC Architecture
- -135 Powerful Instructions - Most Single Clock Cycle Execution
- -32 × 8 General Purpose Working Registers
- -Fully Static Operation
- -Up to 16 MIPS Throughput at 16MHz
- -On-Chip 2-cycle Multiplier
- High Endurance Non-volatile Memory Segments
- -64K/128K/256KBytes of In-System Self-Programmable Flash
- -4Kbytes EEPROM
- -8Kbytes Internal SRAM
- -Write/Erase Cycles:10,000 Flash/100,000 EEPROM
- -Data retention: 20 years at 85 C/ 100 years at 25 C
- -Optional Boot Code Section with Independent Lock Bits
- In-System Programming by On-chip Boot Program
· True Read-While-Write Operation
-
-Programming Lock for Software Security
-
Endurance: Up to 64Kbytes Optional External Memory Space
-
Atmel ® QTouch ® library support
-
-Capacitive touch buttons, sliders and wheels
-
-QTouch and QMatrix acquisition
-
-Up to 64 sense channels
-
JTAG (IEEE ® std. 1149.1 compliant) Interface
-
-Boundary-scan Capabilities According to the JTAG Standard
-
-Extensive On-chip Debug Support
-
-Programming of Flash, EEPROM, Fuses, and Lock Bits through the JTAG Interface
-
Peripheral Features
-
-Two 8-bit Timer/Counters with Separate Prescaler and Compare Mode
-
-Four 16-bit Timer/Counter with Separate Prescaler, Compare- and Capture Mode
-
-Real Time Counter with Separate Oscillator
-
-Four 8-bit PWM Channels
-
-Six/Twelve PWM Channels with Programmable Resolution from 2 to 16 Bits (ATmega1281/2561, ATmega640/1280/2560)
-
-Output Compare Modulator
-
-8/16-channel, 10-bit ADC (ATmega1281/2561, ATmega640/1280/2560)
-
-Two/Four Programmable Serial USART (ATmega1281/2561, ATmega640/1280/2560)
-
-Master/Slave SPI Serial Interface
-
-Byte Oriented 2-wire Serial Interface
-
-Programmable Watchdog Timer with Separate On-chip Oscillator
-
-On-chip Analog Comparator
-
-Interrupt and Wake-up on Pin Change
-
Special Microcontroller Features
-
-Power-on Reset and Programmable Brown-out Detection
-
-Internal Calibrated Oscillator
-
-External and Internal Interrupt Sources
-
-Six Sleep Modes: Idle, ADC Noise Reduction, Power-save, Power-down, Standby, and Extended Standby
-
I/O and Packages
-
-54/86 Programmable I/O Lines (ATmega1281/2561, ATmega640/1280/2560)
-
-64-pad QFN/MLF, 64-lead TQFP (ATmega1281/2561)
-
-100-lead TQFP, 100-ball CBGA (ATmega640/1280/2560)
-
-RoHS/Fully Green
-
Temperature Range:
-
--40 C to 85 C Industrial
-
Ultra-Low Power Consumption
-
-Active Mode: 1MHz, 1.8V: 500μA
-
-Power-down Mode: 0.1μA at 1.8V
-
Speed Grade:
-
0 - 16MHz @ 4.5V - 5.5V
-
ATmega640V/ATmega1280V/ATmega1281V:
• 0 - 4MHz @ 1.8V - 5.5V, 0 - 8MHz @ 2.7V - 5.5V
-
ATmega2560V/ATmega2561V:
-
0 - 2MHz @ 1.8V - 5.5V, 0 - 8MHz @ 2.7V - 5.5V
-
ATmega640/ATmega1280/ATmega1281:
-
0 - 8MHz @ 2.7V - 5.5V, 0 - 16MHz @ 4.5V - 5.5V
-
ATmega2560/ATmega2561:
ATmega2560 Pin Configuration
Figure 1-1. TQFP-pinout ATmega640/1280/2560
Figure 1-2. CBGA-pinout ATmega640/1280/2560
Table 1-1. CBGA-pinout ATmega640/1280/2560
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 10 | |
|---|---|---|---|---|---|---|---|---|---|
| G N D | AREF | PF0 | PF2 | PF5 | PK0 | PK3 | PK6 | G N D | V CC |
| A V CC | PG5 | PF1 | PF3 | PF6 | PK1 | PK4 | PK7 | PA0 | PA2 |
| PE2 | PE0 | PE1 | PF4 | PF7 | PK2 | PK5 | PJ7 | PA1 | PA3 |
| PE3 | PE4 | PE5 | PE6 | PH2 | PA4 | PA5 | PA6 | PA7 | PG2 |
| PE7 | PH0 | PH1 | PH3 | PH5 | PJ6 | PJ5 | PJ4 | PJ3 | PJ2 |
| V CC | PH4 | PH6 | PB0 | PL4 | PD1 | PJ1 | PJ0 | PC7 | G N D |
| G N D | PB1 | PB2 | PB5 | PL2 | PD0 | PD5 | PC5 | PC6 | V CC |
| PB3 | PB4 | RESET | PL1 | PL3 | PL7 | PD4 | PC4 | PC3 | PC2 |
| PH7 | PG3 | PB6 | PL0 | XTAL2 | PL6 | PD3 | PC1 | PC0 | PG1 |
| PB7 | PG4 | V CC | G N D | XTAL1 | PL5 | PD2 | PD6 | PD7 | PG0 |
N ote: The functions for each pin is the same as for the 100 pin packages shown in Figure 1-1 on page 2.
Table 1-1. CBGA-pinout ATmega640/1280/2560
Figure 1-3. Pinout ATmega1281/2561
N ote: The large center pad underneath the QF N /MLF package is made of metal and internally connected to G N D. It should be soldered or glued to the board to ensure good mechanical stability. If the center pad is left unconnected, the package might loosen from the board.
Figure 1-3. Pinout ATmega1281/2561
Variants on the same datasheet
These parts have exact links to the same datasheet. They are candidates to compare, not verified drop-in replacements; check package, pinout and electrical limits.
| Part Number | Manufacturer | Package |
|---|---|---|
| ATMEGA2560-16AU | Atmel | TQFP |
| ATMEGA2560-16AUR | Atmel | TQFP |
| ATMEGA2560-16CU | Atmel | — |
| ATMEGA2560-16CUR | Atmel | CBGA-100 |
| ATMEGA2560V | Atmel | — |
| ATMEGA2560V-8AU | Atmel | TQFP |
| ATMEGA2560V-8AUR | Atmel | 100-lead TQFP |
| ATMEGA2560V-8CU | Atmel | CBGA-100 |
| ATMEGA2560V-8CUR | Atmel | CBGA-100 |
Other Microcontrollers (MCU)
- STM32F407VET6 – STMicroelectronics, ARM Cortex-M4 MCU
- STM32H563ZIT6 – STMicroelectronics, Arm Cortex-M33 32-bit MCU
- RP2040 – Raspberry Pi, Microcontroller
- STM32H743VIT6 – STMicroelectronics, Microcontroller Unit (MCU)
- STM32L011F4U6 – STMicroelectronics, Ultra-low-power Arm Cortex-M0+ MCU
- STM32U575RIT6 – STMicroelectronics, Ultra-low-power Arm Cortex-M33 32-bit MCU
- GD32F103C8T6 – GigaDevice, Arm Cortex-M3 32-bit MCU
- STM32G474CB – STMicroelectronics, Arm Cortex-M4 32-bit MCU with FPU
All Microcontrollers (MCU) datasheetsAll Atmel datasheets (25)
Ask your AI agent about the ATmega2560
Connect SheetsData to Claude, Cursor, Codex or any MCP client and your agent reads this datasheet for you: pinout, limits, register maps and design checks, with the numbers taken from the PDF.
claude mcp add --transport http sheetsdata https://mcp.sheetsdata.com/mcp
Then ask: "Can the ATmega2560 run from my 12 V rail? Check it against the datasheet limits."
Create a free account $2 of usage every month, no card needed.