ATMEGA8-16PI

ATMEGA8-16PI Datasheet


In-System Programming by On-chip Boot Program True Read-While-Write Operation 512 Bytes EEPROM Endurance 100,000 Write/Erase Cycles 1K Byte Internal SRAM Programming Lock for Software Security<br>• Peripheral Features Two 8-bit Timer/Counters with Separate Prescaler, one Compare Mode One 16-bit Timer/Counter with Separate Prescaler, Compare Mode, and Capture Mode Real Time Counter with Separate Oscillator Three PWM Channels 8-channel ADC in TQFP and MLF package Six Channels 10-bit Accuracy Two Channels 8-bit Accuracy 6-channel ADC in PDIP package Four Channels 10-bit Accuracy Two Channels 8-bit Accuracy Byte-oriented Two-wire Serial Interface Programmable Serial USART Master/Slave SPI Serial Interface Programmable Watchdog Timer with Separate On-chip Oscillator On-chip Analog Comparator<br>• Special Microcontroller Features Power-on Reset and Programmable Brown-out Detection Internal Calibrated RC Oscillator External and Internal Interrupt Sources Five Sleep Modes Idle, ADC Noise Reduction, Power-save, Power-down, and Standby<br>• I/O and Packages 23 Programmable I/O Lines 28-lead PDIP, 32-lead TQFP, and 32-pad MLF<br>• Operating Voltages - 5.5V ATmega8L - 5.5V ATmega8<br>• Speed Grades 0 - 8 MHz ATmega8L 0 - 16 MHz ATmega8<br>• Power Consumption at 4 Mhz, 3V, 25°C Active mA Idle Mode mA Power-down Mode µA

Part Datasheet
ATMEGA8-16PI ATMEGA8-16PI ATMEGA8-16PI (pdf)
Related Parts Information
ATMEGA8L-8AI ATMEGA8L-8AI ATMEGA8L-8AI
ATMEGA8-16AC ATMEGA8-16AC ATMEGA8-16AC
ATMEGA8-16AI ATMEGA8-16AI ATMEGA8-16AI
ATMEGA8-16PC ATMEGA8-16PC ATMEGA8-16PC
ATMEGA8L-8AC ATMEGA8L-8AC ATMEGA8L-8AC
ATMEGA8L-8PC ATMEGA8L-8PC ATMEGA8L-8PC
ATMEGA8L-8PI ATMEGA8L-8PI ATMEGA8L-8PI
ATMEGA8L-8MI ATMEGA8L-8MI ATMEGA8L-8MI
ATMEGA8L-8MC ATMEGA8L-8MC ATMEGA8L-8MC
ATMEGA8-16MI ATMEGA8-16MI ATMEGA8-16MI
ATMEGA8-16MC ATMEGA8-16MC ATMEGA8-16MC
PDF Datasheet Preview
• High-performance, Low-power 8-bit Microcontroller
• Advanced RISC Architecture
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
• Nonvolatile Program and Data Memories 8K Bytes of In-System Self-Programmable Flash

Endurance 10,000 Write/Erase Cycles Optional Boot Code Section with Independent Lock Bits

In-System Programming by On-chip Boot Program True Read-While-Write Operation 512 Bytes EEPROM Endurance 100,000 Write/Erase Cycles 1K Byte Internal SRAM Programming Lock for Software Security
• Peripheral Features Two 8-bit Timer/Counters with Separate Prescaler, one Compare Mode One 16-bit Timer/Counter with Separate Prescaler, Compare Mode, and Capture Mode Real Time Counter with Separate Oscillator Three PWM Channels 8-channel ADC in TQFP and MLF package Six Channels 10-bit Accuracy Two Channels 8-bit Accuracy 6-channel ADC in PDIP package Four Channels 10-bit Accuracy Two Channels 8-bit Accuracy Byte-oriented Two-wire Serial Interface Programmable Serial USART Master/Slave SPI Serial Interface Programmable Watchdog Timer with Separate On-chip Oscillator On-chip Analog Comparator
• Special Microcontroller Features Power-on Reset and Programmable Brown-out Detection Internal Calibrated RC Oscillator External and Internal Interrupt Sources Five Sleep Modes Idle, ADC Noise Reduction, Power-save, Power-down, and Standby
• I/O and Packages 23 Programmable I/O Lines 28-lead PDIP, 32-lead TQFP, and 32-pad MLF
• Operating Voltages - 5.5V ATmega8L - 5.5V ATmega8
• Speed Grades 0 - 8 MHz ATmega8L 0 - 16 MHz ATmega8
• Power Consumption at 4 Mhz, 3V, 25°C Active mA Idle Mode mA Power-down Mode µA
8-bit with 8K Bytes In-System Programmable Flash

ATmega8 ATmega8L

Pin Configurations
2 ATmega8 L

PDIP

RESET PC6 1 RXD PD0 2 TXD PD1 3 INT0 PD2 4 INT1 PD3 5

XCK/T0 PD4 6 VCC 7 GND 8

XTAL1/TOSC1 PB6 9 XTAL2/TOSC2 PB7 10

