ATMEGA165-16MI Atmel, ATMEGA165-16MI Datasheet - Page 254

no-image

ATMEGA165-16MI

Manufacturer Part Number
ATMEGA165-16MI
Description
IC AVR MCU 16K 16MHZ 64-QFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA165-16MI

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
SPI, UART/USART, USI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
54
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)
2.7 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-MLF®, 64-QFN
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Programming the EEPROM
2573G–AVR–07/09
Figure 112. Addressing the Flash Which is Organized in Pages
Note:
Figure 113. Programming the Flash Waveforms
Note:
The EEPROM is organized in pages, see Table 106 on page 249. When programming
the EEPROM, the program data is latched into a page buffer. This allows one page of
data to be programmed simultaneously. The programming algorithm for the EEPROM
data memory is as follows (refer to “Programming the Flash” on page 252 for details on
Command, Address and Data loading):
1. A: Load Command “0001 0001”.
2. G: Load Address High Byte (0x00 - 0xFF).
3. B: Load Address Low Byte (0x00 - 0xFF).
4. C: Load Data (0x00 - 0xFF).
5. E: Latch data (give PAGEL a positive pulse).
RESET +12V
RDY/BSY
PAGEL
XTAL1
DATA
XA1
XA0
BS1
BS2
WR
OE
PROGRAM MEMORY
1. PCPAGE and PCWORD are listed in Table 105 on page 249.
1. “XX” is don’t care. The letters refer to the programming description above.
PROGRAM
COUNTER
PAGE
0x10
A
PAGE ADDRESS
WITHIN THE FLASH
ADDR. LOW
B
PCMSB
DATA LOW
C
PCPAGE
DATA HIGH
D
XX
E
PAGEMSB
ADDR. LOW
PCWORD
B
WORD ADDRESS
WITHIN A PAGE
DATA LOW
C
(1)
F
DATA HIGH
INSTRUCTION WORD
D
PAGE
XX
E
ATmega165/V
ADDR. HIGH
G
(1)
H
PCWORD[PAGEMSB:0]:
XX
00
01
02
PAGEEND
254

Related parts for ATMEGA165-16MI