ATmega640 Atmel Corporation, ATmega640 Datasheet - Page 37
![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
12.4
12.5
12.6
12.7
2549NS–AVR–05/11
Rev. 2549K-01/07
Rev. 2549J-09/06
Rev. 2549I-07/06
Rev. 2549H-06/06
7.
8.
9.
1.
2.
3.
4.
5.
6:
7.
8.
9.
10.
1.
2.
3.
4.
5.
6.
1.
2.
3.
1.
2.
3.
Updated
Updated
Updated ordering code in
Updated
Updated
Updated
Updated
Updated Assembly code example in
bit or enabling the ADC, the user must always allow the reference to start up before the output
from the Analog Comparator or ADC is used. To reduce power consumption in Power-down
mode, the user can avoid the three conditions above to ensure that the reference is turned off
before entering Power-down mode.” on page
Updated
Updated Bit description in
Updated code example in
Updated
Updated
Updated
Updated code example in
109.
Updated
Updated
Updated
Updated
Added
Updated
on page
20-6 on page 188
Updated
Updated
Updated
Added
“Data Retention” on page
Table 31-1 on page
148,
“SPI Timing Characteristics” on page
“ADC Characteristics – Preliminary Data” on page
Table 1-1 on page
“Pin Descriptions” on page
“Stack Pointer” on page
“Bit 1 – EEPE: EEPROM Programming Enable” on page
“EIMSK – External Interrupt Mask Register” on page
Figure 26-8 on page
“DC Characteristics” on page
“” on page
“Timer/Counter Prescaler” on page
“Device Identification Register” on page
“Signature Bytes” on page
“Instruction Set Summary” on page
“Fast PWM Mode” on page
“” on page
“OSCCAL – Oscillator Calibration Register” on page
Table 16-3 on page
Table 17-4 on page
and
46.
46.
Table 20-8 on page
“ATmega640” on page
“USART Initialization” on page
“PCIFR – Pin Change Interrupt Flag Register” on page
“Moving Interrupts Between Application and Boot Section” on page
ATmega640/1280/1281/2560/2561
371.
3.
129,
284.
11.
16.
159,
Table 16-6 on page
338.
7.
“Thus, when the BOD is not enabled, after setting the ACBG
150.
367.
Table 17-5 on page
189.
186.
17.
63.
375.
20.
303.
130,
210.
377.
160,
Table 16-8 on page
50.
115.
Table 20-3 on page
36.
131,
116.
Table 17-2
187,
Table
37