atmega165pa-mu ATMEL Corporation, atmega165pa-mu Datasheet

no-image

atmega165pa-mu

Manufacturer Part Number
atmega165pa-mu
Description
High Performance, Low Power Avr 8-bit Microcontroller
Manufacturer
ATMEL Corporation
Datasheet
Features
High Performance, Low Power AVR
Advanced RISC Architecture
High Endurance Non-volatile Memory segments
JTAG (IEEE std. 1149.1 compliant) Interface
Peripheral Features
Special Microcontroller Features
I/O and Packages
Speed Grade:
Temperature range:
Ultra-Low Power Consumption
– 130 Powerful Instructions – Most Single Clock Cycle Execution
– 32 x 8 General Purpose Working Registers
– Fully Static Operation
– Up to 16 MIPS Throughput at 16 MHz
– On-Chip 2-cycle Multiplier
– 16K Bytes of In-System Self-programmable Flash program memory
– 512 Bytes EEPROM
– 1K Bytes Internal SRAM
– Write/Erase cycles: 10,000 Flash/100,000 EEPROM
– Data retention: 20 years at 85°C/100 years at 25°C
– Optional Boot Code Section with Independent Lock Bits
– Programming Lock for Software Security
– 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
– Two 8-bit Timer/Counters with Separate Prescaler and Compare Mode
– One 16-bit Timer/Counter with Separate Prescaler, Compare Mode, and Capture
– Real Time Counter with Separate Oscillator
– Four PWM Channels
– 8-channel, 10-bit ADC
– Programmable Serial USART
– Master/Slave SPI Serial Interface
– Universal Serial Interface with Start Condition Detector
– Programmable Watchdog Timer with Separate On-chip Oscillator
– On-chip Analog Comparator
– Interrupt and Wake-up on Pin Change
– Power-on Reset and Programmable Brown-out Detection
– Internal Calibrated Oscillator
– External and Internal Interrupt Sources
– Five Sleep Modes: Idle, ADC Noise Reduction, Power-save, Power-down, and
– 54 Programmable I/O Lines
– 64-lead TQFP, 64-pad QFN/MLF and 64-pad DRQFN
– ATmega165PA: 0 - 16 MHz @ 1.8 - 5.5V
– -40°C to 85°C Industrial
– Active Mode:
– Power-down Mode:
– Power-save Mode:
Mode
Standby
In-System Programming by On-chip Boot Program
True Read-While-Write Operation
1 MHz, 1.8V: 215 µA
32 kHz, 1.8V: 8 µA (including Oscillator)
0.1 µA at 1.8V
0.6 µA at 1.8V (Including 32 kHz RTC)
®
8-Bit Microcontroller
(1)
8-bit
Microcontroller
with 16K Bytes
In-System
Programmable
Flash
ATmega165PA
Preliminary
Summary
Rev 8298AS–AVR–03/10

Related parts for atmega165pa-mu

atmega165pa-mu Summary of contents

Page 1

... Five Sleep Modes: Idle, ADC Noise Reduction, Power-save, Power-down, and Standby • I/O and Packages – 54 Programmable I/O Lines – 64-lead TQFP, 64-pad QFN/MLF and 64-pad DRQFN • Speed Grade: – ATmega165PA MHz @ 1.8 - 5.5V • Temperature range: – -40°C to 85°C Industrial • Ultra-Low Power Consumption – Active Mode: 1 MHz, 1.8V: 215 µA 32 kHz, 1.8V: 8 µ ...

Page 2

... Pin Configurations 1.1 Pinout - TQFP and QFN/MLF Figure 1-1. 64A (TQFP)and 64M1 (QFN/MLF) Pinout ATmega165PA DNC 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

... Overview The ATmega165PA is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. By execut- ing powerful instructions in a single clock cycle, the ATmega165PA 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 ...

Page 4

... Atmel ATmega165PA is a powerful microcontroller that provides a highly flexible and cost effective solution to many embedded control applications. The ATmega165PA AVR is supported 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 5

... 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 ATmega165PA as listed on ”Alternate Functions of Port B” on page 2.2.4 Port B (PB7:PB0) Port 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit) ...

Page 6

... As inputs, Port E pins that are externally pulled low will source current if the pull-up resistors are activated. The Port E pins are tri-stated when a reset condition becomes active, even if the clock is not running. Port E also serves the functions of various special features of the ATmega165PA as listed on ”Alternate Functions of Port E” on page 2.2.8 Port F (PF7:PF0) Port F serves as the analog inputs to the A/D Converter ...

Page 7

