ATMEGA8-16PU Atmel, ATMEGA8-16PU Datasheet

IC AVR MCU 8K 16MHZ 5V 28DIP

ATMEGA8-16PU

Manufacturer Part Number
ATMEGA8-16PU
Description
IC AVR MCU 8K 16MHZ 5V 28DIP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA8-16PU

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)
4.5 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)
Package
28PDIP
Device Core
AVR
Family Name
ATmega
Maximum Speed
16 MHz
Operating Supply Voltage
5 V
Data Bus Width
8 Bit
Number Of Programmable I/os
23
Interface Type
SPI/TWI/USART
On-chip Adc
6-chx10-bit
Number Of Timers
3
A/d Inputs
6-Channel, 10-Bit
Cpu Speed
16 MIPS
Eeprom Memory
512 Bytes
Input Output
23
Interface
SPI/TWI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin PDIP
Programmable Memory
8K Bytes
Timers
2-8-bit, 1-16-bit
Voltage, Range
4.5-5.5 V
Controller Family/series
AVR MEGA
No. Of I/o's
23
Eeprom Memory Size
512Byte
Ram Memory Size
1KB
Rohs Compliant
Yes
For Use With
ATSTK600-TQFP32 - STK600 SOCKET/ADAPTER 32-TQFPATSTK600-DIP40 - STK600 SOCKET/ADAPTER 40-PDIP770-1007 - ISP 4PORT ATMEL AVR MCU SPI/JTAGATAVRISP2 - PROGRAMMER AVR IN SYSTEMATSTK500 - PROGRAMMER AVR STARTER KIT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA8-16PU
Manufacturer:
ATMEL
Quantity:
5 510
Features
High-performance, Low-power AVR
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 4 Mhz, 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 16 MHz
– On-chip 2-cycle Multiplier
– 8K Bytes of In-System Self-programmable Flash program memory
– 512 Bytes EEPROM
– 1K Byte 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 (ATmega8L)
– 4.5 - 5.5V (ATmega8)
– 0 - 8 MHz (ATmega8L)
– 0 - 16 MHz (ATmega8)
– Active: 3.6 mA
– Idle Mode: 1.0 mA
– 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
®
8-bit Microcontroller
(1)
8-bit
with 8K Bytes
In-System
Programmable
Flash
ATmega8
ATmega8L
Summary

Related parts for ATMEGA8-16PU

ATMEGA8-16PU Summary of contents

Page 1

... Operating Voltages – 2.7 - 5.5V (ATmega8L) – 4.5 - 5.5V (ATmega8) • Speed Grades – MHz (ATmega8L) – MHz (ATmega8) • Power Consumption at 4 Mhz, 3V, 25°C – Active: 3.6 mA – Idle Mode: 1.0 mA – Power-down Mode: 0.5 µA ® 8-bit Microcontroller ...

Page 2

... Pin Configurations ATmega8(L) 2 PDIP (RESET) PC6 1 28 PC5 (ADC5/SCL) (RXD) PD0 2 27 PC4 (ADC4/SDA) (TXD) PD1 3 26 PC3 (ADC3) (INT0) PD2 4 25 PC2 (ADC2) (INT1) PD3 5 24 PC1 (ADC1) (XCK/T0) PD4 6 23 PC0 (ADC0) VCC 7 22 GND GND 8 21 AREF (XTAL1/TOSC1) PB6 ...

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