T1 PD5 11 AIN0 PD6 12 AIN1 PD7 13 ICP1 PB0 14
28 PC5 ADC5/SCL 27 PC4 ADC4/SDA 26 PC3 ADC3 25 PC2 ADC2 24 PC1 ADC1 23 PC0 ADC0 22 GND 21 AREF 20 AVCC 19 PB5 SCK 18 PB4 MISO 17 PB3 MOSI/OC2 16 PB2 SS/OC1B 15 PB1 OC1A

TQFP Top View
32 PD2 INT0 31 PD1 TXD 30 PD0 RXD 29 PC6 RESET 28 PC5 ADC5/SCL 27 PC4 ADC4/SDA 26 PC3 ADC3 25 PC2 ADC2

INT1 PD3 1 XCK/T0 PD4 2

GND 3 VCC 4 GND 5 VCC 6 XTAL1/TOSC1 PB6 7 XTAL2/TOSC2 PB7 8
24 PC1 ADC1 23 PC0 ADC0 22 ADC7 21 GND 20 AREF 19 ADC6 18 AVCC 17 PB5 SCK

T1 PD5 9 AIN0 PD6 10 AIN1 PD7 11 ICP1 PB0 12 OC1A PB1 13 SS/OC1B PB2 14 MOSI/OC2 PB3 15 MISO PB4 16

MLF Top View
32 PD2 INT0 31 PD1 TXD 30 PD0 RXD 29 PC6 RESET 28 PC5 ADC5/SCL 27 PC4 ADC4/SDA 26 PC3 ADC3 25 PC2 ADC2

INT1 PD3 1 XCK/T0 PD4 2

GND 3 VCC 4 GND 5 VCC 6 XTAL1/TOSC1 PB6 7 XTAL2/TOSC2 PB7 8
24 PC1 ADC1 23 PC0 ADC0 22 ADC7 21 GND 20 AREF 19 ADC6 18 AVCC 17 PB5 SCK

T1 PD5 9 AIN0 PD6 10 AIN1 PD7 11 ICP1 PB0 12 OC1A PB1 13 SS/OC1B PB2 14 MOSI/OC2 PB3 15 MISO PB4 16

Overview

Block Diagram

ATmega8 L

The ATmega8 is a low-power CMOS 8-bit microcontroller based on the AVR RISC architecture. By executing powerful instructions in a single clock cycle, the ATmega8 achieves throughputs approaching 1 MIPS per MHz, allowing the system designer to optimize power consumption versus processing speed.

Figure Block Diagram

RESET VCC

PC0 - PC6

PB0 - PB7

XTAL1 XTAL2

PORTC DRIVERS/BUFFERS

PORTB DRIVERS/BUFFERS

PORTC DIGITAL INTERFACE

PORTB DIGITAL INTERFACE

AGND AREF

MUX & ADC
The parts are characterized at frequencies higher than test limits. Parts are not guaranteed to function properly at frequencies higher than the ordering code indicates.

The difference between current consumption in Power-down mode with Watchdog Timer enabled and Power-down mode with Watchdog Timer disabled represents the differential current drawn by the Watchdog Timer.

Figure Active Supply Current vs. Frequency - MHz

ICC mA

ACTIVE SUPPLY CURRENT vs. FREQUENCY
- MHz

Frequency MHz
5.5V 5.0V 4.5V 4.0V 3.3V 3.0V 2.7V
244 ATmega8 L

ATmega8 L

Figure Active Supply Current vs. Frequency 1 - 20 MHz

ICC mA

ACTIVE SUPPLY CURRENT vs. FREQUENCY
1 - 20 MHz 30
5.5V
5.0V
4.5V
3.3V
3.0V
2.7V

Frequency MHz

Figure Active Supply Current vs. VCC Internal RC Oscillator, 8 MHz

ICC mA
18 16 14 12 10
8 6 4 2 0

ACTIVE SUPPLY CURRENT vs. VCC

INTERNAL RC OSCILLATOR, 8 MHz

VCC V
-40°C 25°C 85°C

Figure Active Supply Current vs. VCC Internal RC Oscillator, 4 MHz

ICC mA
12 10
8 6 4 2 0

ACTIVE SUPPLY CURRENT vs. VCC

INTERNAL RC OSCILLATOR, 4 MHz

VCC V
-40°C 25°C 85°C

Figure Active Supply Current vs. VCC Internal RC Oscillator, 2 MHz

ICC mA

ACTIVE SUPPLY CURRENT vs. VCC

INTERNAL RC OSCILLATOR, 2 MHz 6
Ordering Information

Speed MHz

Power Supply
Ordering Code

ATmega8L-8AC ATmega8L-8PC ATmega8L-8MC ATmega8L-8AI ATmega8L-8PI ATmega8L-8MI ATmega8-16AC ATmega8-16PC ATmega8-16MC ATmega8-16AI ATmega8-16PI ATmega8-16MI

Package
32A 28P3 32M1-A 32A 28P3 32M1-A 32A 28P3 32M1-A 32A 28P3 32M1-A

