ATmega8 Atmel Corporation, ATmega8 Datasheet

no-image

ATmega8

Manufacturer Part Number
ATmega8
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega8

Flash (kbytes)
8 Kbytes
Pin Count
32
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
12
Hardware Qtouch Acquisition
No
Max I/o Pins
23
Ext Interrupts
2
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Uart
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
1
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
3
Output Compare Channels
3
Input Capture Channels
1
Pwm Channels
3
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATMEGA8
Manufacturer:
ATMEL
Quantity:
400
Company:
Part Number:
ATMEGA8
Manufacturer:
ATMEL
Quantity:
1 300
Part Number:
ATmega8-16AC
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega8-16AI
Manufacturer:
Atmel
Quantity:
10 000
Company:
Part Number:
ATmega8-16AI
Manufacturer:
ATMEL
Quantity:
3 100
Part Number:
ATmega8-16AJ
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega8-16AL
Manufacturer:
ALTERA
0
Part Number:
ATmega8-16AU
Manufacturer:
Atmel
Quantity:
20 000
Part Number:
ATmega8-16AU
Manufacturer:
ATMEL
Quantity:
5
Part Number:
ATmega8-16AU
Manufacturer:
Atmel
Quantity:
10 000
Company:
Part Number:
ATmega8-16AU
Manufacturer:
ATMEL
Quantity:
5 000
Company:
Part Number:
ATmega8-16AU
Manufacturer:
ATMEL
Quantity:
4 800
Part Number:
ATmega8-16AU
Manufacturer:
ATMEL
Quantity:
2 650
Part Number:
ATmega8-16AUR
Manufacturer:
AVX
Quantity:
4 000
Part Number:
ATmega8-16AUЈ¬ SL383
Manufacturer:
ATMEL
Quantity:
6 000
Part Number:
ATmega8-16MU
Manufacturer:
ATMEL
Quantity:
200
Part Number:
ATmega8-16PU
Manufacturer:
ATMEL
Quantity:
5 510
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 × 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.7V - 5.5V (ATmega8L)
– 4.5V - 5.5V (ATmega8)
– 0 - 8MHz (ATmega8L)
– 0 - 16MHz (ATmega8)
– Active: 3.6mA
– Idle Mode: 1.0mA
– Power-down Mode: 0.5µA
True Read-While-Write Operation
Mode
Standby
In-System Programming by On-chip Boot Program
Eight Channels 10-bit Accuracy
Six Channels 10-bit Accuracy
®
AVR
®
8-bit Microcontroller
(1)
8-bit
with 8KBytes In-
System
Programmable
Flash
ATmega8
ATmega8L
Summary
Rev. 2486ZS–AVR–02/11

Related parts for ATmega8

ATmega8 Summary of contents

Page 1

... PDIP, 32-lead TQFP, and 32-pad QFN/MLF • Operating Voltages – 2.7V - 5.5V (ATmega8L) – 4.5V - 5.5V (ATmega8) • Speed Grades – 8MHz (ATmega8L) – 16MHz (ATmega8) • Power Consumption at 4Mhz, 3V, 25°C – Active: 3.6mA – Idle Mode: 1.0mA – Power-down Mode: 0.5µA ® ® ...

Page 2

... GND 5 VCC 6 (XTAL1/TOSC1) PB6 7 (XTAL2/TOSC2) PB7 8 MLF Top View (INT1) PD3 1 (XCK/T0) PD4 2 GND 3 VCC 4 GND 5 VCC 6 (XTAL1/TOSC1) PB6 7 (XTAL2/TOSC2) PB7 8 ATmega8(L) 24 PC1 (ADC1) 23 PC0 (ADC0) 22 ADC7 21 GND 20 AREF 19 ADC6 18 AVCC 17 PB5 (SCK) PC1 (ADC1) 24 PC0 (ADC0) 23 ADC7 22 GND 21 20 AREF ...

Page 3

... Overview 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 ver- sus processing speed. Block Diagram Figure 1 ...

Page 4

... RISC CPU with In-System Self-Programmable Flash on a monolithic chip, the Atmel ATmega8 is a powerful microcontroller that provides a highly-flexible and cost-effective solution to many embedded control applications. The ATmega8 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 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 ATmega8 as listed on 63. RESET Reset input ...

Page 6

... QFN/MLF Package These pins are powered from the analog supply and serve as 10-bit ADC channels. Only) 2486ZS–AVR–02/11 , even if the ADC is not used. If the ADC is used, it should be con- CC through a low-pass filter. Note that Port C (5..4) use digital supply voltage ATmega8( ...

Page 7

... A comprehensive set of development tools, application notes and datasheets are available for download on http://www.atmel.com/avr. Note: Data Retention 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. 2486ZS–AVR–02/11 1. ATmega8(L) 7 ...

Page 8

... 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 ATmega8(L) Bit 2 Bit 1 Bit – SP10 SP9 SP8 SP2 SP1 SP0 – ...

Page 9

... Bit 6 Bit 5 Bit 4 Bit 3 TWS6 TWS5 TWS4 TWS3 Two-wire Serial Interface Bit Rate Register (“USART” on page 129) for details on how to access UBRRH and UCSRC 146) ATmega8(L) Bit 2 Bit 1 Bit 0 TWPS1 TWPS0 – Page 166 165 (“Accessing 9 ...

Page 10

... V= 1) then PC ← then PC ← then PC ← then PC ← then PC ← then PC ← then PC ← ATmega8(L) Operation Flags #Clocks ...

