ATMEGA164P-A15MZ Atmel, ATMEGA164P-A15MZ Datasheet
![MCU AVR 16KB FLASH 15MHZ 44TQFP](/photos/6/70/67042/313-44-tqfp_sml.jpg)
ATMEGA164P-A15MZ
Specifications of ATMEGA164P-A15MZ
Available stocks
Related parts for ATMEGA164P-A15MZ
ATMEGA164P-A15MZ Summary of contents
Page 1
... ATmega164P/324P/644P • Speed Grades – ATmega164P/324P/644PV 4MHz @ 1.8 - 5.5V 10MHz @ 2.7 - 5.5V – ATmega164P/324P/644P 10MHz @ 2.7 - 5.5V 20MHz @ 4.5 - 5.5V • Power Consumption at 1 MHz, 1.8V, 25C for ATmega164P/324P/644P – Active: 338/398/TBD µA – Power-down Mode:0.035 /0.027/TBD µA – ...
Page 2
... Pin Configurations Figure 1-1. Note: ATmega164P/324P/644P 2 Pinout ATmega164P/324P/644P (PCINT8/XCK0/T0) PB0 (PCINT9/CLKO/T1) PB1 (PCINT10/INT2/AIN0) PB2 (PCINT11/OC0A/AIN1) PB3 (PCINT12/OC0B/SS) PB4 (PCINT13/MOSI) PB5 (PCINT14/MISO) PB6 (PCINT15/SCK) PB7 RESET VCC GND XTAL2 XTAL1 (PCINT24/RXD0) PD0 (PCINT25/TXD0) PD1 (PCINT26/RXD1/INT0) PD2 (PCINT27/TXD1/INT1) PD3 (PCINT28/XCK1/OC1B) PD4 (PCINT29/OC1A) PD5 ...
Page 3
... Disclaimer Typical values contained in this datasheet are based on simulations and characterization of other AVR microcontrollers manufactured on the same process technology. Min and Max values will be available after the device is characterized. 8011DS–AVR–02/07 ATmega164P/324P/644P 3 ...
Page 4
... Overview The ATmega164P/324P/644P 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 ATmega164P/324P/644P achieves throughputs approaching 1 MIPS per MHz allowing the sys- tem designer to optimize power consumption versus processing speed. 2.1 Block Diagram Figure 2-1 ...
Page 5
... Atmel ATmega164P/324P/644P is a powerful microcontroller that provides a highly flexible and cost effective solution to many embedded control applications. The ATmega164P/324P/644P AVR is supported with a full suite of program and system devel- opment tools including: C compilers, macro assemblers, program debugger/simulators, in-circuit emulators, and evaluation kits. ...
Page 6
... As inputs, Port A pins that are externally pulled low will source current if the pull-up resistors are activated. The Port A pins are tri-stated when a reset condition becomes active, even if the clock is not running. Port A also serves the functions of various special features of the ATmega164P/324P/644P as listed on 2.3.4 Port B (PB7:PB0) Port 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit) ...
Page 7
... CC 2.3.11 AREF This is the analog reference pin for the Analog-to-digital Converter. 3. Resources A comprehensive set of development tools, application notes and datasheetsare available for download on http://www.atmel.com/avr. 8011DS–AVR–02/07 ATmega164P/324P/644P , even if the ADC is not used. If the ADC is used, it should be connected CC 7 ...
Page 8
... UDR1 (0xCD) UBRR1H - (0xCC) UBRR1L (0xCB) Reserved - (0xCA) UCSR1C UMSEL11 (0xC9) UCSR1B RXCIE1 (0xC8) UCSR1A RXC1 (0xC7) Reserved - (0xC6) UDR0 (0xC5) UBRR0H - (0xC4) UBRR0L (0xC3) Reserved - (0xC2) UCSR0C UMSEL01 (0xC1) UCSR0B RXCIE0 (0xC0) UCSR0A RXC0 ATmega164P/324P/644P 8 Bit 6 Bit 5 Bit 4 Bit ...
Page 9
... Timer/Counter1 - Input Capture Register High Byte Timer/Counter1 - Input Capture Register Low Byte Timer/Counter1 - Counter Register High Byte Timer/Counter1 - Counter Register Low Byte - - - FOC1B - - ICES1 - WGM13 WGM12 COM1A0 COM1B1 COM1B0 - - - ADC6D ADC5D ADC4D ADC3D ATmega164P/324P/644P Bit 2 Bit 1 Bit TWAM1 TWAM0 - TWEN - TWIE TWA1 TWA0 TWGCE - TWPS1 TWPS0 ...
Page 10
... COM0A1 0x23 (0x43) GTCCR TSM 0x22 (0x42) EEARH - 0x21 (0x41) EEARL 0x20 (0x40) EEDR 0x1F (0x3F) EECR - 0x1E (0x3E) GPIOR0 0x1D (0x3D) EIMSK - 0x1C (0x3C) EIFR - ATmega164P/324P/644P 10 Bit 6 Bit 5 Bit 4 Bit REFS0 ADLAR MUX4 MUX3 ACME - - - ADSC ADATE ADIF ADIE ADC Data Register High byte ...
Page 11
... When using the I/O specific commands IN and OUT, the I/O addresses $00 - $3F must be used. When addressing I/O regis- ters as data space using LD and ST instructions, $20 must be added to these addresses. The ATmega164P/324P/644P is a complex microcontroller with more peripheral units than can be supported within the 64 location reserved in Opcode for the IN and OUT instructions ...
Page 12
... Branch if Less Than Zero, Signed BRHS k Branch if Half Carry Flag Set 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 ATmega164P/324P/644P 12 Description Rdh:Rdl Rdh:Rdl + Rdh:Rdl Rdh:Rdl - 0xFF 0x00 Rd ...
Page 13
... Load Program Memory and Post-Inc ELPM Extended Load Program Memory ELPM Rd, Z Extended Load Program Memory ELPM Rd, Z+ Extended Load Program Memory 8011DS–AVR–02/07 ATmega164P/324P/644P Description then then then I/O(P, I/O(P, Rd(n+1) Rd(n), Rd( Rd(n) Rd(n+1), Rd( Rd(0)C,Rd(n+1) Rd(n),CRd(7) Rd(7)C,Rd(n) Rd(n+1),CRd(0) Rd(n) Rd(n+1), n=0 ...
Page 14
... Push Register on Stack POP Rd Pop Register from Stack MCU CONTROL INSTRUCTIONS NOP No Operation SLEEP Sleep WDR Watchdog Reset BREAK Break ATmega164P/324P/644P 14 Description (Z) R1: STACK STACK (see specific descr. for Sleep function) (see specific descr. for WDR/timer) For On-chip Debug Only Operation Flags ...
Page 15
... Quad Flat No-Lead/Micro Lead Frame Package (QFN/MLF) 8011DS–AVR–02/07 ATmega164P/324P/644P Ordering Code Package (2) ATmega164PV-10AU 44A (2) ATmega164PV-10PU 40P6 (2) ATmega164PV-10MU 44M1 (2) ATmega164P-20AU 44A (2) ATmega164P-20PU 40P6 (2) ATmega164P-20MU 44M1 ” on page 323. CC Package Type (1) Operational Range Industrial o ...
Page 16
... Thin (1.0 mm) Plastic Gull Wing Quad Flat Package (TQFP) 40P6 40-pin, 0.600” Wide, Plastic Dual Inline Package (PDIP) 44M1 44-pad 1.0 mm body, lead pitch 0.50 mm, Quad Flat No-Lead/Micro Lead Frame Package (QFN/MLF) ATmega164P/324P/644P 16 Ordering Code Package (2) ATmega324PV-10AU 44A ...
Page 17
... Thin (1.0 mm) Plastic Gull Wing Quad Flat Package (TQFP) 40P6 40-pin, 0.600” Wide, Plastic Dual Inline Package (PDIP) 44M1 44-pad 1.0 mm body, lead pitch 0.50 mm, Quad Flat No-Lead/Micro Lead Frame Package (QFN/MLF) 8011DS–AVR–02/07 ATmega164P/324P/644P Ordering Code Package (2) ATmega644PV-10AU 44A ...
Page 18
... This package conforms to JEDEC reference MS-026, Variation ACB. 2. Dimensions D1 and E1 do not include mold protrusion. Allowable protrusion is 0.25 mm per side. Dimensions D1 and E1 are maximum plastic body size dimensions including mold mismatch. 3. Lead coplanarity is 0.10 mm maximum. 2325 Orchard Parkway San Jose, CA 95131 R ATmega164P/324P/644P 18 B PIN 1 IDENTIFIER ...
Page 19
... Mold Flash or Protrusion shall not exceed 0.25 mm (0.010"). 2325 Orchard Parkway San Jose, CA 95131 R 8011DS–AVR–02/07 D PIN 0º ~ 15º REF eB TITLE 40P6, 40-lead (0.600"/15.24 mm Wide) Plastic Dual Inline Package (PDIP) ATmega164P/324P/644P E1 A1 COMMON DIMENSIONS (Unit of Measure = mm) MIN SYMBOL NOM A – – A1 0.381 – D 52.070 – ...
Page 20
... D Marked Pin TOP VIEW BOTTOM VIEW Note: JEDEC Standard MO-220, Fig. 1 (SAW Singulation) VKKD-3. 2325 Orchard Parkway San Jose, CA 95131 R ATmega164P/324P/644P 20 E Pin #1 Corner Pin #1 Option A 1 Triangle 2 3 Option B Pin #1 Chamfer (C 0.30) Option C Pin #1 Notch e (0.20 R) TITLE 44M1, 44-pad 1.0 mm Body, Lead Pitch 0.50 mm, 5 ...
Page 21
... Errata 8.1 ATmega164P Rev known Errata. 8.2 ATmega324P Rev known Errata. 8.3 ATmega644P Rev known Errata. 8011DS–AVR–02/07 ATmega164P/324P/644P 21 ...
Page 22
... Size Configuration(1)” on page Updated V limits in ”DC Characteristics” on page OL Updated note 3 and 4 in ”DC Characteristics” on page Added note to ”ATmega164P DC Characteristics” on page Added note to ”ATmega324P DC Characteristics” on page Updated Figure 27-13 on page 343 Updated ”DC Characteristics” on page Updated ” ...
Page 23
... 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 ...