ATMEGA163 ATMEL [ATMEL Corporation], ATMEGA163 Datasheet - Page 150

no-image

ATMEGA163

Manufacturer Part Number
ATMEGA163
Description
8-bit Microcontroller with 16K Bytes In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA163-8AC
Manufacturer:
ATMEL
Quantity:
1 600
Part Number:
ATMEGA163-8AI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATMEGA163L-4AI
Manufacturer:
ATMEL
Quantity:
984
Reading the Flash
Reading the EEPROM
Programming the Fuse Low
Bits
150
ATmega163(L)
Figure 84. Programming the EEPROM Waveforms
The algorithm for reading the Flash memory is as follows (refer to “Programming the
Flash” on page 147 for details on Command and Address loading):
1. A: Load Command “0000 0010”.
2. H: Load Address High Byte ($00 - $1F).
3. B: Load Address Low Byte ($00 - $FF).
4. Set OE to “0”, and BS1 to “0”. The Flash word low byte can now be read at DATA.
5. Set BS to “1”. The Flash word high byte can now be read at DATA.
6. Set OE to “1”.
The algorithm for reading the EEPROM memory is as follows (refer to “Programming the
Flash” on page 147 for details on Command and Address loading):
1. A: Load Command “0000 0011”.
2. H: Load Address High Byte ($00 - $01).
3. B: Load Address ($00 - $FF).
4. Set OE to “0”, and BS1 to “0”. The EEPROM Data byte can now be read at
5. Set OE to “1”.
The algorithm for programming the Fuse Low bits is as follows (refer to “Programming
the Flash” on page 147 for details on Command and Data loading):
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. Give WR a negative pulse and wait for RDY/BSY to go high.
RDY/BSY
RESET
PAGEL
XTAL1
DATA
DATA.
Bit 7 = BODLEVEL Fuse bit
Bit 6 = BODEN Fuse bit
Bit 5 = SPIEN Fuse bit
Bit 3..0 = CKSEL3..0 Fuse bits
Bit 4 = “1”. This bit is reserved and should be left unprogrammed (“1”).
XA1
XA2
BS1
BS2
WR
OE
+12V
$11
ADDR. HIGH
ADDR. LOW
DATA LOW
1142E–AVR–02/03

Related parts for ATMEGA163