Atmega644Pa: 8-Bit Avr Microcontrollers
Atmega644Pa: 8-Bit Avr Microcontrollers
Atmega644Pa: 8-Bit Avr Microcontrollers
ATmega644PA
DATASHEET SUMMARY
Introduction
®
The Atmel ATmega644PA is a low-power CMOS 8-bit microcontroller based
on the AVR® enhanced RISC architecture. By executing powerful
instructions in a single clock cycle, the ATmega644PA achieves throughputs
close to 1MIPS per MHz. This empowers system designer to optimize the
device for power consumption versus processing speed.
Feature
Atmel-42717A-ATmega644PA_Datasheet_Summary-05/2016
• 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
– 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 1×, 10× or 200×
– One Byte-oriented 2-wire Serial Interface (Philips I2C compatible)
– Two Programmable Serial USART
– One 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
– 40-pin PDIP
– 44-lead TQFP
– 44-pad VQFN/QFN
• Operating Voltage:
– 1.8 - 5.5V
• Speed Grades
– 0 - 4MHz @ 1.8V - 5.5V
– 0 - 10MHz @ 2.7V - 5.5V
– 0 - 20MHz @ 4.5 - 5.5V
• Power Consumption at 1MHz, 1.8V, 25°C
– Active Mode: 0.4mA
– Power-down Mode: 0.1μA
– Power-save Mode: 0.6μA (Including 32kHz RTC)
Note:
1. Refer to Data Retention
Related Links
Data Retention on page 12
ATmega644PA-PU 40P6
ATmega644PA-MU 44M1
ATmega644PA-MUR(4) 44M1
ATmega644PA-PN 40P6
ATmega644PA-MN 44M1
ATmega644PA-MNR(4) 44M1
Note:
1. This device can also be supplied in wafer form. Please contact your local Atmel sales office for
detailed ordering information and minimum quantities.
2. Pb-free packaging, complies to the European Directive for Restriction of Hazardous Substances
(RoHS directive). Also Halide free and fully Green.
3. Refer to Speed Grades for Speed vs. VCC
4. Tape & Reel.
Package Type
40P6 40-pin, 0.600” Wide, Plastic Dual Inline Package (PDIP)
44A 44-lead, Thin (1.0mm) Plastic Quad Flat Package (TQFP)
44M1 44-pad, 7 × 7 × 1.0mm body, lead pitch 0.50mm, Thermally Enhanced Plastic Very Thin Quad Flat No-
Lead (VQFN)
SRAM
TCK
TMS
TDI JTAG CPU
TDO OCD
Clock generation
PA[7:0]
TOSC1 I I/O PB[7:0]
32.768kHz
8MHz NVM N PORTS PC[7:0]
Calib RC PD[7:0]
XOSC programming FLASH /
TOSC2 128kHz int O
XTAL1 osc U
16MHz LP Power
T GPIOR[2:0]
XOSC External management
clock
XTAL2 and clock D EEPROM D T0
control A A TC 0 OC0A
T (8-bit)
T OC0B
A A
B B MISO
VCC EEPROMIF MOSI
Power U U SPI SCK
Supervision Watchdog S S SS
RESET Timer
POR/BOD & AIN0
RESET AIN1
AC ACO
GND Internal ADCMUX
ADC[7:0] Reference
AREF ADC
RxD0
PCINT[31:0]
INT[2:0] EXTINT USART 0 TxD0
XCK0
OC1A/B RxD1
TC 1
T1
(16-bit) USART 1 TxD1
ICP1 XCK1
5.1. Pinout
5.1.1. PDIP
(PCINT8/XCK0/T0) (ADC0/PCINT0)
(PCINT9/CLKO/T1) (ADC1/PCINT1)
(PCINT10/INT2/AIN0) (ADC2/PCINT2)
(PCINT11/OC0A/AIN1) (ADC3/PCINT3)
(PCINT12/OC0B/ (ADC4/PCINT4)
(PCINT13/MOSI) (ADC5/PCINT5)
(PCINT14/MISO) (ADC6/PCINT6)
(PCINT15//SCK) (ADC7/PCINT7)
(TOSC2/PCINT23)
(TOSC1/PCINT22)
(PCINT24/RXD0) (TDI/PCINT21)
(PCINT25/TXD0) (TDO/PCINT20)
(PCINT26/RXD1/INT0) (TMS/PCINT19) Power
Programming/debug
(PCINT28/XCK1/OC1B) (SDA/PCINT17) Digital
Crystal/Osc
(PCINT30/OC2B/ICP) (OC2A/PCINT31)
PB3 (AIN1/OC0A/PCINT11)
PB2 (AIN0/INT2/PCINT10)
PB4 (SS/OC0B/PCINT12)
PB1 (T1/CLKO/PCINT9)
PB0 (XCK0/T0/PCINT8)
Power
PA0 (ADC0/PCINT0)
PA1 (ADC1/PCINT1)
PA2 (ADC2/PCINT2)
PA3 (ADC3/PCINT3)
Ground
Programming/debug
Digital
Analog
GND
VCC
Crystal/Osc
44
43
42
41
40
39
38
37
36
35
34
(PCINT13/MOSI) PB5 1 33 PA4 (ADC4/PCINT4)
(PCINT14/MISO) PB6 2 32 PA5 (ADC5/PCINT5)
(PCINT15/SCK) PB7 3 31 PA6 (ADC6/PCINT6)
RESET 4 30 PA7 (ADC7/PCINT7)
VCC 5 29 AREF
GND 6 28 GND
XTAL2 7 27 AVCC
XTAL1 8 26 PC7 (TOSC2/PCINT23)
(PCINT24/RXD0) PD0 9 25 PC6 (TOSC1/PCINT22)
(PCINT25/TXD0) PD1 10 24 PC5 (TDI/PCINT21)
(PCINT26/RXD1/INT0) PD2 11 23 PC4 (TDO/PCINT20)
12
13
14
15
16
17
18
19
20
21
22(PCINT19/TMS) PC3
(PCINT27/TXD1/INT1) PD3
(PCINT28/XCK1/OC1B) PD4
(PCINT17/SDA) PC1
(PCINT18/TCK) PC2
(PCINT30/OC2B/ICP1) PD6
(PCINT29/OC1A) PD5
(PCINT31/OC2A) PD7
(PCINT16/SCL) PC0
GND
VCC
5.2.1. VCC
Digital supply voltage.
5.2.2. GND
Ground.
5.2.7. RESET
Reset input. A low level on this pin for longer than the minimum pulse length will generate a reset, even if
the clock is not running. Shorter pulses are not guaranteed to generate a reset.
5.2.8. XTAL1
Input to the inverting Oscillator amplifier and input to the internal clock operating circuit.
5.2.9. XTAL2
Output from the inverting Oscillator amplifier.
5.2.10. AVCC
AVCC is the supply voltage pin for Port A and the Analog-to-digital Converter. It should be externally
connected to VCC, even if the ADC is not used. If the ADC is used, it should be connected to VCC through
a low-pass filter.
5.2.11. AREF
This is the analog reference pin for the Analog-to-digital Converter.
32-pin 40-pin DRQFN VFBGA PAD EXTINT PCINT ADC/AC OSC T/C # 0 T/C # 1 USART I2C SPI JTAG
TQFP/ PIPD Pin# Pin#
QFN/ Pin #
MLF Pin
#
4 9 B2 C2 RESET
5 10 A3 A5 VCC
6 11 B3 A1 GND
7 12 A4 D2 XTAL2
8 13 B4 E1 XTAL1
27 30 A15 E7 AVCC
28 31 B13 D1 GND
- - - D4 GND
- - - D7 GND
- - - G1 GND
- - - G4 GND
- - - G7 GND
7.1. Resources
A comprehensive set of development tools, application notes, and datasheets are available for download
on http://www.atmel.com/avr.
D
PIN
1
E1
SEATING PLANE
A1
L
B
B1
e
E
COMMON DIMENSIONS
0º ~ 15º REF (Unit of Measure = mm)
C
SYMBOL MIN NOM MAX NOTE
eB A – – 4.826
A1 0.381 – –
D 52.070 – 52.578 Note 2
E 15.240 – 15.875
E1 13.462 – 13.970 Note 2
B 0.356 – 0.559
B1 1.041 – 1.651
Notes: L 3.048 – 3.556
1. This package conforms to JEDEC reference MS-011, Variation AC. C 0.203 – 0.381
2. Dimensions D and E1 do not include mold Flash or Protrusion.
Mold Flash or Protrusion shall not exceed 0.25mm (0.010"). eB 15.494 – 17.526
e 2.540 TYP
13/02/2014
P IN 1 IDENTIFIER
P IN 1
e B
E1 E
D1
D
C 0°~7°
A1 A2 A
L
COMMON DIMENS IONS
(Unit of Me a s ure = mm)
06/02/2014
Marked Pin# 1 I D
SE ATING PLANE
A1
TOP VIEW
A3
A
K
L
Pin #1 Co rne r SIDE VIEW
D2
9/26/08
TITLE GPC DRAWING NO. REV.
Package Drawing Contact: 44M1, 44-pad, 7 x 7 x 1.0mm body, lead
[email protected] pitch 0.50mm, 5.20mm exposed pad, thermally ZWS 44M1 H
enhanced plastic very thin quad flat no
lead package (VQFN)
® ® ®
Atmel , Atmel logo and combinations thereof, Enabling Unlimited Possibilities , AVR , and others are registered trademarks or trademarks of Atmel Corporation in
U.S. and other countries. Other terms and product names may be trademarks of others.
DISCLAIMER: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any
intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND
CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED
OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS AND PROFITS, BUSINESS
INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED
OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this
document and reserves the right to make changes to specifications and products descriptions at any time without notice. Atmel does not make any commitment to
update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive
applications. Atmel products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life.
SAFETY-CRITICAL, MILITARY, AND AUTOMOTIVE APPLICATIONS DISCLAIMER: Atmel products are not designed for and will not be used in connection with any
applications where the failure of such products would reasonably be expected to result in significant personal injury or death (“Safety-Critical Applications”) without
an Atmel officer's specific written consent. Safety-Critical Applications include, without limitation, life support devices and systems, equipment or systems for the
operation of nuclear facilities and weapons systems. Atmel products are not designed nor intended for use in military or aerospace applications or environments
unless specifically designated by Atmel as military-grade. Atmel products are not designed nor intended for use in automotive applications unless specifically
designated by Atmel as automotive-grade.