• High-performance, Low-power AVR® 8-bit Microcontroller
• Advanced RISC Architecture
– 133 Powerful Instructions – Most Single Clock Cycle Execution
– 32 x 8 General Purpose Working Registers + Peripheral Control Registers
– Fully Static Operation
– Up to 16 MIPS Throughput at 16 MHz
– On-chip 2-cycle Multiplier
• High Endurance Non-volatile Memory segments
– 128K Bytes of In-System Self-programmable Flash program memory
– 4K Bytes EEPROM
– 4K Bytes Internal SRAM
– Write/Erase cycles: 10,000 Flash/100,000 EEPROM
– Data retention: 20 years at 85°C/100 years at 25°C (1)
– Optional Boot Code Section with Independent Lock Bits In-System Programming by On-chip Boot Program True Read-While-Write Operation
– Up to 64K Bytes OptionalExternal Memory Space
– Programming Lock for Software Security
– SPI Interface for In-System Programming
• 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
– Two 8-bit Timer/Counters with Separate Prescalers and Compare Modes
– Two Expanded 16-bit Timer/Counters with Separate Prescaler, Compare Mode and Capture Mode
– Real Time Counter with Separate Oscillator
– Two 8-bit PWM Channels
– 6 PWM Channels with Programmable Resolution from 2 to 16 Bits
– Output Compare Modulator
– 8-channel, 10-bit ADC
8 Single-ended Channels
7 Differential Channels
2 Differential Channels with Programmable Gain at 1x, 10x, or 200x
– Byte-oriented Two-wire Serial Interface
– Dual Programmable Serial USARTs
– Master/Slave SPI Serial Interface
– Programmable Watchdog Timer with On-chip Oscillator
– On-chip Analog Comparator
• Special Microcontroller
– Power-on Reset and Programmable Brown-out Detection
– Internal Calibrated RC Oscillator
– External and Internal Interrupt Sources
– Six Sleep Modes: Idle, ADC Noise Reduction, Power-save, Power-down, Standby, and Extended Standby
– Software Selectable Clock Frequency
– ATmega103 Compatibility Mode Selected by a Fuse
– Global Pull-up Disable
• I/O and Packages
– 53 Programmable I/O Lines
– 64-lead TQFP and 64-pad QFN/MLF
• Operating Voltages
– 2.7 - 5.5V
• Speed Grades
– 0 - 16 MHz
Core
AVR
Data Bus Width
8 bit
Maximum Clock Frequency
16 MHz
Program Memory Size
128 KB
Data RAM Size
4 KB
On Chip ADC
Yes
Operating Supply Voltage
2.7 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Package / Case
TQFP-64
Mounting Style
SMD/SMT
A/D Bit Size
10 bit
A/D Channels Available
8
Data ROM Size
4 KB
Interface Type
JTAG
Minimum Operating Temperature
- 40 C
Number of Programmable I/Os
53
Number of Timers
4
Processor Series
megaAVR
Program Memory Type
Flash
Factory Pack Quantity
90
ModelsDescriptionOperation
ATMEGA1284P-AUR8-bit Microcontrollers - MCU, MICROCHIP, TQFP-44Compare
ATMEGA1284P-MU8-bit Microcontrollers - MCU, MICROCHIP, VQFN-44Compare
ATMEGA1284-PU8-bit Microcontrollers - MCU, MICROCHIP, PDIP-40Compare
ATMEGA128A-AN8-bit Microcontrollers - MCU, MICROCHIP, TQFP-64Compare
ATMEGA1281R212-MU8-bit Microcontrollers - MCU, MICROCHIP, MLF-64Compare
ATMEGA1284P-PU8-bit Microcontrollers - MCU, ATMEL, PDIP-40Compare