ATmega640 Atmel Corporation, ATmega640 Datasheet - Page 5
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
ATmega640
Manufacturer Part Number
ATmega640
Description
Manufacturer
Atmel Corporation
Specifications of ATmega640
Flash (kbytes)
64 Kbytes
Pin Count
100
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
86
Ext Interrupts
32
Usb Speed
No
Usb Interface
No
Spi
5
Twi (i2c)
1
Uart
4
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
16
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
8
Eeprom (bytes)
4096
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
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
6
Output Compare Channels
16
Input Capture Channels
4
Pwm Channels
15
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATmega640-16AU
Manufacturer:
OSRAM
Quantity:
12 000
Part Number:
ATmega640-16AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATmega640V-8AU
Manufacturer:
PHILIPS
Quantity:
56
2. Overview
2.1
Figure 2-1.
2549NS–AVR–05/11
PG5..0
PC7..0
P A7..0
RESET
XTAL1
XTAL2
Block Diagram
VCC
GND
Block Diagram
NOTE:
Shaded parts only available
in the 100-pin version.
Complete functionality for
the ADC, T/C4, and T/C5 only
available in the 100-pin version.
POR / BOD &
Supervision
Generation
PORT A (8)
PORT G (6)
PORT C (8)
Watchdog
Watchdog
Oscillator
Oscillator
Circuits /
Power
RESET
Timer
Clock
The ATmega640/1280/1281/2560/2561 is a low-power CMOS 8-bit microcontroller based on the
AVR enhanced RISC architecture. By executing powerful instructions in a single clock cycle, the
ATmega640/1280/1281/2560/2561 achieves throughputs approaching 1 MIPS per MHz allowing
the system designer to optimize power consumption versus processing speed.
PORT F (8)
PORT D (8)
PF7..0
EEPROM
XRAM
PD7..0
JTAG
TWI
FLASH
SPI
PORT K (8)
PORT B (8)
ATmega640/1280/1281/2560/2561
PK7..0
PB7..0
Bandgap reference
Converter
Internal
A/D
CPU
8 bit T/C 0
SRAM
PORT J (8)
PORT H (8)
PH7..0
P J7..0
Comparator
Analog
16 bit T/C 1
16 bit T/C 3
16 bit T/C 5
16 bit T/C 4
8 bit T/C 2
PORT E (8)
PE7..0
PORT L (8)
PL7..0
USART 0
USART 1
USART 3
USART 2
5