ATMEGA169A-MU Atmel, ATMEGA169A-MU Datasheet
![IC MCU AVR 16K FLASH 64QFN](/photos/12/13/121326/313-64-qfn_sml.jpg)
ATMEGA169A-MU
Specifications of ATMEGA169A-MU
Related parts for ATMEGA169A-MU
ATMEGA169A-MU Summary of contents
Page 1
... Advanced RISC Architecture – 130 Powerful Instructions – Most Single Clock Cycle Execution – General Purpose Working Registers – Fully Static Operation – 16MIPS Throughput at16MHz (ATmega169A/169PA/649A/649P) – MIPS Throughput at 20 MHz (ATmega329A/329PA/3290A/3290PA/6490A/6490P) – On-Chip 2-cycle Multiplier • High Endurance Non-volatile Memory segments – ...
Page 2
... 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 13 (OC0A/PCINT12) PB4 14 (OC1A/PCINT13) PB5 ...
Page 3
... ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 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 12 DNC (PCINT24/SEG35) PJ0 13 14 (PCINT25/SEG34) PJ1 15 DNC 16 DNC 17 DNC 18 DNC (SS/PCINT8) PB0 ...
Page 4
... A8 PB4 A16 B15 A17 ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 4 Pinout ATmega169A/ATmega169PA Top view DRQFN-64 Pinout ATmega169A/ATmega169PA PB7 A18 PB6 B16 PG3 A19 PG4 B17 RESET A20 VCC B18 GND A21 XTAL2 (TOSC2) B19 XTAL1 (TOSC1) A22 PD0 (SEG22) B20 PD1 (SEG21) A23 PD2 (SEG20) B21 ...
Page 5
... ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 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 Ateml 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 Block Diagram Figure 2-1. Block Diagram ...
Page 6
... ATmega169A/169PA/329A/329PA/3290A/3290PA/649A/649P/6490A/6490P is a powerful microcontroller that provides a highly flexible and cost effective solution to many embedded con- trol applications. The ATmega169A/169PA/329A/329PA/3290A/3290PA/649A/649P/6490A/6490P AVR is sup- ported with a full suite of program and system development tools including: C Compilers, Macro Assemblers, Program Debugger/Simulators, In-Circuit Emulators, and Evaluation kits. ...
Page 7
... ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 2.2 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 16 Kbyte ATmega169PA 16 Kbyte ATmega329A 32 Kbyte ATmega329PA 32 Kbyte ATmega3290A 32K bytes ATmega3290PA 32 Kbyte ATmega649A 64 Kbyte ATmega649P 64 Kbyte ATmega6490A 64 Kbyte ATmega6490P 64 Kbyte 8284AS–AVR–10/10 EEPROM RAM 512 Bytes 1 Kbyte ...
Page 8
... As inputs, Port C pins that are externally pulled low will source current if the pull-up resistors are activated. The Port C pins are tri-stated when a reset condition becomes active, even if the clock is not running. Port C also serves the functions of special features of the ATmega169A/169PA/329A/329PA/3290A/3290PA/649A/649P/6490A/6490P as listed on 78. 2.3.6 Port D (PD7...PD0) Port 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit) ...
Page 9
... As inputs, Port G pins that are externally pulled low will source current if the pull-up resistors are activated. The Port G pins are tri-stated when a reset condition becomes active, even if the clock is not running. Port G also serves the functions of various special features of the ATmega169A/169PA/329A/329PA/3290A/3290PA/649A/649P/6490A/6490P as listed on 85. 2.3.10 Port H (PH7...PH0) Port 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit) ...
Page 10
... An external capacitor (typical > 470 nF) must be connected to the LCDCAP pin as shown in ure 23-2, if the LCD module is enabled and configured to use internal power. This capacitor acts as a reservoir for LCD power (V the time until V ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 10 page 90. 354. Shorter pulses are not guaranteed to generate a reset. ...
Page 11
... ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 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 over 20 years at 85°C or 100 years at 25°C. ...
Page 12
... Reserved - (0xCB) Reserved - (0xCA) Reserved - (0xC9) Reserved - (0xC8) Reserved - (0xC7) UDR0 (0xC6) UBRR0H (0xC5) ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 12 Registers with bold type only available in ATmega3290A/3290PA/6490A/6490P. Bit 6 Bit 5 Bit 4 SEG338 SEG337 SEG336 SEG330 SEG329 SEG328 SEG322 SEG321 SEG320 SEG314 SEG313 SEG312 SEG306 SEG305 SEG304 ...
Page 13
... ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 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 USISIE (0xB8) Reserved - (0xB7) ASSR - (0xB6) Reserved - (0xB5) Reserved ...
Page 14
... SPDR 0x2E (0x4E) SPSR SPIF 0x2D (0x4D) SPCR SPIE 0x2C (0x4C) GPIOR2 0x2B (0x4B) GPIOR1 0x2A (0x4A) Reserved - 0x29 (0x49) Reserved - 0x28 (0x48) OCR0A 0x27 (0x47) ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 14 Bit 6 Bit 5 Bit 4 Timer/Counter1 High Timer/Counter1 Low - - - FOC1B - - ICES1 - WGM13 WGM12 COM1A0 COM1B1 COM1B0 ...
Page 15
... When using the I/O specific commands IN and OUT, the I/O addresses 0x00 - 0x3F must be used. When addressing I/O Registers as data space using LD and ST instructions, 0x20 must be added to these addresses. The ATmega169A/169PA/329A/329PA/3290A/3290PA/649A/649P/6490A/6490P is a complex microcontroller with more periph- eral units than can be supported within the 64 location reserved in Opcode for the IN and OUT instructions. For the Extended I/O space from 0x60 - 0xFF in SRAM, only the ST/STS/STD and LD/LDS/LDD instructions can be used. 8284AS– ...
Page 16
... BRHC k Branch if Half Carry Flag Cleared BRTS k Branch if T Flag Set BRTC k Branch if T Flag Cleared BRVS k Branch if Overflow Flag is Set ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 16 Description Rd ← ← Rdh:Rdl ← Rdh:Rdl + K Rd ← ← ← ← Rdh:Rdl ← Rdh:Rdl - K Rd ← Rd • ← Rd • ← ...
Page 17
... ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 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 Register LSL Rd Logical Shift Left LSR Rd Logical Shift Right ROL ...
Page 18
... Rd Pop Register from Stack MCU CONTROL INSTRUCTIONS NOP No Operation SLEEP Sleep WDR Watchdog Reset BREAK Break ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 18 Description STACK ← ← STACK (see specific descr. for Sleep function) (see specific descr. for WDR/timer) For On-chip Debug Only Operation Flags #Clocks None ...
Page 19
... Staggered 1.0 mm body, 4.0 x 4.0 mm Exposed Pad, Quad Flat No-Lead Package (QFN) 8284AS–AVR–10/10 (2) Ordering Code ATmega169A-AU 64A (4) ATmega169A-AUR 64A ATmega169A-MU 64M1 (4) ATmega169A-MUR 64M1 ATmega169A-MCH 64MC (4) ATmega169A-MCHR 64MC 352. Package Type (1) Package Type Operational Range Industrial 0°C to 85°C) ...
Page 20
... Thin (1.0 mm) Plastic Gull Wing Quad Flat Package (TQFP) 64M1 64-pad 1.0 mm body, lead pitch 0.50 mm, Quad Flat No-Lead/Micro Lead Frame Package (QFN/MLF) 64MC 64-lead (2-row Staggered 1.0 mm body, 4.0 x 4.0 mm Exposed Pad, Quad Flat No-Lead Package (QFN) ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 20 (2) Ordering Code Package Type ...
Page 21
... ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 8.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 complies to the European Directive for Restriction of Hazardous Substances (RoHS directive). Also Halide free and fully Green ...
Page 22
... Halide free and fully Green. 3. For Speed vs. V see Figure 28-2 on page CC 4. Tape &Reel 64A 64-lead 1.0 mm, Thin Profile Plastic Quad Flat Package (TQFP) 64M1 64-pad 1.0 mm, Quad Flat No-Lead/Micro Lead Frame Package (QFN/MLF) ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 22 (2) Ordering Code Package Type ATmega329PA-AU 64A (4) ATmega329PA-AUR 64A ...
Page 23
... ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 8.5 ATmega3290A (3) Speed (MHz) Power Supply 20 2.7 - 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 complies to the European Directive for Restriction of Hazardous Substances (RoHS directive). Also Halide free and fully Green ...
Page 24
... Pb-free packaging complies to the European Directive for Restriction of Hazardous Substances (RoHS directive). Also Halide free and fully Green. 3. For Speed vs. V see Figure 28-2 on page CC 4. Tape & Reel. 100A 100-lead 1.0 mm, 0.5 mm Lead Pitch, Thin Profile Plastic Quad Flat Package (TQFP) ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 24 (2) Ordering Code Package Type ATmega3290PA-AU 100A (4) ATmega3290PA-AUR 100A 352 ...
Page 25
... ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 8.7 ATmega649A (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 complies to the European Directive for Restriction of Hazardous Substances (RoHS directive). Also Halide free and fully Green ...
Page 26
... For Speed vs. V see Figure 28-1 on page CC 4. Tape & Reel 64A 64-lead 1.0 mm, Thin Profile Plastic Quad Flat Package (TQFP) 64M1 64-pad 1.0 mm, Quad Flat No-Lead/Micro Lead Frame Package (QFN/MLF) ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 26 (2) Ordering Code Package Type ATmega649A/649PA-AU 64A (4) ATmega649A/649PA-AUR 64A ...
Page 27
... ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 8.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 complies to the European Directive for Restriction of Hazardous Substances (RoHS directive). Also Halide free and fully Green ...
Page 28
... Pb-free packaging complies to the European Directive for Restriction of Hazardous Substances (RoHS directive). Also Halide free and fully Green. 3. For Speed vs. V see Figure 28-2 on page CC 4. Tape & Reel 100A 100-lead 1.0 mm, 0.5 mm Lead Pitch, Thin Profile Plastic Quad Flat Package (TQFP) ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 28 (2) Ordering Code Package Type ATmega6490P-AU 100A (4) ATmega6490P-AUR 100A 352 ...
Page 29
... ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 9. Packaging Information 9.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 E1 do not include mold protrusion. Allowable 2. Dimensions D1 and E1 do not include mold protrusion. Allowable protrusion is 0 ...
Page 30
... Note: 1. JEDEC Standard MO-220, (SAW Singulation) Fig. 1, VMMD. Note: 1. JEDEC Standard MO-220, (SAW Singulation) Fig. 1, VMMD. 2. Dimension and tolerance conform to ASMEY14.5M-1994. 2. Dimension and tolerance conform to ASMEY14.5M-1994. 2325 Orchard Parkway San Jose, CA 95131 2325 Orchard Parkway R San Jose, CA 95131 R ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P Pin #1 Corner Pin #1 Corner Pin #1 Pin #1 1 ...
Page 31
... ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 9.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 8284AS–AVR–10/ A34 B30 A1 B1 0.40 b R0. (0.18) REF B8 A9 (0.1) REF K TITLE 64MC, 64QFN (2-Row Staggered ...
Page 32
... Dimensions D1 and E1 are maximum plastic body size dimensions including mold mismatch. plastic body size dimensions including mold mismatch. 3. Lead coplanarity is 0.08 mm maximum. 3. Lead coplanarity is 0.08 mm maximum. 2325 Orchard Parkway San Jose, CA 95131 2325 Orchard Parkway R San Jose, CA 95131 R ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P PIN 1 IDENTIFIER ...
Page 33
... ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 10. Errata 10.1 ATmega169A No known errata 10.2 ATmega169A/169PA Rev Not sampled. 10.3 ATmega169PA Rev known errata. 10.4 ATmega329A/329PA rev. A • Interrupts may be lost when writing the timer registers in the asynchronous timer • Using BOD disable will make the chip reset 1. Interrupts may be lost when writing the timer registers in the asynchronous timer The interrupt will be lost if a timer register that is synchronous timer clock is written when the asynchronous Timer/Counter register (TCNTx) is 0x00 ...
Page 34
... Timer/Counter register (TCNTx) is 0x00. 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). ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 34 8284AS–AVR–10/10 ...
Page 35
... ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 10.9 ATmega3290A/3290PA 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 timer register that is synchronous timer clock is written when the asynchronous Timer/Counter register (TCNTx) is 0x00 ...
Page 36
... 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. 11.1 Rev. 8284A - 09/10 1. Initial revision ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 36 8284AS–AVR–10/10 ...
Page 37
... 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 ATMEL’S TERMS AND CONDI- TIONS OF SALE LOCATED ON ATMEL’S WEB SITE, 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 ...