Page 11

... Rd(b) ← ← ← ← ← ← ← ← ← ← ← ← ← ← 1 ATmega8(L) Operation Flags #Clocks None None None None None None None None None None ...

Page 12

... Set Half Carry Flag in SREG CLH Clear Half Carry Flag in SREG MCU CONTROL INSTRUCTIONS NOP No Operation SLEEP Sleep 2486ZS–AVR–02/11 Description T ← ← ← 0 (see specific descr. for Sleep function) ATmega8(L) Operation Flags #Clocks None None ...

Page 13

... Lead Pitch 0.50mm Quad Flat No-Lead/Micro Lead Frame Package (QFN/MLF) 2486ZS–AVR–02/11 (2) Ordering Code Package ATmega8L-8AU 32A (3) ATmega8L-8AUR 32A ATmega8L-8PU 28P3 ATmega8L-8MU 32M1-A (3) ATmega8L-8MUR 32M1-A ATmega8-16AU 32A (3) ATmega8-16AUR 32A ATmega8-16PU 28P3 ATmega8-16MU 32M1-A (3) ATmega8-16MUR 32M1-A Package Type ATmega8(L) (1) Operation Range Industrial ° ° (- ...

Page 14

... 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) ATmega8(L) A COMMON DIMENSIONS (Unit of Measure = mm) MIN MAX SYMBOL NOM NOTE A – – 1.20 A1 0.05 – ...

Page 15

... San Jose, CA 95131 R 2486ZS–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) ATmega8(L) E1 COMMON DIMENSIONS (Unit of Measure = mm) MIN MAX SYMBOL NOM A – – 4.5724 A1 0.508 – – D 34.544 – ...

Page 16

... San Jose, CA 95131 R 2486ZS–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) ATmega8(L) 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 ...

Page 17

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

Page 18

... 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. 2486ZS–AVR–02/11 ATmega8(L) 18 ...

Page 19

... Characteristics” on page 235 “ADC Characteristics” on page 241 “Errata” on page 289. “DC Characteristics” on page 235 Table 98 on page 233. “Ordering Information” on page ATmega8(L) 13. Added Ording Information for has been corrected from 1.6ns to 1600ns. 209. with new V maximum value (0.9V and OL with V maximum value (2 ...

Page 20

... Rate Generator Unit” on page Table 98 on page 233. Table 103 on page 241. “Errata” on page 289. Table 7 on page 29, Table 15 on page “Calibrated Internal RC Oscillator” on page 30 ATmega8(L) 1. “DC Characteristics” on 32. 134. 97, Table 42 on page 115, Table 44 on 121. 134. ...

Page 21

... Table 102 on page 239. “Timer/Counter Oscillator” on page “Special Function IO Register – SFIOR” on page Figure 103 on page “Serial Programming Algorithm” on page to Table 97 on page 232 WD_FUSE 233. 235. ATmega8(L) moved to new section 285. 2. 42. 235. 189. 241. 30. in Table 16 on page ...

Page 22

... Updated drawings in 2486ZS–AVR–02/11 values in Table 15 on page BOT “ADC Characteristics” on page “ATmega8 Typical Characteristics” on page “Errata” on page 289. “Asynchronous Timer Clock – clk Figure 38 on page “Filling the Temporary Buffer (Page Loading)” on page 209 “EEPROM Write during Power-down Sleep Mode” on page “ ...

Page 23

... Table 84, “Explanation of Different Variables used in Figure 103 on page 208 and the 214. “Reading the Calibration Byte” on page 42, DC Characteristics on 241. “External Clock” on page Table 99, “External Clock Drive,” on page 167. “ATmega8 Typical Characteristics” on page ATmega8(L) page 289. 241. 55. 59. 127, Table 59, “ ...

Page 24

Changes from Rev. 1. Updated TWI Chapter. 2486B-12/01 to More details regarding use of the TWI Power-down operation and using the TWI as Master Rev. 2486C-03/02 with low TWBRR values are added into the datasheet. Added the note at the ...

Page 25

... Atmel Munich GmbH Business Campus Parkring 4 D-85748 Garching b. Munich GERMANY Tel: (+49) 89-31970-0 Fax: (+49) 89-3194621 ® and others are registered trademarks or trademarks of Atmel Corporation or its Atmel 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 2486ZS–AVR–02/11 ...

Related keywords