16
ATmega8(L)
2486RS–AVR–07/07
32M1-A
2325 Orchard Parkway
San Jose, CA 95131
TITLE
DRAWING NO.
R
REV.
32M1-A, 32-pad, 5 x 5 x 1.0 mm Body, Lead Pitch 0.50 mm,
E
32M1-A
5/25/06
3.10 mm Exposed Pad, Micro Lead Frame Package (MLF)
COMMON DIMENSIONS
(Unit of Measure = mm)
SYMBOL
MIN
NOM
MAX
NOTE
D1
D
E1
E
e
b
A3
A2
A1
A
D2
E2
0.08
C
L
1
2
3
P
P
0
1
2
3
A 0.80 0.90 1.00
A1 0.02 0.05
A2 0.65 1.00
A3 0.20 REF
b 0.18 0.23 0.30
D
D1
D2 2.95 3.10 3.25
4.90 5.00 5.10
4.70 4.75 4.80
4.70 4.75 4.80
4.90 5.00 5.10
E
E1
E2 2.95 3.10 3.25
e 0.50 BSC
L 0.30 0.40 0.50
P 0.60
12
o
Note: JEDEC Standard MO-220, Fig. 2 (Anvil Singulation), VHHD-2.
TOP VIEW
SIDE VIEW
BOTTOM VIEW
0
Pin 1 ID
Pin #1 Notch
(0.20 R)
K 0.20
K
K
17
ATmega8(L)
2486RS–AVR–07/07
Erratas The revision letter in this section refers to the revision of the ATmega8 device.
ATmega8
Rev. D to I
First Analog Comparator conversion may be delayed
Interrupts may be lost when writing the timer registers in the asynchronous timer
Signature may be Erased in Serial Programming Mode
CKOPT Does not Enable Internal Capacitors on XTALn/TOSCn Pins when 32 KHz
Oscillator is Used to Clock the Asynchronous Timer/Counter2
1. First Analog Comparator conversion may be delayed
If the device is powered by a slow rising V
CC
, the first Analog Comparator conver-
sion will take longer than expected on some devices.
Problem Fix/Workaround
When the device has been powered or reset, disable then enable theAnalog Com-
parator before the first conversion.
2. Interrupts may be lost when writing the timer registers in the asynchronous
timer
If one of the timer registers which is synchronized to the asynchronous timer2 clock
is written in the cycle before a overflow interrupt occurs, the interrupt may be lost.
Problem Fix/Workaround
Always check that the Timer2 Timer/Counter register, TCNT2, does not have the
value 0xFF before writing the Timer2 Control Register, TCCR2, or Output Compare
Register, OCR2
3. Signature may be Erased in Serial Programming Mode
If the signature bytes are read before a chiperase command is completed, the sig-
nature may be erased causing the device ID and calibration bytes to disappear. This
is critical, especially, if the part is running on internal RC oscillator.
Problem Fix/Workaround:
Ensure that the chiperase command has exceeded before applying the next
command.
4. CKOPT Does not Enable Internal Capacitors on XTALn/TOSCn Pins when
32 KHz Oscillator is Used to Clock the Asynchronous Timer/Counter2
When the internal RC Oscillator is used as the main clock source, it is possible to
run the Timer/Counter2 asynchronously by connecting a 32 KHz Oscillator between
XTAL1/TOSC1 and XTAL2/TOSC2. But when the internal RC Oscillator is selected
as the main clock source, the CKOPT Fuse does not control the internal capacitors
on XTAL1/TOSC1 and XTAL2/TOSC2. As long as there are no capacitors con-
nected to XTAL1/TOSC1 and XTAL2/TOSC2, safe operation of the Oscillator is not
guaranteed.
Problem fix/Workaround
Use external capacitors in the range of 20 - 36 pF 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. Customers who want compatibility between Rev.
G and older revisions, must ensure that CKOPT is unprogrammed (CKOPT = 1).
18
ATmega8(L)
2486RS–AVR–07/07
Datasheet Revision
History
Please note that the referring page numbers in this section are referred to this docu-
ment. The referring revision in this section are referring to the document revision.
Changes from Rev.
2486Q- 10/06 to Rev.
2486R- 07/07
1. Added text to Table 81 on page 218.
2. Updated typo in “Peripheral Features” on page 1.
3. Updated Table 16 on page 42.
4. Updated Table 75 on page 206.
5. Removed redundancy and updated typo in Notes section of “DC Characteris-
tics” on page 242.
Changes from Rev.
2486P- 02/06 to Rev.
2486Q- 10/06
1. Updated “Timer/Counter Oscillator” on page 32.
2. Updated “Fast PWM Mode” on page 89.
3. Updated code example in “USART Initialization” on page 138.
4. Updated Table 37 on page 98, Table 39 on page 99, Table 42 on page 117,
Table 44 on page 118, and Table 98 on page 240.
5. Updated “Erratas” on page 17.
Changes from Rev.
2486O-10/04 to Rev.
2486P- 02/06
1. Added “Resources” on page 7.
2. Updated “External Clock” on page 32.
3. Updated “Serial Peripheral Interface – SPI” on page 124.
4. Updated Code Example in “USART Initialization” on page 138.
5. Updated Note in “Bit Rate Generator Unit” on page 170.
6. Updated Table 98 on page 240.
7. Updated Note inTable 103 on page 248.
8. Updated “Erratas” on page 17.
Changes from Rev.
2486N-09/04 to Rev.
2486O-10/04
1. Removed to instances of “analog ground”. Replaced by “ground”.
2. Updated Table 7 on page 29, Table 15 on page 38, and Table 100 on page 244.
3. Updated “Calibrated Internal RC Oscillator” on page 30 with the 1 MHz default
value.
4. Table 89 on page 225 and Table 90 on page 225 moved to new section “Page
Size” on page 225.

ATMEGA8L-8PU

Mfr. #:
Manufacturer:
Microchip Technology / Atmel
Description:
8-bit Microcontrollers - MCU 8kB Flash 0.5kB EEPROM 23 I/O Pins
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet