ATMEGA165P-16MUR Atmel, ATMEGA165P-16MUR Datasheet - Page 262

IC MCU AVR 16K 16MHZ 64MLF

ATMEGA165P-16MUR

Manufacturer Part Number
ATMEGA165P-16MUR
Description
IC MCU AVR 16K 16MHZ 64MLF
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA165P-16MUR

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-VFQFN, Exposed Pad
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
24.8.13
8019K–AVR–11/10
ATmega165P Boot Loader Parameters
In
Self-Programming are given.
Table 24-6.
Note:
Table 24-6
1
1
0
0
Return:
Do_spm:
Wait_spm:
Wait_ee:
sbiw loophi:looplo, 1
brne Rdloop
; return to RWW section
; verify that RWW section is safe to read
in
sbrs temp1, RWWSB
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
temp1, SPMCSR
spmcrval, (1<<RWWSRE) | (1<<SPMEN)
temp1, SPMCSR
temp2, SREG
SPMCSR, spmcrval
SREG, temp2
1
0
1
0
through
Boot Size Configuration
words
words
words
words
1024
128
256
512
Table 24-8 on page
16
2
4
8
; If RWWSB is set, the RWW section is not ready yet
Application Flash
Section
0x0000 - 0x1DFF
0x0000 - 0x1F7F
0x0000 - 0x1EFF
0x0000 - 0x1BFF
(1)
;use subi for PAGESIZEB<=256
263, the parameters used in the description of the
Boot Loader
Flash
Section
0x1E00 - 0x1FFF
0x1C00 - 0x1FFF
0x1F80 - 0x1FFF
0x1F00 - 0x1FFF
Figure 24-2 on page
End
Application
Section
ATmega165P
0x1EFF
0x1DFF
0x1BFF
0x1F7F
253.
Boot Reset
Address
(Start Boot
Loader
Section)
0x1F80
0x1F00
0x1E00
0x1C00
262

Related parts for ATMEGA165P-16MUR