ATMEGA8A-PU Atmel, ATMEGA8A-PU Datasheet

MCU AVR 8K FLASH 16MHZ 28-PDIP

ATMEGA8A-PU

Manufacturer Part Number
ATMEGA8A-PU
Description
MCU AVR 8K FLASH 16MHZ 28-PDIP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA8A-PU

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
23
Program Memory Size
8KB (4K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 6x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-DIP (0.300", 7.62mm)
Processor Series
ATMEGA8x
Core
AVR8
Data Bus Width
8 bit
Data Ram Size
1 KB
Interface Type
SPI, TWI, USART
Maximum Clock Frequency
16 MHz
Number Of Programmable I/os
23
Number Of Timers
3
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
EWAVR, EWAVR-BL
Development Tools By Supplier
ATAVRDRAGON, ATSTK500, ATSTK600, ATAVRISP2, ATAVRONEKIT
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 6 Channel
Package
28PDIP
Device Core
AVR
Family Name
ATmega
Maximum Speed
16 MHz
Operating Supply Voltage
3.3|5 V
Controller Family/series
AVR MEGA
No. Of I/o's
23
Eeprom Memory Size
512Byte
Ram Memory Size
1KB
Cpu Speed
16MHz
Rohs Compliant
Yes
For Use With
ATSTK600 - DEV KIT FOR AVR/AVR32ATSTK500 - PROGRAMMER AVR STARTER KIT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA8A-PU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Features
High-performance, Low-power Atmel
Advanced RISC Architecture
High Endurance Non-volatile Memory segments
Peripheral Features
Special Microcontroller Features
I/O and Packages
Operating Voltages
Speed Grades
Power Consumption at 4Mhz, 3V, 25⋅C
– 130 Powerful Instructions – Most Single-clock Cycle Execution
– 32 x 8 General Purpose Working Registers
– Fully Static Operation
– Up to 16 MIPS Throughput at 16MHz
– On-chip 2-cycle Multiplier
– 8KBytes of In-System Self-programmable Flash program memory
– 512Bytes EEPROM
– 1KByte 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
– Two 8-bit Timer/Counters with Separate Prescaler, one Compare Mode
– One 16-bit Timer/Counter with Separate Prescaler, Compare Mode, and Capture
– Real Time Counter with Separate Oscillator
– Three PWM Channels
– 8-channel ADC in TQFP and QFN/MLF package
– 6-channel ADC in PDIP package
– 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
– 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
– 23 Programmable I/O Lines
– 28-lead PDIP, 32-lead TQFP, and 32-pad QFN/MLF
– 2.7 - 5.5V
– 0 - 16MHz
– Active: 3.6mA
– Idle Mode: 1.0mA
– Power-down Mode: 0.5µA
Mode
Standby
• In-System Programming by On-chip Boot Program
• True Read-While-Write Operation
• Eight Channels 10-bit Accuracy
• Six Channels 10-bit Accuracy
®
AVR
®
8-bit Microcontroller
(1)
8-bit
with 8KBytes
In-System
Programmable
Flash
ATmega8A
Summary
8159DS–AVR–02/11

Related parts for ATMEGA8A-PU

ATMEGA8A-PU Summary of contents

Page 1

... Speed Grades – 16MHz • Power Consumption at 4Mhz, 3V, 25⋅C – Active: 3.6mA – Idle Mode: 1.0mA – Power-down Mode: 0.5µA ® ® AVR 8-bit Microcontroller (1) 8-bit with 8KBytes In-System Programmable Flash ATmega8A Summary 8159DS–AVR–02/11 ...

Page 2

... Pin Configurations Figure 1-1. 8159DS–AVR–02/11 Pinout ATmega8A PDIP (RESET) PC6 1 28 (RXD) PD0 2 27 (TXD) PD1 3 26 (INT0) PD2 4 25 (INT1) PD3 5 24 (XCK/T0) PD4 6 23 VCC 7 22 GND 8 21 (XTAL1/TOSC1) PB6 9 20 (XTAL2/TOSC2) PB7 10 19 (T1) PD5 11 18 (AIN0) PD6 ...

Page 3

... Overview The Atmel RISC architecture. By executing powerful instructions in a single clock cycle, the ATmega8A 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. 8159DS–AVR–02/11 ® ® AVR ...

Page 4

... RISC CPU with In-System Self-Programmable Flash on a monolithic chip, the Atmel ATmega8A is a powerful microcontroller that provides a highly-flexible and cost-effective solu- tion to many embedded control applications. The Atmel AVR ATmega8A is supported with a full suite of program and system development tools, including C compilers, macro assemblers, program debugger/simulators, In-Circuit Emula- tors, and evaluation kits. ...

Page 5

... As inputs, Port D pins that are externally pulled low will source current if the pull-up resistors are activated. The Port D pins are tri-stated when a reset condition becomes active, even if the clock is not running. Port D also serves the functions of various special features of the ATmega8A as listed on 63. 2.2.7 RESET Reset input ...

Page 6

... 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 1PPM over 20 years at 85°C or 100 years at 25°C. 8159DS–AVR–02/11 1. ATmega8A 6 ...

Page 7

... ACIE REFS0 ADLAR – MUX3 ADSC ADFR ADIF ADIE ADC Data Register High byte ADC Data Register Low byte Two-wire Serial Interface Data Register TWA5 TWA4 TWA3 TWA2 ATmega8A Bit 2 Bit 1 Bit – SP10 SP9 SP8 SP2 SP1 SP0 – – ...

Page 8

... I/O Register, writing a one back into any flag read as set, thus clearing the flag. The CBI and SBI instructions work with registers 0x00 to 0x1F only. 8159DS–AVR–02/11 Bit 6 Bit 5 Bit 4 Bit 3 TWS6 TWS5 TWS4 TWS3 Two-wire Serial Interface Bit Rate Register ATmega8A Bit 2 Bit 1 Bit 0 TWPS1 TWPS0 – Page 193 191 8 ...

Page 9

... PC ← then PC ← then PC ← then PC ← ⊕ then PC ← ⊕ then PC ← then PC ← then PC ← then PC ← then PC ← then PC ← then PC ← Description ATmega8A Operation Flags #Clocks Z,C,N,V,H Z,C,N,V,H Z,C,N,V,S Z,C,N,V,H Z,C,N,V,H Z,C,N,V,H Z,C,N,V,H Z,C,N,V,S Z,N,V Z,N,V ...

Page 10

... SREG(s) ← 1 SREG(s) ← ← Rr(b) Rd(b) ← ← ← ← ← ← ← ← ← ← ← ← ← ← 1 Description ATmega8A None None None None None None None None None None None None None None None None None None ...

Page 11

... Set Half Carry Flag in SREG CLH Clear Half Carry Flag in SREG MCU CONTROL INSTRUCTIONS NOP No Operation SLEEP Sleep WDR Watchdog Reset 8159DS–AVR–02/11 ATmega8A T ← ← ← None (see specific descr. for Sleep function) None (see specific descr. for WDR/timer) ...

Page 12

... Wide, Plastic Dual Inline Package (PDIP) 32M1-A 32-pad 1.0 body, Lead Pitch 0.50 mm Quad Flat No-Lead/Micro Lead Frame Package (QFN/MLF) 8159DS–AVR–02/11 (2) Ordering Code Package ATmega8A-AU 32A (3) ATmega8A-AUR 32A ATmega8A-PU 28P3 ATmega8A-MU 32M1-A (3) ATmega8A-MUR 32M1-A Package Type ATmega8A (1) Operation Range Industrial ° ...

Page 13

... San Jose, CA 95131 R 8159DS–AVR–02/11 PIN 0°~7° TITLE 32A, 32-lead Body Size, 1.0 mm Body Thickness, 0.8 mm Lead Pitch, Thin Profile Plastic Quad Flat Package (TQFP) ATmega8A A COMMON DIMENSIONS (Unit of Measure = mm) MIN MAX SYMBOL NOM NOTE A – – 1.20 A1 0.05 – 0. ...

Page 14

... Orchard Parkway San Jose, CA 95131 R 8159DS–AVR–02/11 D PIN PLACES 0º ~ 15º REF eB TITLE 28P3, 28-lead (0.300"/7.62 mm Wide) Plastic Dual Inline Package (PDIP) ATmega8A E1 COMMON DIMENSIONS (Unit of Measure = mm) MIN MAX SYMBOL NOM A – – 4.5724 A1 0.508 – – D 34.544 – ...

Page 15

... San Jose, CA 95131 R 8159DS–AVR–02/ TITLE 32M1-A, 32-pad 1.0 mm Body, Lead Pitch 0.50 mm, 3.10 mm Exposed Pad, Micro Lead Frame Package (MLF) ATmega8A SIDE VIEW A3 A1 COMMON DIMENSIONS 0.08 C (Unit of Measure = mm) MIN MAX SYMBOL NOM A 0.80 0.90 1.00 A1 – 0.02 0.05 A2 – ...

Page 16

... Problem Fix / Workaround Use external capacitors in the range XTAL1/TOSC1 and XTAL2/TOSC2. This will be fixed in ATmega8A Rev. G where the CKOPT Fuse will control internal capaci- tors also when internal RC Oscillator is selected as main clock source. For ATmega8A Rev. G, CKOPT = 0 (programmed) will enable the internal capacitors on XTAL1 and XTAL2. Cus- tomers who want compatibility between Rev ...

Page 17

... Reading EEPROM by using ST or STS to set EERE bit triggers unexpected interrupt request. Reading EEPROM by using the ST or STS command to set the EERE bit in the EECR reg- ister triggers an unexpected EEPROM interrupt request. Problem Fix / Workaround Always use OUT or SBI to set EERE in EECR. 8159DS–AVR–02/11 ATmega8A 17 ...

Page 18

... Reset Characteristics” on page 247 Updated “ADC Characteristics” on page 251 Updated “Typical Characteristics” Updated “Errata” on page 298. ATmega8A, rev L. Created a new Table Of Contents. ATmega8A by adding an extra note. to include Tape & Reel. with new BODLEVEL values with new V values ...

Page 19

Rev.8159AS – 08/ Initial revision (Based on the ATmega8/L datasheet 2486T-AVR-05/08) Changes done compared to ATmega8/L datasheet 2486T-AVR-05/08: – All Electrical Characteristics are moved to page 244. – Updated “DC Characteristics” on page 244 0.6V) and typical ...

Page 20

... 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 THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, 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 ...

Related keywords