ATMEGA161-8AI Atmel, ATMEGA161-8AI Datasheet - Page 122
ATMEGA161-8AI
Manufacturer Part Number
ATMEGA161-8AI
Description
IC AVR MCU 16K 8MHZ IND 44-TQFP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheet
1.ATMEGA161-8AC.pdf
(159 pages)
Specifications of ATMEGA161-8AI
Core Processor
AVR
Core Size
8-Bit
Speed
8MHz
Connectivity
SPI, UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
35
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
44-TQFP, 44-VQFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Data Converters
-
Other names
ATMEGA1618AI
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
- Current page: 122 of 159
- Download datasheet (2Mb)
Programming the EEPROM
122
ATmega161(L)
The programming algorithm for the EEPROM Data memory is as follows (refer to “Pro-
gramming the Flash” for details on command, address and data loading):
1. A: Load Command “0001 0001”.
2. H: Load Address High Byte ($00 - $01)
3. B: Load Address Low Byte ($00 - $FF)
4. E: Load Data Low Byte ($00 - $FF)
L: Write Data Low Byte
1. Set BS to “0”. This selects low data.
2. Give WR a negative pulse. This starts programming of the data byte. RDY/BSY
3. Wait until to RDY/BSY goes high before programming the next byte.
The loaded command and address are retained in the device during programming. For
efficient programming, the following should be considered:
•
•
•
These considerations also apply to Flash, EEPROM and Signature bytes reading.
Figure 78. Programming the EEPROM Waveforms
RDY/BSY
RESET
PAGEL
XTAL1
DATA
goes low.
(See Figure 78 for signal waveforms.)
The command needs to be loaded only once when writing or reading multiple
memory locations.
Address High byte only needs to be loaded before programming a new 256-word
page in the EEPROM.
Skip writing the data value $FF, that is, the contents of the entire EEPROM after a
Chip Erase.
XA1
XA2
BS1
BS2
WR
OE
+12V
$11
ADDR. HIGH
ADDR. LOW
DATA LOW
1228D–AVR–02/07
Related parts for ATMEGA161-8AI
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
Part Number:
Description:
IC AVR MCU 16K 16MHZ 5V 44TQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC AVR MCU 16K 16MHZ 5V 44-QFN
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC AVR MCU 16K 16MHZ 5V 40DIP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU AVR 16K FLASH 16MHZ 44-QFN
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC AVR MCU 16K 16MHZ COM 40-DIP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC AVR MCU 16K 16MHZ COM 44-QFN
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC AVR MCU 16K 16MHZ IND 40-DIP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC AVR MCU 16K 16MHZ IND 44-QFN
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC AVR MCU 16K 16MHZ IND 44-TQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC MCU 8BIT 16KB FLASH 44TQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU AVR 16K FLASH 16MHZ 44-TQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC AVR MCU 16K 16MHZ COM 44-TQFP
Manufacturer:
Atmel
Datasheet: