ATmega649A Atmel Corporation, ATmega649A Datasheet
ATmega649A
Specifications of ATmega649A
Available stocks
Related parts for ATmega649A
ATmega649A Summary of contents
Page 1
... On-Chip 2-cycle Multiplier • High Endurance Non-volatile Memory segments – In-System Self-programmable Flash Program Memory • 16Kbytes (ATmega169A/ATmega169PA) • 32Kbytes (ATmega329A/ATmega329PA/ATmega3290A/ATmega3290PA) • 64Kbytes (ATmega649A/ATmega649P/ATmega6490A/ATmega6490P) – EEPROM • 512bytes (ATmega169A/ATmega169PA) • 1Kbytes (ATmega329A/ATmega329PA/ATmega3290A/ATmega3290PA) • 2Kbytes (ATmega649A/ATmega649P/ATmega6490A/ATmega6490P) – Internal SRAM • 1Kbytes (ATmega169A/ATmega169PA) • ...
Page 2
... ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P 1. Pin Configurations 1.1 Pinout - 64A (TQFP) and 64M1 (QFN/MLF) Figure 1-1. Pinout ATmega169A/ATmega169PA/ATmega329A/ATmega329PA/ATmega649A/ATmega649P LCDCAP 1 (RXD/PCINT0) PE0 2 (TXD/PCINT1) PE1 3 (XCK/AIN0/PCINT2) PE2 4 (AIN1/PCINT3) PE3 5 (USCK/SCL/PCINT4) PE4 6 (DI/SDA/PCINT5) PE5 7 (DO/PCINT6) PE6 8 (CLKO/PCINT7) PE7 9 (SS/PCINT8) PB0 10 (SCK/PCINT9) PB1 11 (MOSI/PCINT10) PB2 12 (MISO/PCINT11) PB3 ...
Page 3
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P 1.2 Pinout - 100A (TQFP) Figure 1-2. Pinout ATmega3290A/ATmega3290PA/ATmega6490A/ATmega6490P 1 LCDCAP 2 (RXD/PCINT0) PE0 3 (TXD/PCINT1) PE1 4 (XCK/AIN0/PCINT2) PE2 5 (AIN1/PCINT3) PE3 (USCK/SCL/PCINT4) PE4 6 (DI/SDA/PCINT5) PE5 7 8 (DO/PCINT6) PE6 9 (CLKO/PCINT7) PE7 10 VCC 11 GND ...
Page 4
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P 1.3 Pinout - 64MC (DRQFN) Figure 1-3. Table 1-1. A1 PE0 A9 B1 VLCDCAP B8 A2 PE1 A10 B2 PE2 B9 A3 PE3 A11 B3 PE4 B10 A4 PE5 A12 B4 PE6 B11 A5 PE7 A13 B5 PB0 B12 ...
Page 5
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P 2. Overview The ATmega169A/169PA/329A/329PA/3290A/3290PA/649A/649P/6490A/6490P is a low-power CMOS 8-bit microcon- troller based on the Atmel AVR ® ® the ATmega169A/169PA/329A/329PA/3290A/3290PA/649A/649P/6490A/6490P achieves throughputs approaching 1 MIPS per MHz allowing the system designer to optimize power consumption versus processing speed. 2.1 ...
Page 6
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P architecture is more code efficient while achieving throughputs up to ten times faster than con- ventional CISC microcontrollers. The ATmega169A/169PA/329A/329PA/3290A/3290PA/649A/649P/6490A/6490P provides the following features: 16K/32K/64K bytes of In-System Programmable Flash with Read-While-Write capabilities, 512/1K/2K bytes EEPROM, 1K/2K/4K byte SRAM, ...
Page 7
... Comparison Between ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P Table 2-1. Differences between: ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P Device Flash ATmega169A 16Kbyte ATmega169PA 16Kbyte ATmega329A 32Kbyte ATmega329PA 32Kbyte ATmega3290A 32Kbytes ATmega3290PA 32Kbyte ATmega649A 64Kbyte ATmega649P 64Kbyte ATmega6490A 64Kbyte ATmega6490P 64Kbyte 8284DS–AVR–6/11 EEPROM RAM 512Bytes 1Kbyte 512Bytes 1Kbyte 1Kbyte 2Kbyte 1Kbyte ...
Page 8
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P 2.3 Pin Descriptions The following section describes the I/O-pin special functions. 2.3 Digital supply voltage. 2.3.2 GND Ground. 2.3.3 Port A (PA7...PA0) Port 8-bit bi-directional I/O port with internal pull-up resistors (selected for each ...
Page 9
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P Port D also serves the functions of various special features of the ATmega169A/169PA/329A/329PA/3290A/3290PA/649A/649P/6490A/6490P as listed on 79. 2.3.7 Port E (PE7...PE0) Port 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port ...
Page 10
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P bility. As inputs, Port J pins that are externally pulled low will source current if the pull-up resistors are activated. The Port J pins are tri-stated when a reset condition becomes active, even if the clock is not running. ...
Page 11
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P 3. Resources A comprehensive set of development tools, application notes and datasheets are available for download on http://www.atmel.com/avr. Note: 4. Data Retention Reliability Qualification results show that the projected data retention failure rate is much less than 1 PPM ...
Page 12
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P 7. Register Summary Note: Address Name Bit 7 LCDDR19 SEG339 (0xFF) LCDDR18 SEG331 (0xFE) LCDDR17 SEG323 (0xFD) LCDDR16 SEG315 (0xFC) LCDDR15 SEG307 (0xFB) LCDDR14 SEG239 (0xFA) LCDDR13 SEG231 (0xF9) LCDDR12 SEG223 (0xF8) LCDDR11 SEG215 (0xF7) LCDDR10 SEG207 (0xF6) LCDDR09 ...
Page 13
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P Address Name Bit 7 UBRR0L (0xC4) Reserved - (0xC3) UCSR0C - (0xC2) UCSR0B RXCIE0 (0xC1) UCSR0A RXC0 (0xC0) Reserved - (0xBF) Reserved - (0xBE) Reserved - (0xBD) Reserved - (0xBC) Reserved - (0xBB) USIDR (0xBA) USISR USISIF (0xB9) USICR ...
Page 14
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P Address Name Bit 7 TCNT1H (0x85) TCNT1L (0x84) Reserved - (0x83) TCCR1C FOC1A (0x82) TCCR1B ICNC1 (0x81) TCCR1A COM1A1 (0x80) DIDR1 - (0x7F) DIDR0 ADC7D (0x7E) Reserved - (0x7D) ADMUX REFS1 (0x7C) ADCSRB - (0x7B) ADCSRA ADEN (0x7A) ADCH ...
Page 15
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P Address Name Bit 7 TCNT0 0x26 (0x46) Reserved - 0x25 (0x45) TCCR0A FOC0A 0x24 (0x44) GTCCR TSM 0x23 (0x43) EEARH - 0x22 (0x42) EEARL 0x21 (0x41) EEDR 0x20 (0x40) EECR - 0x1F (0x3F) GPIOR0 0x1E (0x3E) EIMSK PCIE 0x1D ...
Page 16
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P 8. Instruction Set Summary Mnemonics Operands ARITHMETIC AND LOGIC INSTRUCTIONS ADD Rd, Rr Add two Registers ADC Rd, Rr Add with Carry two Registers ADIW Rdl,K Add Immediate to Word SUB Rd, Rr Subtract two Registers SUBI Rd, K ...
Page 17
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P Mnemonics Operands BRVC k Branch if Overflow Flag is Cleared BRIE k Branch if Interrupt Enabled BRID k Branch if Interrupt Disabled BIT AND BIT-TEST INSTRUCTIONS SBI P,b Set Bit in I/O Register CBI P,b Clear Bit in I/O ...
Page 18
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P Mnemonics Operands PUSH Rr Push Register on Stack POP Rd Pop Register from Stack MCU CONTROL INSTRUCTIONS NOP No Operation SLEEP Sleep WDR Watchdog Reset BREAK Break 8284DS–AVR–6/11 Description STACK ← ← STACK (see specific descr. for ...
Page 19
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P 9. Ordering Information 9.1 ATmega169A (3) Speed (MHz) Power Supply 16 1.8 - 5.5V Notes: 1. This device can also be supplied in wafer form. Please contact your local Atmel sales office for detailed ordering information and minimum quantities. ...
Page 20
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P 9.2 ATmega169PA (3) Speed (MHz) Power Supply 16 1.8 - 5.5V Notes: 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, ...
Page 21
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P 9.3 ATmega329A (3) Speed (MHz) Power Supply 20 1.8 - 5.5V Notes: 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 ...
Page 22
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P 9.4 ATmega329PA (3) Speed (MHz) Power Supply 20 1.8 - 5.5V Notes: 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 ...
Page 23
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P 9.5 ATmega3290A (3) Speed (MHz) Power Supply 20 1.8 - 5.5V Notes: 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 ...
Page 24
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P 9.6 ATmega3290PA (3) Speed (MHz) Power Supply 20 1.8 - 5.5V Notes: 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 ...
Page 25
... Thin Profile Plastic Quad Flat Package (TQFP) 64M1 64-pad 1.0mm, Quad Flat No-Lead/Micro Lead Frame Package (QFN/MLF) 8284DS–AVR–6/11 (2) Ordering Code ATmega649A-AU 64A (4) ATmega649A-AUR 64A ATmega649A-MU 64M1 (4) ATmega649A-MUR 64M1 351. Package Type (1) Package Type Operational Range Industrial 0°C to 85°C) (-4 35 ...
Page 26
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P 9.8 ATmega649P (3) Speed (MHz) Power Supply 16 1.8 - 5.5 V Notes: 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 ...
Page 27
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P 9.9 ATmega6490A (3) Speed (MHz) Power Supply 20 1.8 - 5.5V Notes: 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 ...
Page 28
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P 9.10 ATmega6490P (3) Speed (MHz) Power Supply 20 1.8 - 5.5V Notes: 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 ...
Page 29
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P 10. Packaging Information 10.1 64A PIN 1 PIN 0°~7° 0°~7° Notes: Notes: 1.This package conforms to JEDEC reference MS-026, Variation AEB. 1.This package conforms to JEDEC reference MS-026, Variation AEB. 2. Dimensions D1 and ...
Page 30
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P 10.2 64M1 D Marked Pin Marked Pin TOP VIEW TOP VIEW BOTTOM VIEW BOTTOM VIEW Notes: Notes: 1. JEDEC Standard MO-220, (SAW Singulation) Fig. ...
Page 31
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P 10.3 64MC Pin TOP VIEW eT/2 A26 B23 A25 B22 D2 B16 A18 B15 A17 L E2 BOTTOM VIEW Note: 1. The terminal # Laser-marked Feature. Package Drawing Contact: packagedrawings@atmel.com 8284DS–AVR–6/ ...
Page 32
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P 10.4 100A PIN 0°~7° L Notes: 1. This package conforms to JEDEC reference MS-026, Variation AED. 2. Dimensions D1 and E1 do not include mold protrusion. Allowable protrusion is 0.25 mm per side. Dimensions D1 and ...
Page 33
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P 11. Errata 11.1 ATmega169A No known errata 11.2 ATmega169A/169PA Rev Not sampled. 11.3 ATmega169PA Rev known errata. 11.4 ATmega329A/329PA rev. A • Interrupts may be lost when writing the timer registers in the asynchronous ...
Page 34
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P 11.6 ATmega329A/329PA rev. C • Interrupts may be lost when writing the timer registers in the asynchronous timer 1. Interrupts may be lost when writing the timer registers in the asynchronous timer The interrupt will be lost if a ...
Page 35
... Problem Fix/ Workaround Always check that the asynchronous Timer/Counter register neither have the value 0xFF nor 0x00 before writing to the asynchronous Timer Control Register (TCCRx), asynchronous Timer Counter Register (TCNTx), or asynchronous Output Compare Register (OCRx). 11.10 ATmega649A/649P/ATmega6490A/6490P No known errata. 8284DS–AVR–6/11 35 ...
Page 36
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P 12. Datasheet Revision History Please note that the referring page numbers in this section are referring to this document.The referring revision in this section are referring to the document revision. 12.1 Rev. 8284D - 06/ 12.2 Rev. ...
Page 37
... Atmel , Atmel logo and combinations thereof, AVR marks of Atmel Corporation or its subsidiaries. Windows 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 ...