... In the TQFP and QFN/MLF package, ADC7..6 serve as analog inputs to the A/D converter. QFN/MLF Package These pins are powered from the analog supply and serve as 10-bit ADC channels. Only) ATmega8( 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 ...

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. 2486TS–AVR–05/08 1. ATmega8(L) 7 ...

Page 8

... UBRRL 0x08 (0x28) ACSR ACD 0x07 (0x27) ADMUX REFS1 0x06 (0x26) ADCSRA ADEN 0x05 (0x25) ADCH 0x04 (0x24) ADCL 0x03 (0x23) TWDR 0x02 (0x22) TWAR TWA6 ATmega8(L) 8 Bit 6 Bit 5 Bit 4 Bit – – – – SP6 SP5 SP4 SP3 INT0 – ...

Page 9

... 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. 2486TS–AVR–05/08 Bit 6 Bit 5 Bit 4 Bit 3 TWS6 TWS5 TWS4 TWS3 Two-wire Serial Interface Bit Rate Register ATmega8(L) Bit 2 Bit 1 Bit 0 TWPS1 TWPS0 – Page 173 171 9 ...

Page 10

... Branch if T Flag Set BRTC k Branch if T Flag Cleared BRVS k Branch if Overflow Flag is Set BRVC k Branch if Overflow Flag is Cleared Mnemonics Operands ATmega8(L) 10 Description Rd ← ← Rdh:Rdl ← Rdh:Rdl + K Rd ← ← ← ← Rdh:Rdl ← Rdh:Rdl - K Rd ← Rd • ← Rd • ← ...

Page 11

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

Page 12

... Clear T in SREG SEH Set Half Carry Flag in SREG CLH Clear Half Carry Flag in SREG MCU CONTROL INSTRUCTIONS NOP No Operation SLEEP Sleep WDR Watchdog Reset ATmega8( ← ← ← None (see specific descr. for Sleep function) None (see specific descr. for WDR/timer) ...

Page 13

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

Page 14

... This package conforms to JEDEC reference MS-026, Variation ABA. 2. Dimensions D1 and E1 do not include mold protrusion. Allowable protrusion is 0.25 mm per side. Dimensions D1 and E1 are maximum plastic body size dimensions including mold mismatch. 3. Lead coplanarity is 0.10 mm maximum. 2325 Orchard Parkway San Jose, CA 95131 R ATmega8( PIN 1 IDENTIFIER ...

Page 15

... Orchard Parkway San Jose, CA 95131 R 2486TS–AVR–05/08 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

... Pin TOP VIEW Pin #1 Notch (0. BOTTOM VIEW Note: JEDEC Standard MO-220, Fig. 2 (Anvil Singulation), VHHD-2. 2325 Orchard Parkway San Jose, CA 95131 R ATmega8( TITLE 32M1-A, 32-pad 1.0 mm Body, Lead Pitch 0.50 mm, 3.10 mm Exposed Pad, Micro Lead Frame Package (MLF) SIDE VIEW ...

Page 17

... Problem Fix / Workaround Use external capacitors in the range 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

... Problem Fix / Workaround Always use OUT or SBI to set EERE in EECR. ATmega8(L) 18 2486TS–AVR–05/08 ...

Page 19

... Table 98 on page 240. “Errata” on page 17. “Resources” on page 7. “External Clock” on page 32. “Serial Peripheral Interface – SPI” on page “USART Initialization” on page ATmega8(L) 292. 1. “DC Characteristics” on 32. 138. 98, Table 42 on page 117, 124. 138. Table 44 on ...

Page 20

... Removed instructions CALL and JMP from the datasheet. 4. Updated t 244 5. Replaced text “XTAL1 and XTAL2 should be left unconnected (NC)” after “Calibrated Internal RC Oscillator” on page and CKOPT Fuse in ATmega8(L) 20 “Bit Rate Generator Unit” on page Table 98 on page 240. Table 103 on page 248. “ ...

Page 21

... Table 15 on page BOT “ADC Characteristics” on page “ATmega8 Typical Characteristics” on page “Errata” on page 17. “Asynchronous Timer Clock – clkASY” on page Figure 38 on page “Filling the Temporary Buffer (Page Loading)” on page 216 “EEPROM Write during Power-down Sleep Mode” on page “ ...

Page 22

... Changes in External Clock Frequency Added the description at the end of Added period changing data in 3. Updated TWI Chapter ATmega8(L) 22 113. “Performing a Page Write” on page Table 87 on page “Packaging Information” on page Table 103, “ADC Characteristics,” on page “ ...

Page 23

... Added a Description on how to Enter Parallel Programming Mode if RESET Pin is Dis- abled or if External Oscillators are Selected. Added a note in section 2486TS–AVR–05/08 173. “ATmega8 Typical Characteristics” on page “Bit Rate Generator Unit” on page “Address Match Unit” on page “Oscillator Calibration Register – OSCCAL” on page 31 225. ...

Page 24

... 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 ATMEL’S TERMS AND CONDI- TIONS OF SALE LOCATED ON ATMEL’S WEB SITE, 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