ATMEGA165 ATMEL [ATMEL Corporation], ATMEGA165 Datasheet

no-image

ATMEGA165

Manufacturer Part Number
ATMEGA165
Description
8-bit Microcontroller with 16K Bytes In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA165-16AI
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA165-16AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA165A-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA165A-AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA165P-16AN
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA165PV-8AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Features
High Performance, Low Power AVR
Advanced RISC Architecture
Non-volatile Program and Data Memories
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
–Optional Boot Code Section with Independent Lock Bits
–512 bytes EEPROM
–1K byte Internal SRAM
–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
–53 Programmable I/O Lines
–64-lead TQFP and 64-pad MLF
–ATmega165V: 0 - 4 MHz @ 1.8 - 5.5V, 0 - 8 MHz @ 2.7 - 5.5V
–ATmega165: 0 - 8 MHz @ 2.7 - 5.5V, 0 - 16 MHz @ 4.5 - 5.5V
–-40°C to 85°C Industrial
–Active Mode:
–Power-down Mode:
Mode
Standby
Endurance: 10,000 Write/Erase Cycles
In-System Programming by On-chip Boot Program
True Read-While-Write Operation
Endurance: 100,000 Write/Erase Cycles
1 MHz, 1.8V: 350µA
32 kHz, 1.8V: 20µA (including Oscillator)
0.1µA at 1.8V
®
8-Bit Microcontroller
Note: This is a summary document. A complete document
is available on our Web site at www.atmel.com.
8-bit
Microcontroller
with 16K Bytes
In-System
Programmable
Flash
ATmega165V
ATmega165
Preliminary
Summary
2573AS–AVR–06/04

Related parts for ATMEGA165

ATMEGA165 Summary of contents

Page 1

... Sleep Modes: Idle, ADC Noise Reduction, Power-save, Power-down, and Standby • I/O and Packages –53 Programmable I/O Lines –64-lead TQFP and 64-pad MLF • Speed Grade: –ATmega165V MHz @ 1.8 - 5.5V MHz @ 2.7 - 5.5V –ATmega165 MHz @ 2.7 - 5.5V MHz @ 4.5 - 5.5V • Temperature range: –-40°C to 85°C Industrial • Ultra-Low Power Consumption –Active Mode: 1 MHz, 1.8V: 350µ ...

Page 2

