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

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
ATmega165 Boot Loader
Parameters
2573G–AVR–07/09
In Table 96 through Table 98, the parameters used in the description of the Self-Pro-
gramming are given.
Table 96. Boot Size Configuration
Note:
Table 97. Read-While-Write Limit
Note:
Section
Read-While-Write section (RWW)
No Read-While-Write section (NRWW)
Do_spm:
Wait_spm:
Wait_ee:
1
1
0
0
ret
; re-enable the RWW section
ldi
call Do_spm
rjmp Return
; check for previous SPM complete
in
sbrc temp1, SPMEN
rjmp Wait_spm
; input: spmcrval determines SPM action
; disable interrupts if enabled, store status
in
cli
; check that no EEPROM write access is present
sbic EECR, EEWE
rjmp Wait_ee
; SPM timed sequence
out
spm
; restore SREG (to enable interrupts if originally enabled)
out
ret
1. The different BOOTSZ Fuse configurations are shown in Figure 109
1. For details about these two section, see “NRWW – No Read-While-Write Section” on
page 233 and “RWW – Read-While-Write Section” on page 233.
spmcrval, (1<<RWWSRE) | (1<<SPMEN)
temp1, SPMCSR
temp2, SREG
SPMCSR, spmcrval
SREG, temp2
1
0
1
0
words
words
words
words
1024
128
256
512
(1)
(1)
16
2
4
8
0x0000 -
0x1F7F
0x0000 -
0x1EFF
0x0000 -
0x1DFF
0x0000 -
0x1BFF
Pages
112
16
0x1F80 -
0x1FFF
0x1F00 -
0x1FFF
0x1E00 -
0x1FFF
0x1C00 -
0x1FFF
ATmega165/V
Address
0x0000 - 0x1BFF
0x1C00 - 0x1FFF
0x1F7F
0x1EFF
0x1DFF
0x1BFF
0x1F80
0x1F00
0x1E00
0x1C00
244

Related parts for ATMEGA165-16MI