ATMEGA644PA-AU
8-bit AVR MicrocontrollerThe ATMEGA644PA-AU is a 8-bit avr microcontroller from Atmel. View the full ATMEGA644PA-AU datasheet below including key specifications, pinout, electrical characteristics, absolute maximum ratings.
Manufacturer
Atmel
Category
8-bit AVR Microcontroller
Package
ML (44-lead, Thin (1.0mm) plastic gull wing quad flat package (TQFP)), PW (44-pad, 7 x 7 x 1.0mm body, lead pitch 0.50mm, quad flat no-lead/micro lead frame package (QFN/MLF))
Key Specifications
| Parameter | Value |
|---|---|
| Adc Channels | 8 |
| Adc Resolution | 10-bit |
| Sram Memory Size | 4 KB |
| Flash Memory Size | 64 KB |
| Idle Mode Current | 2.4 mA |
| Max Cpu Frequency | 16 MHz |
| Eeprom Memory Size | 2 KB |
| Active Mode Current | 8 mA |
| Supply Voltage Range | 2.7V to 5.5V |
| Programmable Io Lines | 32 |
| Power Down Mode Current | 0.8 µA |
| Operating Temperature Range | -40°C to +125°C |
Overview
Part: ATmega164P/324P/644P — Atmel Type: 8-bit AVR Microcontroller Description: High-performance, low-power 8-bit AVR microcontroller with 16/32/64 KB in-system self-programmable Flash, 512B/1K/2K EEPROM, 1/2/4K SRAM, and up to 16 MIPS throughput at 16MHz.
Operating Conditions:
- Supply voltage: 2.7 to 5.5V
- Operating temperature: -40 to +125 °C (Automotive Grade 1)
- Speed: 0 to 8MHz at 2.7 to 5.5V, 0 to 16MHz at 4.5 to 5.5V
Absolute Maximum Ratings:
Key Specs:
- CPU: 8-bit AVR RISC
- Max CPU frequency: 16 MHz
- Program memory: 16/32/64 KB In-system self-programmable Flash
- Data EEPROM: 512B/1K/2K
- Internal SRAM: 1/2/4 KB
- I/O lines: 32 programmable
- ADC: 8-channel, 10-bit
- Active mode current (8MHz, 5V, 25°C): 8 mA
- Power-down mode current (8MHz, 5V, 25°C): 0.8 μA
Features:
- Advanced RISC architecture with 131 instructions
- On-chip 2-cycle multiplier
- True read-while-write Flash operation
- JTAG (IEEE std. 1149.1 compliant) interface for debug and programming
- Two 8-bit Timer/Counters, one 16-bit Timer/Counter
- Real time counter with separate oscillator
- Six PWM channels
- Byte-oriented two-wire serial interface
- Two programmable serial USART
- Master/slave SPI serial interface
- Programmable watchdog timer with separate on-chip oscillator
- On-chip analog comparator
- Power-on reset and programmable brown-out detection
- Internal calibrated RC oscillator
- Six sleep modes: Idle, ADC noise reduction, power-save, power-down, standby and extended standby
Applications:
- Embedded control applications
Package:
- 44-lead TQFP
- 44-pad QFN/MLF
Features
-
High-performance, low-power AVR ® 8-bit microcontroller
-
Advanced RISC architecture
-
131 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
-
Nonvolatile program and data memories
-
16/32/64Kbytes of in-system self-programmable flash
-
Endurance: 10,000 write/erase cycles
-
Optional boot code section with independent lock bits
-
In-system programming by on-chip boot program
-
True read-while-write operation
-
512B/1K/2Kbytes EEPROM
-
Endurance: 100,000 write/erase cycles
-
1/2/4Kbytes internal SRAM
-
Programming lock for software security
-
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 prescalers and compare modes
-
One 16-bit Timer/Counter with separate prescaler, compare mode, and capture mode
-
Real time counter with separate oscillator
-
Six PWM channels
-
8-channel, 10-bit ADC
-
Differential mode with selectable gain at 1x, 10x or 200x (1)
-
Byte-oriented two-wire serial interface
-
Two programmable serial USART
-
Master/slave SPI 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 RC 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
-
32 programmable I/O lines
-
44-lead TQFP, and 44-pad QFN/MLF
-
Operating voltages
-
2.7 to 5.5V for ATmega164P/324P/644P
-
Speed grades
-
ATmega164P/324P/644P: 0 to 8MHz at 2.7 to 5.5V, 0 to 16MHz at 4.5 to 5.5V
-
Power consumption at 8MHz, 5V, 25°C for ATmega644P
-
Active mode: 8mA
-
Idle mode: 2.4mA
-
Power-down mode: 0.8μA
Pin Configuration
ATMEGA644PA-AU Pinout
Package: 44-lead TQFP
| Pin | Name | Type | Description |
|---|---|---|---|
| 1 | PB5 | I/O | PCINT13/CP3/MOSI |
| 2 | PB6 | I/O | PCINT14/MISO |
| 3 | PB7 | I/O | PCINT15/SCK |
| 4 | RESET | I | Reset (active low) |
| 5 | VCC | P | Supply voltage |
| 6 | GND | P | Ground |
| 7 | XTAL2 | I/O | Crystal oscillator pin 2 |
| 8 | XTAL1 | I/O | Crystal oscillator pin 1 |
| 9 | PD0 | I/O | PCINT24/RXD0/T3 |
| 10 | PD1 | I/O | PCINT25/TXD0 |
| 11 | PD2 | I/O | PCINT26/RXD1/INT0 |
| 12 | PD3 | I/O | PCINT27/TXD1/INT1 |
| 13 | PD4 | I/O | PCINT28/XCK1/OC1B |
| 14 | PD5 | I/O | PCINT29/OC1A |
| 15 | PD6 | I/O | PCINT30/OC2B/ICP |
| 16 | PD7 | I/O | PCINT31/OC2A |
| 17 | VCC | P | Supply voltage |
| 18 | GND | P | Ground |
| 19 | PC0 | I/O | PCINT16/SCL |
| 20 | PC1 | I/O | PCINT17/SDA |
| 21 | PC2 | I/O | PCINT18/TCK |
| 22 | PC3 | I/O | PCINT19/TMS |
| 23 | PC4 | I/O | TDO/PCINT20 |
| 24 | PC5 | I/O | TDI/PCINT21 |
| 25 | PC6 | I/O | TOSC1/PCINT22 |
| 26 | PC7 | I/O | TOSC2/PCINT23 |
| 27 | AVCC | P | Analog supply voltage |
| 28 | GND | P | Ground |
| 29 | AREF | I | Analog reference |
| 30 | PA7 | I/O | ADC7/PCINT7 |
| 31 | PA6 | I/O | ADC6/PCINT6 |
| 32 | PA5 | I/O | ADC5/PCINT5 |
| 33 | PA4 | I/O | ADC4/PCINT4 |
| 34 | PA0 | I/O | ADC0/PCINT0 |
| 35 | PA1 | I/O | ADC1/PCINT1 |
| 36 | PA2 | I/O | ADC2/PCINT2 |
| 37 | PA3 | I/O | ADC3/PCINT3 |
| 38 | VCC | P | Supply voltage |
| 39 | GND | P | Ground |
| 40 | PB0 | I/O | PCINT8/XCK0/T0 |
| 41 | PB1 | I/O | PCINT9/CLKO/T1 |
| 42 | PB2 | I/O | PCINT10/INT2/AIN0 |
| 43 | PB3 | I/O | PCINT11/OC0A/AIN1 |
| 44 | PB4 | I/O | PCINT12/OC0B/SS |
Notes
- Port A (PA0–PA7): 8-channel ADC inputs with PCINT capability
- Port B (PB0–PB7): General-purpose I/O with SPI interface (MOSI/MISO/SCK/SS) and timer functions
- Port C (PC0–PC7): General-purpose I/O with I²C (SCL/SDA), JTAG interface (TCK/TMS/TDI/TDO), and timer oscillator pins
- Port D (PD0–PD7): General-purpose I/O with UART interfaces (RXD0/TXD0, RXD1/TXD1) and timer functions
- Power pins: VCC (pins 5, 17, 38), GND (pins 6, 18, 28, 39), AVCC (pin 27), AREF (pin 29)
- Crystal pins: XTAL1 (pin 8), XTAL2 (pin 7)
- RESET: Active-low reset input (pin 4)
- All I/O pins support Pin Change Interrupts (PCINT)
Electrical Characteristics
Table 26-1. TA = -40 C to 125 C, V CC = 2.7V to 5.5V(Unless Otherwise Noted)| Parameter | Condition | Symbol | Min. | Typ. | Max. | Unit | |-----------------------------------------------|--------------------|----------|--------|--------|-------------|--------| | Input low voltage, except XTAL1 and reset pin | V CC = 2.7V - 5.5V | V IL | -0.5 | | 0.3V CC(1)| V | | Input low voltage, XTAL1 pin | V CC = 2.7V - 5.5V | V IL1 | -0.5 | | 0.1V CC(1)| V | | Input low voltage, RESET pin | V CC = 2.7V - 5.5V | V IL2 | -0.5 | | 0.3V CC(1)| V |
Notes: 1. 'Max' means the highest value where the pin is guaranteed to be read as low
- 'Min' means the lowest value where the pin is guaranteed to be read as high
- Although each I/O port can sink more than the test conditions(20mA at VCC = 5V, 10mA at VCC = 3V)under steady state conditions(non-transient), the following must be observed:
- 1.)The sum of all IOL, for ports A0-A7, G2, C4-C7 should not exceed 100mA.
- 2.)The sum of all IOL, for ports C0-C3, G0-G1, D0-D7 should not exceed 100mA.
- 3.)The sum of all IOL, for ports G3-G5, B0-B7, E0-E7 should not exceed 100mA.
- 4.)The sum of all IOL, for ports F0-F7 should not exceed 100mA.
If IOL exceeds the test condition, VOL may exceed the related specification. Pins are not guaranteed to sink current greater than the listed test condition.
- Although each I/O port can source more than the test conditions(20mA at VCC = 5V, 10mA at VCC = 3V)under steady state conditions(non-transient), the following must be observed:
- 1)The sum of all IOH, for ports A0-A7, G2, C4-C7 should not exceed 100mA.
- 2)The sum of all IOH, for ports C0-C3, G0-G1, D0-D7 should not exceed 100mA.
- 3)The sum of all IOH, for ports G3-G5, B0-B7, E0-E7 should not exceed 100mA.
- 4)The sum of all IOH, for ports F0-F7 should not exceed 100mA.
If IOH exceeds the test condition, VOH may exceed the related specification. Pins are not guaranteed to source current greater than the listed test condition.
- Values indicated represent typical data from design simulation.
Table 26-1. TA = -40 C to 125 C, V CC = 2.7V to 5.5V(Unless Otherwise Noted)(Continued)| Parameter | Condition | Symbol | Min. | Typ. | Max. | Unit |
|-------------------------------------------------|---------------------------------------------------|------------|-------------|---------|------------|--------|
| Input high voltage, except XTAL1 and RESET pins | V CC = 2.7V - 5.5V | V IH | 0.6V CC(2)| | V CC + 0.5 | V |
| Input high voltage, XTAL1 pin | V CC = 2.7V - 5.5V | V IH1 | 0.7V CC(2)| | V CC + 0.5 | V |
| Input high voltage, RESET pin | V CC = 2.7V - 5.5V | V IH2 | 0.9V CC(2)| | V CC + 0.5 | V |
| Output low voltage(3), | I OL = 20 mA, V CC = 5V I OL = 5 mA, V CC = 3V | V OL | | | 0.8 0.5 | V |
| Output high voltage(4), | I OH = -20 mA, V CC = 5V I OH = -10 mA, V CC = 3V | V OH | 4.1 2.3 | | | V |
| Input leakage Current I/O pin | V CC = 5.5V, pin low(absolute value)| I IL | | | 1 | μA |
| Input leakage Current I/O pin | V CC = 5.5V, pin high(absolute value)| I IH | | | 1 | μA |
| Reset pull-up resistor | | R RST | 30 | | 60 | k |
| I/O pin pull-up resistor | | R PU | 20 | | 50 | k |
| Analog comparator Input offset voltage | V CC = 5V V in = V CC /2 | V ACIO | | <10 | 40 | mV |
| Analog comparator Input leakage current | V CC = 5V V in = V CC /2 | I ACLK | -50 | | 50 | nA |
| Analog comparator Propagation delay | V CC = 2.7V V CC = 4.0V | t ACID(5)| | 750 500 | | ns |
- 'Min' means the lowest value where the pin is guaranteed to be read as high
- Although each I/O port can sink more than the test conditions(20mA at VCC = 5V, 10mA at VCC = 3V)under steady state conditions(non-transient), the following must be observed:
- 1.)The sum of all IOL, for ports A0-A7, G2, C4-C7 should not exceed 100mA.
- 2.)The sum of all IOL, for ports C0-C3, G0-G1, D0-D7 should not exceed 100mA.
- 3.)The sum of all IOL, for ports G3-G5, B0-B7, E0-E7 should not exceed 100mA.
- 4.)The sum of all IOL, for ports F0-F7 should not exceed 100mA.
If IOL exceeds the test condition, VOL may exceed the related specification. Pins are not guaranteed to sink current greater than the listed test condition.
- Although each I/O port can source more than the test conditions(20mA at VCC = 5V, 10mA at VCC = 3V)under steady state conditions(non-transient), the following must be observed:
- 1)The sum of all IOH, for ports A0-A7, G2, C4-C7 should not exceed 100mA.
- 2)The sum of all IOH, for ports C0-C3, G0-G1, D0-D7 should not exceed 100mA.
- 3)The sum of all IOH, for ports G3-G5, B0-B7, E0-E7 should not exceed 100mA.
- 4)The sum of all IOH, for ports F0-F7 should not exceed 100mA.
- If IOH exceeds the test condition, VOH may exceed the related specification. Pins are not guaranteed to source current greater than the listed test condition.
- Values indicated represent typical data from design simulation.
## 26.2.1 ATmega644P DC Characteristics
Table 26-2. TA = -40 C to 125 C, V CC = 2.7V to 5.5V(Unless Otherwise Noted)| Parameter | Condition | Symbol | Min. | Typ. | Max. | Unit | |--------------------------|-------------------------|----------|--------|--------|--------|--------| | Power supply current(1)| Active 4MHz, V CC = 3V | I CC | | 2.7 | 4 | mA | | Power supply current(1)| Active 8MHz, V CC = 5V | I CC | | 9.5 | 12 | mA | | Power supply current(1)| Idle 4MHz, V CC = 3V | I CC | | 0.7 | 1.2 | mA | | Power supply current(1)| Idle 8MHz, V CC = 5V)| I CC | | 3 | 4 | mA | | Power-down mode | WDT enabled, V CC = 3V | I CC | | 10 | 60 | μA | | Power-down mode | WDT enabled, V CC = 5V | I CC | | 15 | 95 | μA | | Power-down mode | WDT disabled, V CC = 3V | I CC | | 7 | 54 | μA | | Power-down mode | WDT disabled, V CC = 5V | I CC | | 10 | 85 | μA |
Note: 1. All bits set in the Section 8.12.3 'PRR - Power Reduction Register' on page 37.
Absolute Maximum Ratings
Stresses beyond those listed under 'Absolute Maximum Ratings' may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
| Parameters | Min. | Typ. | Max. | Unit |
|---|---|---|---|---|
| Operating temperature | -55 | +125 | °C | |
| Storage temperature | -65 | +150 | °C | |
| Voltage on any pin except RESET with respect to ground | -0.5 | V CC + 0.5 | V | |
| Voltage on RESET with respect to ground | -0.5 | +13.0 | V | |
| Maximum operating voltage | 6.0 | V | ||
| DC current per I/O Pin | 40.0 | mA | ||
| DC current V CC and GND pins | 200.0 | mA | ||
| Injection current at V CC = 0V | ±5.0(1) | mA | ||
| Injection current at V CC = 5V | ±1.0 | mA |
Note: 1. Maximum current per port = ±30mA
Ordering Information
| Speed (MHz) (3) | Power Supply | Ordering Code | Package (1) | Operational Range |
|---|---|---|---|---|
| 8-16 | 2.7 - 5.5V | ATmega164P-A15AZ (2) | ML | -40°C to +125°C |
| 8-16 | 2.7 - 5.5V | ATmega164P-A15MZ (2) | PW | -40°C to +125°C |
| 8-16 | 2.7 - 5.5V | ATmega324P-A15AZ (2) | ML | -40°C to +125°C |
| 8-16 | 2.7 - 5.5V | ATmega324P-A15MZ (2) | PW | -40°C to +125°C |
Related Variants
The following components are covered by the same datasheet.
| Part Number | Manufacturer | Package |
|---|---|---|
| ATMEGA164P | Atmel | — |
| ATMEGA164P/324P/644P | Atmel | — |
| ATMEGA324P | Atmel | — |
| ATMEGA644P | Atmel | — |
| ATMEGA644P-15AZ | Atmel | — |
| ATMEGA644P-15MZ | Atmel | — |
| ATMEGA644P-A15AZ | Atmel | — |
| ATMEGA644P-A15MZ | Atmel | — |
Get structured datasheet data via API
Get started free