... A comprehensive set of development tools, application notes and datasheets are available for download on http://www.atmel.com/avr. 4. Data Retention Note: 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. 8298AS–AVR–03/10 1. ATmega165PA 7 ...

Page 8

... USART0 I/O Data Register USART0 Baud Rate Register Low – – – UMSEL0 UPM01 UPM00 TXCIE0 UDRIE0 RXEN0 TXC0 UDRE0 FE0 ATmega165PA Bit 3 Bit 2 Bit 1 – – – – – – – – – – – – – – ...

Page 9

... Timer/Counter1 - Counter Register Low Byte – – – FOC1B – – ICES1 – WGM13 COM1A0 COM1B1 COM1B0 – – – ADC6D ADC5D ADC4D ATmega165PA Bit 3 Bit 2 Bit 1 – – – – – – – – – – – – – – – ...

Page 10

... EEPROM Address Register Low Byte EEPROM Data Register – – – General Purpose I/O Register 0 – PCIE1 PCIE0 – PCIF1 PCIF0 ATmega165PA Bit 3 Bit 2 Bit 1 – – – MUX3 MUX2 MUX1 – ADTS2 ADTS1 ADIE ADPS2 ADPS1 – ...

Page 11

... 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 ATmega165PA 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

... V= 0) then PC ← ⊕ then PC ← then PC ← then PC ← then PC ← then PC ← then PC ← ATmega165PA Operation Flags #Clocks Z,C,N,V,H Z,C,N,V,H Z,C,N,V,S ...

Page 13

... Rr, Y ← ← (Y) ← ← Rr (Z) ← Rr (Z) ← Rr, Z ← ← (Z) ← ← Rr (k) ← ← (Z) Rd ← (Z) Rd ← (Z), Z ← Z+1 (Z) ← R1:R0 Rd ← ← Rr ATmega165PA Operation Flags #Clocks None None None None None Z,C,N,V Z,C,N,V Z,C,N,V Z,C,N,V Z,C,N,V ...

Page 14

... Sleep WDR Watchdog Reset BREAK Break 8298AS–AVR–03/10 Description STACK ← ← STACK (see specific descr. for Sleep function) (see specific descr. for WDR/timer) For On-chip Debug Only ATmega165PA Operation Flags #Clocks None None None None None None ...

Page 15

... Thin (1.0 mm) Plastic Gull Wing Quad Flat Package (TQFP) 64-pad 1.0 mm body, lead pitch 0.50 mm, Quad Flat No-Lead/Micro Lead Frame Package (QFN/MLF) 64M1 8298AS–AVR–03/10 Ordering Code Package ATmega165PA-AU 64A (4) ATmega165PA-AUR 64A ATmega165PA-MU 64M1 (4) ATmega165PA-MUR 64M1 297. Package Type ATmega165PA (1)(2) Operation Range Industrial 0°C to 85°C) (-4 15 ...

Page 16

... TITLE 64A, 64-lead Body Size, 1.0 mm Body Thickness, TITLE 0.8 mm Lead Pitch, Thin Profile Plastic Quad Flat Package (TQFP) 64A, 64-lead Body Size, 1.0 mm Body Thickness, 0.8 mm Lead Pitch, Thin Profile Plastic Quad Flat Package (TQFP) ATmega165PA COMMON DIMENSIONS ...

Page 17

... Pin #1 1 Option A Triangle 2 3 Option B Pin #1 Chamfer (C 0.30) Option C Pin #1 Notch e (0.20 R) TITLE 64M1, 64-pad 1.0 mm Body, Lead Pitch 0.50 mm, 5.40 mm Exposed Pad, Micro Lead Frame Package (MLF) ATmega165PA C SEATING PLANE A1 A 0.08 C SIDE VIEW COMMON DIMENSIONS (Unit of Measure = mm) MIN NOM MAX SYMBOL A 0.80 0.90 1.00 A1 – ...

Page 18

... Errata 9.1 ATmega165PA Rev known errata. 9.2 ATmega165PA Rev Not sampled. 8298AS–AVR–03/10 ATmega165PA 18 ...

Page 19

... Initial revision (Based on the ATmega165P/V datasheet 8019I-AVR-08/07). Changes done compared to ATmega165P/V datasheet 8019I-AVR-08/07: – New EIMSK and EIFR register overview – New graphics in “Typical Characteristics ” on page – Ordering Information includes Tape & Reel – New “Ordering Information” on page ATmega165PA 343. 379. 19 ...

Page 20

... Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel’s products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life. © 2010 Atmel Corporation. All rights reserved. Atmel marks or trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others. International Atmel Asia Atmel Europe Unit 1-5 & ...

Related keywords