ATmega165PA Atmel Corporation, ATmega165PA Datasheet - Page 31

no-image

ATmega165PA

Manufacturer Part Number
ATmega165PA
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega165PA

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:
ATmega165PA-AN
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega165PA-AUR
Manufacturer:
Atmel
Quantity:
10 000
9.3
9.4
8285D–AVR–06/11
Default Clock Source
Calibrated Internal RC Oscillator
ATmega165A/PA/325A/PA/3250A/PA/645A/P/6450A/P
The device is shipped with CKSEL = “0010”, SUT = “10”, and CKDIV8 programmed. The default
clock source setting is the Internal RC Oscillator with longest start-up time and an initial system
clock prescaling of 8. This default setting ensures that all users can make their desired clock
source setting using an In-System or Parallel programmer.
By default, the Internal RC Oscillator provides an approximate 8MHz clock. Though voltage and
temperature dependent, this clock can be very accurately calibrated by the user. See
11 on page 325
shipped with the CKDIV8 Fuse programmed. See
more details.
This clock may be selected as the system clock by programming the CKSEL Fuses as shown in
Table
the pre-programmed calibration value into the OSCCAL Register and thereby automatically cali-
brates the RC Oscillator. The accuracy of this calibration is shown as Factory calibration in
28-11 on page
By changing the OSCCAL register from SW, see
page
The accuracy of this calibration is shown as User calibration in
When this Oscillator is used as the chip clock, the Watchdog Oscillator will still be used for the
Watchdog Timer and for the Reset Time-out. For more information on the pre-programmed cali-
bration value, see the section
Table 9-3.
Notes:
When this Oscillator is selected, start-up times are determined by the SUT Fuses as shown in
Table 9-4
Table 9-4.
Note:
Power Conditions
BOD enabled
Fast rising power
Slowly rising power
37, it is possible to get a higher calibration accuracy than by using the factory calibration.
9-3. If selected, it will operate with no external components. During reset, hardware loads
1. The device is shipped with this option selected.
2. The frequency ranges are preliminary values.
3. If 8MHz frequency exceeds the specification of the device (depends on V
1. The device is shipped with this option selected
Fuse can be programmed in order to divide the internal frequency by 8.
Internal Calibrated RC Oscillator Operating Modes
Start-up times for the internal calibrated RC Oscillator clock selection
325.
Frequency Range
and
”Internal Oscillator Speed” on page 356
7.3 - 8.1
Start-up Time from Power-
”Calibration Byte” on page
down and Power-save
(2)
(MHz)
Reserved
6 CK
6 CK
6 CK
”OSCCAL – Oscillator Calibration Register” on
”System Clock Prescaler” on page 36
.
286.
Additional Delay from
Reset (V
Table 28-11 on page
for more details. The device is
14CK + 65ms
14CK + 4.1ms
(1)(3)
14CK
CC
CKSEL3:0
= 5.0V)
0010
(1)
CC
), the CKDIV8
325.
Table 28-
SUT1:0
00
01
10
11
Table
for
31

Related parts for ATmega165PA