... Pin Configurations Disclaimer ATmega165/V 2 Figure 1. Pinout ATmega165 DNC 1 (RXD/PCINT0) PE0 2 INDEX CORNER (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 15 (OC1B/PCINT14) PB6 16 Note:The large center pad underneath the MLF packages is made of metal and internally con- nected to GND ...

Page 3

... Overview The ATmega165 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 ATmega165 achieves throughputs approaching 1 MIPS per MHz allowing the system designer to optimize power consumption versus processing speed. Block Diagram Figure 2 ...

Page 4

... In-System Self-Programmable Flash on a monolithic chip, the Atmel ATmega165 is a powerful microcontroller that provides a highly flexible and cost effective solution to many embedded control applications. The ATmega165 AVR is supported with a full suite of program and system development tools including: C Compilers, Macro Assemblers, Program Debugger/Simulators, In-Cir- cuit Emulators, and Evaluation kits. ...

Page 5

... 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 ATmega165 as listed on page 63. Port F serves as the analog inputs to the A/D Converter. ...

Page 6

... 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 ATmega165 as listed on page 63. Reset input. A low level on this pin for longer than the minimum pulse length will gener- ate a reset, even if the clock is not running ...

Page 7

... USART I/O Data Register USART Baud Rate Register Low – – – – UMSEL UPM1 UPM0 USBS TXCIE UDRIE RXEN TXEN TXC UDRE FE DOR ATmega165/V Bit 2 Bit 1 Bit 0 – – – – – – – – – – – – – – ...

Page 8

... TCNT1H (0x84) TCNT1L (0x83) Reserved – (0x82) TCCR1C FOC1A (0x81) TCCR1B ICNC1 (0x80) TCCR1A COM1A1 (0x7F) DIDR1 – (0x7E) DIDR0 ADC7D ATmega165/V 8 Bit 6 Bit 5 Bit 4 Bit 3 – – – – – – – – – – – – – – – ...

Page 9

... EEPROM Address Register Low Byte EEPROM Data Register – – – EERIE General Purpose I/O Register 0 PCIE0 – – PCIF0 – – ATmega165/V Bit 2 Bit 1 Bit 0 – – – – MUX2 MUX1 MUX0 – ADTS2 ADTS1 ADTS0 ADPS2 ADPS1 ADPS0 – ...

Page 10

... When using the I/O specific commands IN and OUT, the I/O addresses 0x00 - 0x3F must be used. When addressing I/O Regis- ters as data space using LD and ST instructions, 0x20 must be added to these addresses. The ATmega165 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 11

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

Page 12

... Load Program Memory and Post-Inc SPM Store Program Memory IN Rd Port OUT P, Rr Out Port PUSH Rr Push Register on Stack ATmega165/V 12 Description then PC ← then PC ← I/O(P,b) ← 1 I/O(P,b) ← 0 Rd(n+1) ← Rd(n), Rd(0) ← 0 Rd(n) ← Rd(n+1), Rd(7) ← 0 Rd(0)←C,Rd(n+1)← Rd(n),C←Rd(7) Rd(7)←C,Rd(n)← Rd(n+1),C←Rd(0) Rd(n) ← Rd(n+1), n=0..6 Rd(3..0)← ...

Page 13

... NOP No Operation SLEEP Sleep WDR Watchdog Reset BREAK Break 2573AS–AVR–06/04 Description Rd ← STACK (see specific descr. for Sleep function) (see specific descr. for WDR/timer) For On-chip Debug Only ATmega165/V Operation Flags #Clocks None None None None None N/A 13 ...

Page 14

... Micro Lead Frame Package (MLF) ATmega165/V 14 Ordering Code Package ATmega165V-8AI 64A (3) ATmega165V-8AJ 64A ATmega165V-8MI 64M1 (3) ATmega165V-8MJ 64M1 ATmega165-16AI 64A (3) ATmega165-16AJ 64A ATmega165-16MI 64M1 (3) ATmega165-16MJ 64M1 Package Type (1) Operation Range Industrial 0°C to 85°C) (-4 Industrial 0°C to 85°C) (-4 2573AS–AVR–06/04 ...

Page 15

... San Jose, CA 95131 R 2573AS–AVR–06/04 B PIN 1 IDENTIFIER TITLE 64A, 64-lead Body Size, 1.0 mm Body Thickness, 0.8 mm Lead Pitch, Thin Profile Plastic Quad Flat Package (TQFP) ATmega165/V A COMMON DIMENSIONS (Unit of Measure = mm) MIN MAX SYMBOL NOM NOTE A – – 1.20 A1 0.05 – ...

Page 16

... D Marked Pin TOP VIEW BOTTOM VIEW Notes: 1. JEDEC Standard MO-220, Fig. 1, VMMD. 2325 Orchard Parkway San Jose, CA 95131 R ATmega165 Pin #1 Corner TITLE 64M1, 64-pad 1.0 mm Body, Lead Pitch 0.50 mm Micro Lead Frame Package (MLF) C SEATING PLANE ...

Page 17

... Errata ATmega165 Rev A 2573AS–AVR–06/04 No known errata. ATmega165/V 17 ...

Page 18

... Datasheet Change Log for ATmega165 Rev. 2514A-06/04 ATmega165/V 18 Please note that the referring page numbers in this section are referring to this docu- ment. The referring revision in this section are referring to the document revision. 1. Initial revision. 2573AS–AVR–06/04 ...

Page 19

Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131, USA Tel: 1(408) 441-0311 Fax: 1(408) 487-2600 Regional Headquarters Europe Atmel Sarl Route des Arsenaux 41 Case Postale 80 CH-1705 Fribourg Switzerland Tel: (41) 26-426-5555 Fax: (41) 26-426-5500 Asia Room 1219 ...

Related keywords