Operation Range Commercial 0°C to 70°C

Industrial -40°C to 85°C

Commercial 0°C to 70°C

Industrial -40°C to 85°C
Note This device can also be supplied in wafer form. Please contact your local Atmel sales office for detailed ordering information and minimum quantities.
32A 28P3 32M1-A

Package Type 32-lead, Thin mm Plastic Quad Flat Package TQFP 28-lead, Wide, Plastic Dual Inline Package PDIP 32-pad, 5 x 5 x body, Lead Pitch mm Micro Lead Frame Package MLF

Packaging Information

PIN 1 e

PIN 1 IDENTIFIER

B E1 E

A1 A2 L

This package conforms to JEDEC reference MS-026, Variation ABA. Dimensions D1 and E1 do not include mold protrusion. Allowable
protrusion is mm per side. Dimensions D1 and E1 are maximum plastic body size dimensions including mold mismatch. Lead coplanarity is mm maximum.

COMMON DIMENSIONS Unit of Measure = mm

SYMBOL MIN

NOTE

Note 2 Note 2
2325 Orchard Parkway R San Jose, CA 95131
32A, 32-lead, 7 x 7 mm Body Size, mm Body Thickness, mm Lead Pitch, Thin Profile Plastic Quad Flat Package TQFP
288 ATmega8 L

ATmega8 L
28P3

D PIN 1

SEATING PLANE

A1 B2
4 PLACES
0º ~ 15º REF

Note:

Dimensions D and E1 do not include mold Flash or Protrusion. Mold Flash or Protrusion shall not exceed mm

COMMON DIMENSIONS Unit of Measure = mm

SYMBOL MIN

NOM MAX NOTE

Note 1

Note 1

TITLE 2325 Orchard Parkway 28P3, 28-lead mm Wide Plastic Dual R San Jose, CA 95131 Inline Package PDIP
09/28/01
28P3
32M1-A

Pin 1 ID

SIDE VIEW

TOP VIEW A2

D2 Pin 1 ID

BOTTOM VIEW

Notes JEDEC Standard MO-220, Fig. 2 Anvil Singulation , VHHD-2.
Ordering Information 287

Packaging Information 288
32A 288 28P3 289 32M1-A 290

Erratas 291
4 ATmega8 L

ATmega8 L

Datasheet Change Log for 292

Table of Contents 1
6 ATmega8 L

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 Chinachem Golden Plaza 77 Mody Road Tsimshatsui East Kowloon Hong Kong Tel 852 2721-9778 Fax 852 2722-1369

Japan 9F, Tonetsu Shinkawa Bldg. 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 Japan Tel 81 3-3523-3551 Fax 81 3-3523-7581

Atmel Operations

Memory 2325 Orchard Parkway San Jose, CA 95131, USA Tel 1 408 441-0311 Fax 1 408 436-4314

Microcontrollers 2325 Orchard Parkway San Jose, CA 95131, USA Tel 1 408 441-0311 Fax 1 408 436-4314

La Chantrerie BP 70602 44306 Nantes Cedex 3, France Tel 33 2-40-18-18-18 Fax 33 2-40-18-19-60

ASIC/ASSP/Smart Cards Zone Industrielle 13106 Rousset Cedex, France Tel 33 4-42-53-60-00 Fax 33 4-42-53-60-01
1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906, USA Tel 1 719 576-3300 Fax 1 719 540-1759

Scottish Enterprise Technology Park Maxwell Building East Kilbride G75 0QR, Scotland Tel 44 1355-803-000 Fax 44 1355-242-743

RF/Automotive Theresienstrasse 2 Postfach 3535 74025 Heilbronn, Germany Tel 49 71-31-67-0 Fax 49 71-31-67-2340 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906, USA Tel 1 719 576-3300 Fax 1 719 540-1759

Biometrics/Imaging/Hi-Rel MPU/ High Speed Converters/RF Datacom

Avenue de Rochepleine BP 123 38521 Saint-Egreve Cedex, France Tel 33 4-76-58-30-00 Fax 33 4-76-58-34-80

Literature Requests

Disclaimer Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company’s standard warranty which is detailed in Atmel’s Terms and Conditions located on the Company’s web site. The Company assumes no responsibility for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice, and does not make any commitment to update the information contained herein. No licenses to patents or other intellectual property of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel’s products are not authorized for use as critical components in life support devices or systems.

Atmel Corporation All rights reserved. and combinations thereof, and AVR are the registered trademarks of Atmel Corporation or its subsidiaries. Windows and Windows are the registered trademarks of Microsoft Corporation. Other terms and product names may be the trademarks of others

Printed on recycled paper.
More datasheets: CS42418-DQZR | CS42418-DQZ | VAOD-C403S9-BW/45 | VAOD-A403S9-BW/45 | 2N5639_D26Z | 2N5639_D75Z | ATMEGA8L-8AI | ATMEGA8-16AC | ATMEGA8-16AI | ATMEGA8-16PC


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived ATMEGA8-16PI Datasheet file may be downloaded here without warranties.

Datasheet ID: ATMEGA8-16PI 519268