ATmega165P Atmel Corporation, ATmega165P Datasheet - Page 269

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
25.2.1
25.3
25.4
25.5
25.6
25.6.1
8019K–AVR–11/10
Signature Bytes
Calibration Byte
Page Size
Parallel Programming Parameters, Pin Mapping, and Commands
Latching of Fuses
Signal Names
The fuse values are latched when the device enters programming mode and changes of the
fuse values will have no effect until the part leaves Programming mode. This does not apply to
the EESAVE Fuse which will take effect once it is programmed. The fuses are also latched on
Power-up in Normal mode.
All Atmel microcontrollers have a three-byte signature code which identifies the device. This
code can be read in both serial and parallel mode, also when the device is locked. The three
bytes reside in a separate address space. The signature bytes are given in
Table 25-6.
The ATmega165P has a byte calibration value for the internal RC Oscillator. This byte resides in
the high byte of address 0x000 in the signature address space. During reset, this byte is auto-
matically written into the OSCCAL Register to ensure correct frequency of the calibrated RC
Oscillator.
Table 25-7.
Table 25-8.
This section describes how to parallel program and verify Flash Program memory, EEPROM
Data memory, Memory Lock bits, and Fuse bits in the ATmega165P. Pulses are assumed to be
at least 250 ns unless otherwise noted.
In this section, some pins of the ATmega165P are referenced by signal names describing their
functionality during parallel programming, see
270. Pins not described in the following table are referenced by pin names.
The XA1/XA0 pins determine the action executed when the XTAL1 pin is given a positive pulse.
The bit coding is shown in
Part
ATmega165P
8K words (16 Kbytes)
EEPROM Size
Flash Size
512 bytes
Device and JTAG ID
No. of Words in a Page and No. of Pages in the Flash
No. of Words in a Page and No. of Pages in the EEPROM
0x000
0x1E
Signature Bytes Address
Table 25-11 on page
Page Size
Page Size
64 words
4 bytes
0x001
0x94
PCWORD
PCWORD
EEA[1:0]
PC[5:0]
0x002
0x07
Figure 25-1 on page 270
271.
No. of Pages
No. of Pages
Part Number
128
128
9407
ATmega165P
and
JTAG
PCPAGE
EEA[8:2]
PCPAGE
PC[12:6]
Table
Table 25-9 on page
Manufacture ID
25-6.
0x1F
EEAMSB
PCMSB
12
8
269

Related parts for ATmega165P