5. Pin Configurations
5.1. Pinout
5.1.1. PDIP
(PCINT8/XCK0/T0)
(PCINT9/CLKO/T1)
(PCINT10/INT2/AIN0)
(PCINT11/OC0A/AIN1)
(PCINT12/OC0B/
(PCINT13/MOSI)
(PCINT14/MISO)
(PCINT15//SCK)
(PCINT24/RXD0)
(PCINT25/TXD0)
(PCINT26/RXD1/INT0)
(PCINT27/TXD1/INT1)
(PCINT28/XCK1/OC1B)
(PCINT29/OC1A)
(PCINT30/OC2B/ICP1)
(ADC0/PCINT0)
(ADC1/PCINT1)
(ADC2/PCINT2)
(ADC3/PCINT3)
(ADC4/PCINT4)
(ADC5/PCINT5)
(ADC6/PCINT6)
(ADC7/PCINT7)
(TOSC2/PCINT23)
(TOSC1/PCINT22)
(TDI/PCINT21)
(TDO/PCINT20)
(TMS/PCINT19)
(TCK/PCINT18)
(SDA/PCINT17)
(SCL/PCINT16)
(OC2A/PCINT31)
Power
Ground
Programming/debug
Digital
Analog
Crystal/Osc
XTAL2
XTAL1
Atmel ATmega164P/V [DATASHEET]
Atmel-42742B-ATmega164P/V_Datasheet_Summary-08/2016
10
5.1.2. TQFN and QFN
Power
Ground
Programming/debug
Digital
Analog
Crystal/Osc
1
2
3
4
43
42
41
40
39
38
37
5
6
7
8
35
3422
21
20
19
18
17
36
9
10
11
12
13
14
15
16
(PCINT13/MOSI) PB5
(PCINT14/MISO) PB6
(PCINT15/SCK) PB7
RESET
VCC
GND
XTAL2
XTAL1
(PCINT24/RXD0) PD0
(PCINT25/TXD0) PD1
(PCINT26/RXD1/INT0) PD2
44
32
31
30
29
28
27
26
24
23
25
33
PB4 (SS/OC0B/PCINT12)
PB3 (AIN1/OC0A/PCINT11)
PB2 (AIN0/INT2/PCINT10)
PB1 (T1/CLKO/PCINT9)
PB0 (XCK0/T0/PCINT8)
GND
VCC
PA0 (ADC0/PCINT0)
PA1 (ADC1/PCINT1)
PA2 (ADC2/PCINT2)
PA3 (ADC3/PCINT3)
PA4 (ADC4/PCINT4)
PA5 (ADC5/PCINT5)
PA6 (ADC6/PCINT6)
PA7 (ADC7/PCINT7)
AREF
GND
AVCC
PC7 (TOSC2/PCINT23)
PC6 (TOSC1/PCINT22)
PC5 (TDI/PCINT21)
PC4 (TDO/PCINT20)
(PCINT27/TXD1/INT1) PD3
(PCINT28/XCK1/OC1B) PD4
(PCINT29/OC1A) PD5
(PCINT30/OC2B/ICP1) PD6
(PCINT31/OC2A) PD7
VCC
GND
(PCINT16/SCL) PC0
(PCINT17/SDA) PC1
(PCINT18/TCK) PC2
(PCINT19/TMS) PC3
5.2. Pin Descriptions
5.2.1. VCC
Digital supply voltage.
5.2.2. GND
Ground.
5.2.3. Port A (PA[7:0])
This port serves as analog inputs to the Analog-to-digital Converter.
Atmel ATmega164P/V [DATASHEET]
Atmel-42742B-ATmega164P/V_Datasheet_Summary-08/2016
11
This is an 8-bit, bi-directional I/O port with internal pull-up resistors, individually selectable for each bit.
The output buffers have symmetrical drive characteristics, with both high sink and source capability. As
inputs, the port pins that are externally pulled low will source current if pull-up resistors are activated. Port
pins are tri-stated when a reset condition becomes active, even if the clock is not running.
5.2.4. Port B (PB[7:0])
This is an 8-bit, bi-directional I/O port with internal pull-up resistors, individually selectable for each bit.
The output buffers have symmetrical drive characteristics, with both high sink and source capability. As
inputs, the port pins that are externally pulled low will source current if pull-up resistors are activated. Port
pins are tri-stated when a reset condition becomes active, even if the clock is not running.
This port also serves the functions of various special features.
5.2.5. Port C (PC[7:0])
This is an 8-bit, bi-directional I/O port with internal pull-up resistors, individually selectable for each bit.
The output buffers have symmetrical drive characteristics, with both high sink and source capability. As
inputs, the port pins that are externally pulled low will source current if pull-up resistors are activated. Port
pins are tri-stated when a reset condition becomes active, even if the clock is not running.
This port also serves the functions of the JTAG interface, along with special features.
5.2.6. Port D (PD[7:0])
This is an 8-bit, bi-directional I/O port with internal pull-up resistors, individually selectable for each bit.
The output buffers have symmetrical drive characteristics, with both high sink and source capability. As
inputs, the port pins that are externally pulled low will source current if pull-up resistors are activated. Port
pins are tri-stated when a reset condition becomes active, even if the clock is not running.
This port also serves the functions of various special features.
5.2.7. RESET
Reset input. A low level on this pin for longer than the minimum pulse length will generate a reset, even if
the clock is not running. Shorter pulses are not guaranteed to generate a reset.
5.2.8. XTAL1
Input to the inverting Oscillator amplifier and input to the internal clock operating circuit.
5.2.9. XTAL2
Output from the inverting Oscillator amplifier.
5.2.10. AVCC
AVCC is the supply voltage pin for Port A and the Analog-to-digital Converter. It should be externally
connected to V
CC
, even if the ADC is not used. If the ADC is used, it should be connected to V
CC
through
a low-pass filter.
5.2.11. AREF
This is the analog reference pin for the Analog-to-digital Converter.
Atmel ATmega164P/V [DATASHEET]
Atmel-42742B-ATmega164P/V_Datasheet_Summary-08/2016
12

ATMEGA164PV-10AQ

Mfr. #:
Manufacturer:
Microchip Technology / Atmel
Description:
8-bit Microcontrollers - MCU AVR 16KB, 512B EE 10MHz 1KB SRAM, 1.8V
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union