6.1.2. GND
Ground.
6.1.3. Port A (PA7:PA0)
Port A is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port A
output buffers have symmetrical drive characteristics with both high sink and source capability. As inputs,
Port A pins that are externally pulled low will source current if the pull-up resistors are activated. The Port
A pins are tristated when a reset condition becomes active, even if the clock is not running.
Port A also serves the functions of various special features of the ATmega64A as listed in Alternate
Functions of Port A.
6.1.4. Port B (PB7:PB0)
Port B is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port B
output buffers have symmetrical drive characteristics with both high sink and source capability. As inputs,
Port B pins that are externally pulled low will source current if the pull-up resistors are activated. The Port
B pins are tristated when a reset condition becomes active, even if the clock is not running.
Port B also serves the functions of various special features of the ATmega64A as listed in Alternate
Functions of Port B.
6.1.5. Port C (PC7:PC0)
Port C is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port C
output buffers have symmetrical drive characteristics with both high sink and source capability. As inputs,
Port C pins that are externally pulled low will source current if the pull-up resistors are activated. The Port
C pins are tristated when a reset condition becomes active, even if the clock is not running.
Port C also serves the functions of special features of the ATmega64A as listed in Alternate Functions of
Port C. In ATmega103 compatibility mode, Port C is output only, and the port C pins are not tri-stated
when a reset condition becomes active.
Note:  The Atmel AVR ATmega64A is by default shipped in ATmega103 compatibility mode. Thus, if the
parts are not programmed before they are put on the PCB, PORTC will be output during first power up,
and until the ATmega103 compatibility mode is disabled.
6.1.6. Port D (PD7:PD0)
Port D is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port D
output buffers have symmetrical drive characteristics with both high sink and source capability. As inputs,
Port D pins that are externally pulled low will source current if the pull-up resistors are activated. The Port
D pins are tristated when a reset condition becomes active, even if the clock is not running.
Port D also serves the functions of various special features of the ATmega64A as listed in Alternate
Functions of Port D.
6.1.7. Port E (PE7:PE0)
Port E is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port E
output buffers have symmetrical drive characteristics with both high sink and source capability. As inputs,
Port E pins that are externally pulled low will source current if the pull-up resistors are activated. The Port
E pins are tristated when a reset condition becomes active, even if the clock is not running.
Port E also serves the functions of various special features of the ATmega64A as listed in Alternate
Functions of Port E.
6.1.8. Port F (PF7:PF0)
Port F serves as the analog inputs to the A/D Converter.
Atmel ATmega64A [DATASHEET]
Atmel-8160ES-8-bit AVR Micrcontroller_Datasheet_Summary-09/2015
10
Port F also serves as an 8-bit bi-directional I/O port, if the A/D Converter is not used. Port pins can
provide internal pull-up resistors (selected for each bit). The Port F output buffers have symmetrical drive
characteristics with both high sink and source capability. As inputs, Port F pins that are externally pulled
low will source current if the pull-up resistors are activated. The Port F pins are tri-stated when a reset
condition becomes active, even if the clock is not running. If the JTAG interface is enabled, the pull-up
resistors on pins PF7(TDI), PF5(TMS), and PF4(TCK) will be activated even if a Reset occurs.
The TDO pin is tri-stated unless TAP states that shift out data are entered.
Port F also serves the functions of the JTAG interface.
In ATmega103 compatibility mode, Port F is an input Port only.
6.1.9. Port G (PG4:PG0)
Port G is a 5-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port G
output buffers have symmetrical drive characteristics with both high sink and source capability. As inputs,
Port G pins that are externally pulled low will source current if the pull-up resistors are activated. The Port
G pins are tristated when a reset condition becomes active, even if the clock is not running.
Port G also serves the functions of various special features.
The port G pins are tri-stated when a reset condition becomes active, even if the clock is not running.
In Atmel AVR ATmega103 compatibility mode, these pins only serves as strobes signals to the external
memory as well as input to the 32kHz Oscillator, and the pins are initialized to PG0 = 1, PG1 = 1, and
PG2 = 0 asynchronously when a reset condition becomes active, even if the clock is not running. PG3
and PG4 are oscillator pins.
6.1.10. 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. The minimum pulse length is given in System and Reset Characteristics. Shorter
pulses are not guaranteed to generate a reset.
6.1.11. XTAL1
Input to the inverting Oscillator amplifier and input to the internal clock operating circuit.
6.1.12. XTAL2
Output from the inverting Oscillator amplifier.
6.1.13. AV
CC
AV
CC
is the supply voltage pin for Port F and the A/D 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.
6.1.14. AREF
AREF is the analog reference pin for the A/D Converter.
6.1.15. PEN
PEN is a programming enable pin for the SPI Serial Programming mode, and is internally pulled high. By
holding this pin low during a Power-on Reset, the device will enter the SPI Serial Programming mode.
PEN has no function during normal operation.
Atmel ATmega64A [DATASHEET]
Atmel-8160ES-8-bit AVR Micrcontroller_Datasheet_Summary-09/2015
11
7. Resources
A comprehensive set of development tools, application notes and datasheets are available for download
on http://www.atmel.com/avr.
Atmel ATmega64A [DATASHEET]
Atmel-8160ES-8-bit AVR Micrcontroller_Datasheet_Summary-09/2015
12

ATMEGA64A-AU

Mfr. #:
Manufacturer:
Microchip Technology / Atmel
Description:
8-bit Microcontrollers - MCU 64K Flsh 2K EEPROM 4K SRAM 16MHz
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union