ATMEGA8L-8PI Atmel, ATMEGA8L-8PI Datasheet - Page 226

IC AVR MCU 8K LV 8MHZ IND 28-DIP

ATMEGA8L-8PI

Manufacturer Part Number
ATMEGA8L-8PI
Description
IC AVR MCU 8K LV 8MHZ IND 28-DIP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA8L-8PI

Core Processor
AVR
Core Size
8-Bit
Speed
8MHz
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)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
ATMEGA8L8PI
Programming the
Fuse High Bits
Programming the Lock
Bits
Reading the Fuse and
Lock Bits
226
ATmega8(L)
The algorithm for programming the Fuse high bits is as follows (refer to
on page 222
1. A: Load Command “0100 0000”
2. C: Load Data Low byte. Bit n = “0” programs and bit n = “1” erases the Fuse bit
3. Set BS1 to “1” and BS2 to “0”. This selects high data byte
4. Give WR a negative pulse and wait for RDY/BSY to go high
5. Set BS1 to “0”. This selects low data byte
The algorithm for programming the Lock Bits is as follows (refer to
page 222
1. A: Load Command “0010 0000”
2. C: Load Data Low byte. Bit n = “0” programs the Lock bit
3. Give WR a negative pulse and wait for RDY/BSY to go high
The Lock Bits can only be cleared by executing Chip Erase.
The algorithm for reading the Fuse and Lock Bits is as follows (refer to
on page 222
1. A: Load Command “0000 0100”
2. Set OE to “0”, BS2 to “0”, and BS1 to “0”. The status of the Fuse Low bits can now be
3. Set OE to “0”, BS2 to “1”, and BS1 to “1”. The status of the Fuse High bits can now be
4. Set OE to “0”, BS2 to “0”, and BS1 to “1”. The status of the Lock Bits can now be read at
5. Set OE to “1”
Figure 108. Mapping Between BS1, BS2 and the Fuse- and Lock Bits During Read
read at DATA (“0” means programmed)
read at DATA (“0” means programmed)
DATA (“0” means programmed)
for details on Command and Data loading):
for details on Command and Data loading):
for details on Command loading):
Fuse low byte
Fuse high byte
Lock bits
BS2
0
1
BS1
0
1
“Programming the Flash” on
DATA
“Programming the Flash”
“Programming the Flash”
2486Z–AVR–02/11

Related parts for ATMEGA8L-8PI