ATmega165P Atmel Corporation, ATmega165P Datasheet - Page 262

no-image

ATmega165P

Manufacturer Part Number
ATmega165P
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega165P

Flash (kbytes)
16 Kbytes
Pin Count
64
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
54
Ext Interrupts
17
Usb Speed
No
Usb Interface
No
Spi
2
Twi (i2c)
1
Uart
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
1
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
Yes
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8 to 5.5
Operating Voltage (vcc)
1.8 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
3
Output Compare Channels
4
Input Capture Channels
1
Pwm Channels
4
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATmega165P-16AN
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega165P-16ANR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega165P-16AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega165P-16AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega165PA-AN
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega165PV-8AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
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