首页 > 器件类别 > 嵌入式处理器和控制器 > 微控制器和处理器

ATMEGA640-16AI

RISC Microcontroller, 8-Bit, FLASH, 16MHz, CMOS, PQFP100

器件类别:嵌入式处理器和控制器    微控制器和处理器   

厂商名称:Microchip(微芯科技)

厂商官网:https://www.microchip.com

下载文档
器件参数
参数名称
属性值
是否Rohs认证
不符合
包装说明
14 X 14 MM, 1 MM THICKNESS, 0.50 MM PITCH, PLASTIC, MS-026AED, TQFP-100
Reach Compliance Code
not_compliant
具有ADC
YES
其他特性
OPERATES AT 2.7V MINIMUM SUPPLY @ 8 MHZ
地址总线宽度
16
位大小
8
CPU系列
AVR RISC
最大时钟频率
16 MHz
DAC 通道
NO
DMA 通道
NO
外部数据总线宽度
8
JESD-30 代码
S-PQFP-G100
JESD-609代码
e0
长度
14 mm
I/O 线路数量
86
端子数量
100
最高工作温度
85 °C
最低工作温度
-40 °C
PWM 通道
YES
封装主体材料
PLASTIC/EPOXY
封装代码
TFQFP
封装等效代码
TQFP100,.63SQ
封装形状
SQUARE
封装形式
FLATPACK, THIN PROFILE, FINE PITCH
峰值回流温度(摄氏度)
240
电源
3/5 V
认证状态
Not Qualified
RAM(字节)
8192
ROM(单词)
32768
ROM可编程性
FLASH
座面最大高度
1.2 mm
速度
16 MHz
最大压摆率
18 mA
最大供电电压
5.5 V
最小供电电压
4.5 V
标称供电电压
5 V
表面贴装
YES
技术
CMOS
温度等级
INDUSTRIAL
端子面层
TIN LEAD
端子形式
GULL WING
端子节距
0.5 mm
端子位置
QUAD
处于峰值回流温度下的最长时间
30
宽度
14 mm
uPs/uCs/外围集成电路类型
MICROCONTROLLER, RISC
Base Number Matches
1
文档预览
Features
High Performance, Low Power AVR
®
8-Bit Microcontroller
Advanced RISC Architecture
– 135 Powerful Instructions – Most Single Clock Cycle Execution
– 32 x 8 General Purpose Working Registers
– Fully Static Operation
– Up to 16 MIPS Throughput at 16 MHz
– On-Chip 2-cycle Multiplier
Non-volatile Program and Data Memories
– 64K/128K/256K Bytes of In-System Self-Programmable Flash
Endurance: 10,000 Write/Erase Cycles
– Optional Boot Code Section with Independent Lock Bits
In-System Programming by On-chip Boot Program
True Read-While-Write Operation
– 4K Bytes EEPROM
Endurance: 100,000 Write/Erase Cycles
– 8K Bytes Internal SRAM
– Up to 64K Bytes Optional External Memory Space
– Programming Lock for Software Security
JTAG (IEEE std. 1149.1 compliant) Interface
– Boundary-scan Capabilities According to the JTAG Standard
– Extensive On-chip Debug Support
– Programming of Flash, EEPROM, Fuses, and Lock Bits through the JTAG Interface
Peripheral Features
– Two 8-bit Timer/Counters with Separate Prescaler and Compare Mode
– Four 16-bit Timer/Counter with Separate Prescaler, Compare- and Capture Mode
– Real Time Counter with Separate Oscillator
– Four 8-bit PWM Channels
– Six/Twelve PWM Channels with Programmable Resolution from 2 to 16 Bits
(ATmega1281/2561, ATmega640/1280/2560)
– Output Compare Modulator
– 8/16-channel, 10-bit ADC
– Two/Four Programmable Serial USART (ATmega1281/2561,ATmega640/1280/2560)
– Master/Slave SPI Serial Interface
– Byte Oriented 2-wire Serial Interface
– Programmable Watchdog Timer with Separate On-chip Oscillator
– On-chip Analog Comparator
– Interrupt and Wake-up on Pin Change
Special Microcontroller Features
– Power-on Reset and Programmable Brown-out Detection
– Internal Calibrated Oscillator
– External and Internal Interrupt Sources
– Six Sleep Modes: Idle, ADC Noise Reduction, Power-save, Power-down, Standby,
and Extended Standby
I/O and Packages
– 51/86 Programmable I/O Lines (ATmega1281/2561, ATmega640/1280/2560)
– 64-lead (ATmega1281/2561)
– 100-lead (ATmega640/1280/2560)
– 100-lead TQFP (64-lead TQFP Option)
Temperature Range:
– -40
°
C to 85
°
C Industrial
Speed Grade:
– ATmega640/1280/1281/2560/2561V:
0 - 4 MHz @ 1.8 - 5.5V, 0 - 8 MHz @ 2.7 - 5.5V
– ATmega640/1280/1281/2560/2561:
0 - 8 MHz @ 2.7 - 5.5V, 0 - 16 MHz @ 4.5 - 5.5V
8-bit
Microcontroller
with
64K/128K/256K
Bytes In-System
Programmable
Flash
ATmega640/V
ATmega1280/V
ATmega1281/V
ATmega2560/V
ATmega2561/V
Advance
Information
Summary
2549BS–AVR–05/05
Note: This is a summary document. A complete document
is available on our Web site at www.atmel.com.
Pin Configurations
Figure 1.
Pinout ATmega640/1280/2560
PK6 (ADC14/PCINT22)
PK7 (ADC15/PCINT23)
PK3 (ADC11/PCINT19)
PK2 (ADC10/PCINT18)
PK4 (ADC12/PCINT20)
PK5 (ADC13/PCINT21)
PK0 (ADC8/PCINT16)
PF5 (ADC5/TMS)
PF6 (ADC6/TDO)
PF4 (ADC4/TCK)
PF7 (ADC7/TDI)
PK1 (ADC9/PCINT17)
PF1 (ADC1)
PF2 (ADC2)
PF0 (ADC0)
PF3 (ADC3)
PA0 (AD0)
PA1 (AD1)
77
100 99
(OC0B) PG5
(RXD0/PCINT8) PE0
(TXD0) PE1
(XCK0/AIN0) PE2
(OC3A/AIN1) PE3
(OC3B/INT4) PE4
(OC3C/INT5) PE5
(T3/INT6) PE6
(CLKO/ICP3/INT7) PE7
VCC
GND
(RXD2) PH0
(TXD2) PH1
(XCK2) PH2
(OC4A) PH3
(OC4B) PH4
(OC4C) PH5
(OC2B) PH6
(SS/PCINT0) PB0
(SCK/PCINT1) PB1
(MOSI/PCINT2) PB2
(MISO/PCINT3) PB3
(OC2A/PCINT4) PB4
(OC1A/PCINT5) PB5
(OC1B/PCINT6) PB6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
PA2 (AD2)
76
75
74
PA3 (AD3)
PA4 (AD4)
PA5 (AD5)
PA6 (AD6)
PA7 (AD7)
PG2 (ALE)
PJ6 (PCINT15)
PJ5 (PCINT14)
PJ4 (PCINT13)
PJ3 (PCINT12)
PJ2 (XCK3/PCINT11)
PJ1 (TXD3/PCINT10)
PJ0 (RXD3/PCINT9)
GND
VCC
PC7 (A15)
PC6 (A14)
PC5 (A13)
PC4 (A12)
PC3 (A11)
PC2 (A10)
PC1 (A9)
PC0 (A8)
PG1 (RD)
PG0 (WR)
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
AVCC
AREF
GND
GND
VCC
46
INDEX CORNER
ATmega640/1280/2560
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
PJ7
47
48
49
(OC0A/OC1C/PCINT7) PB7
VCC
GND
(ICP4) PL0
(RXD1/INT2) PD2
(SCL/INT0) PD0
(XCK1) PD5
(T1) PD6
(T4) PH7
(TXD1/INT3) PD3
(OC5A) PL3
(OC5B) PL4
(OC5C) PL5
(TOSC2) PG3
(TOSC1) PG4
2
ATmega640/1280/1281/2560/2561
2549BS–AVR–05/05
(SDA/INT1) PD1
(ICP1) PD4
(ICP5) PL1
(T0) PD7
(T5) PL2
XTAL2
RESET
XTAL1
PL7
PL6
ATmega640/1280/1281/2560/2561
Figure 2.
Pinout ATmega1281/2561
PF6 (ADC6/TDO)
PF4 (ADC4/TCK)
PF5 (ADC5/TMS)
PF7 (ADC7/TDI)
PF0 (ADC0)
PF1 (ADC1)
PF2 (ADC2)
PF3 (ADC3)
PA0 (AD0)
PA1 (AD1)
50
64
63
62
61
60
59
58
57
56
55
54
53
52
51
(OC0B) PG5
(RXD0/PCINT8/PDI) PE0
(TXD0/PDO) PE1
(XCK0/AIN0) PE2
(OC3A/AIN1) PE3
(OC3B/INT4) PE4
(OC3C/INT5) PE5
(T3/INT6) PE6
(ICP3/CLKO/INT7) PE7
(SS/PCINT0) PB0
(SCK/ PCINT1) PB1
(MOSI/ PCINT2) PB2
(MISO/ PCINT3) PB3
(OC2A/ PCINT4) PB4
(OC1A/PCINT5) PB5
(OC1B/PCINT6) PB6
1
2
3
4
5
6
7
8
INDEX CORNER
49
PA2 (AD2)
AVCC
GND
AREF
GND
VCC
48
47
46
45
44
43
42
PA3 (AD3)
PA4 (AD4)
PA5 (AD5)
PA6 (AD6)
PA7 (AD7)
PG2 (ALE)
PC7 (A15)
PC6 (A14)
PC5 (A13)
PC4 (A12)
PC3 (A11)
PC2 (A10)
PC1 (A9)
PC0 (A8)
PG1 (RD)
PG0 (WR)
ATmega1281/2561
9
10
11
12
13
14
15
16
41
40
39
38
37
36
35
34
33
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
(T1) PD6
(RXD1/INT2) PD2
(SCL/INT0) PD0
(TXD1/INT3) PD3
(OC0A/OC1C/PCINT7) PB7
(XCK1) PD5
(ICP1) PD4
VCC
Note:
The large center pad underneath the QFN/MLF package is made of metal and internally
connected to GND. It should be soldered or glued to the board to ensure good mechani-
cal stability. If the center pad is left unconnected, the package might loosen from the
board.
Disclaimer
Typical values contained in this datasheet are based on simulations and characteriza-
tion of other AVR microcontrollers manufactured on the same process technology. Min.
and Max values will be available after the device is characterized.
(SDA/INT1) PD1
(TOSC2) PG3
(TOSC1) PG4
(T0) PD7
GND
XTAL2
RESET
XTAL1
32
3
2549BS–AVR–05/05
Overview
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.
Block Diagram
Figure 3.
Block Diagram
PF7..0
VCC
PK7..0
PJ7..0
PE7..0
RESET
Power
Supervision
POR / BOD &
RESET
PORT F (8)
PORT K (8)
PORT J (8)
PORT E (8)
GND
Watchdog
Timer
Watchdog
Oscillator
JTAG
A/D
Converter
Analog
Comparator
USART 0
XTAL1
Oscillator
Circuits /
Clock
Generation
EEPROM
Internal
Bandgap reference
16bit T/C 3
XTAL2
CPU
16bit T/C 5
USART 3
PA7..0
PORT A (8)
16bit T/C 4
USART 1
PG5..0
PORT G (6)
XRAM
FLASH
SRAM
16bit T/C 1
PC7..0
PORT C (8)
TWI
SPI
8bit T/C 0
8bit T/C 2
USART 2
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.
PORT D (8)
PORT B (8)
PORT H (8)
PORT L (8)
PD7..0
PB7..0
PH7..0
PL7..0
4
ATmega640/1280/1281/2560/2561
2549BS–AVR–05/05
ATmega640/1280/1281/2560/2561
The AVR core combines a rich instruction set with 32 general purpose working registers.
All the 32 registers are directly connected to the Arithmetic Logic Unit (ALU), allowing
two independent registers to be accessed in one single instruction executed in one clock
cycle. The resulting architecture is more code efficient while achieving throughputs up to
ten times faster than conventional CISC microcontrollers.
The ATmega640/1280/1281/2560/2561 provides the following features: 64K/128K/256K
bytes of In-System Programmable Flash with Read-While-Write capabilities, 4K bytes
EEPROM, 8K bytes SRAM, 54/86 general purpose I/O lines, 32 general purpose work-
ing registers, Real Time Counter (RTC), six flexible Timer/Counters with compare
modes and PWM, 4 USARTs, a byte oriented 2-wire Serial Interface, a 16-channel, 10-
bit ADC with optional differential input stage with programmable gain, programmable
Watchdog Timer with Internal Oscillator, an SPI serial port, IEEE std. 1149.1 compliant
JTAG test interface, also used for accessing the On-chip Debug system and program-
ming and six software selectable power saving modes. The Idle mode stops the CPU
while allowing the SRAM, Timer/Counters, SPI port, and interrupt system to continue
functioning. The Power-down mode saves the register contents but freezes the Oscilla-
tor, disabling all other chip functions until the next interrupt or Hardware Reset. In
Power-save mode, the asynchronous timer continues to run, allowing the user to main-
tain a timer base while the rest of the device is sleeping. The ADC Noise Reduction
mode stops the CPU and all I/O modules except Asynchronous Timer and ADC, to min-
imize switching noise during ADC conversions. In Standby mode, the Crystal/Resonator
Oscillator is running while the rest of the device is sleeping. This allows very fast start-up
combined with low power consumption. In Extended Standby mode, both the main
Oscillator and the Asynchronous Timer continue to run.
The device is manufactured using Atmel’s high-density nonvolatile memory technology.
The On-chip ISP Flash allows the program memory to be reprogrammed in-system
through an SPI serial interface, by a conventional nonvolatile memory programmer, or
by an On-chip Boot program running on the AVR core. The boot program can use any
interface to download the application program in the application Flash memory. Soft-
ware in the Boot Flash section will continue to run while the Application Flash section is
updated, providing true Read-While-Write operation. By combining an 8-bit RISC CPU
with In-System Self-Program mable Flash on a monolithic ch ip, the Atmel
ATmega640/1280/1281/2560/2561 is a powerful microcontroller that provides a highly
flexible and cost effective solution to many embedded control applications.
The ATmega640/1280/1281/2560/2561 AVR is supported with a full suite of program
and system development tools including: C compilers, macro assemblers, program
debugger/simulators, in-circuit emulators, and evaluation kits.
5
2549BS–AVR–05/05
查看更多>
参数对比
与ATMEGA640-16AI相近的元器件有:ATMEGA640V-8AI、ATMEGA1281-16MI、ATMEGA1280-16AI、ATMEGA1280V-8AI、ATMEGA1281-16AI、ATMEGA1281V-8MI。描述及对比如下:
型号 ATMEGA640-16AI ATMEGA640V-8AI ATMEGA1281-16MI ATMEGA1280-16AI ATMEGA1280V-8AI ATMEGA1281-16AI ATMEGA1281V-8MI
描述 RISC Microcontroller, 8-Bit, FLASH, 16MHz, CMOS, PQFP100 RISC Microcontroller, 8-Bit, FLASH, 8MHz, CMOS, PQFP100 RISC Microcontroller, 8-Bit, FLASH, 16MHz, CMOS RISC Microcontroller, 8-Bit, FLASH, 16MHz, CMOS, PQFP100 RISC Microcontroller, 8-Bit, FLASH, 8MHz, CMOS, PQFP100 RISC Microcontroller, 8-Bit, FLASH, 16MHz, CMOS, PQFP64 RISC Microcontroller, 8-Bit, FLASH, 8MHz, CMOS
是否Rohs认证 不符合 不符合 不符合 不符合 不符合 不符合 不符合
包装说明 14 X 14 MM, 1 MM THICKNESS, 0.50 MM PITCH, PLASTIC, MS-026AED, TQFP-100 14 X 14 MM, 1 MM THICKNESS, 0.50 MM PITCH, PLASTIC, MS-026AED, TQFP-100 9 X 9 MM, 1 MM HEIGHT, 0.50 MM PITCH, MO-220VMMD, MLF-64 14 X 14 MM, 1 MM THICKNESS, 0.50 MM PITCH, PLASTIC, MS-026AED, TQFP-100 14 X 14 MM, 1 MM THICKNESS, 0.50 MM PITCH, PLASTIC, MS-026AED, TQFP-100 14 X 14 MM, 1 MM THICKNESS, 0.80 MM PITCH, PLASTIC, MS-026AEB, TQFP-64 9 X 9 MM, 1 MM HEIGHT, 0.50 MM PITCH, MO-220VMMD, MLF-64
Reach Compliance Code not_compliant not_compliant unknown unknown unknown unknown unknown
具有ADC YES YES YES YES YES YES YES
其他特性 OPERATES AT 2.7V MINIMUM SUPPLY @ 8 MHZ OPERATES AT 1.8V MINIMUM SUPPLY @ 4 MHZ OPERATES AT 2.7V MINIMUM SUPPLY @ 8 MHZ OPERATES AT 2.7V MINIMUM SUPPLY @ 8 MHZ OPERATES AT 1.8V MINIMUM SUPPLY @ 4 MHZ OPERATES AT 2.7V MINIMUM SUPPLY @ 8 MHZ OPERATES AT 1.8V MINIMUM SUPPLY @ 4 MHZ
地址总线宽度 16 16 16 16 16 16 16
位大小 8 8 8 8 8 8 8
CPU系列 AVR RISC AVR RISC AVR RISC AVR RISC AVR RISC AVR RISC AVR RISC
最大时钟频率 16 MHz 8 MHz 16 MHz 16 MHz 8 MHz 16 MHz 8 MHz
DAC 通道 NO NO NO NO NO NO NO
DMA 通道 NO NO NO NO NO NO NO
外部数据总线宽度 8 8 8 8 8 8 8
JESD-30 代码 S-PQFP-G100 S-PQFP-G100 S-XQCC-N64 S-PQFP-G100 S-PQFP-G100 S-PQFP-G64 S-XQCC-N64
JESD-609代码 e0 e0 e0 e0 e0 e0 e0
长度 14 mm 14 mm 9 mm 14 mm 14 mm 14 mm 9 mm
I/O 线路数量 86 86 54 86 86 54 54
端子数量 100 100 64 100 100 64 64
最高工作温度 85 °C 85 °C 85 °C 85 °C 85 °C 85 °C 85 °C
最低工作温度 -40 °C -40 °C -40 °C -40 °C -40 °C -40 °C -40 °C
PWM 通道 YES YES YES YES YES YES YES
封装主体材料 PLASTIC/EPOXY PLASTIC/EPOXY UNSPECIFIED PLASTIC/EPOXY PLASTIC/EPOXY PLASTIC/EPOXY UNSPECIFIED
封装代码 TFQFP TFQFP HVQCCN TFQFP TFQFP TQFP HVQCCN
封装等效代码 TQFP100,.63SQ TQFP100,.63SQ LCC64,.35SQ,20 TQFP100,.63SQ TQFP100,.63SQ TQFP64,.63SQ,32 LCC64,.35SQ,20
封装形状 SQUARE SQUARE SQUARE SQUARE SQUARE SQUARE SQUARE
封装形式 FLATPACK, THIN PROFILE, FINE PITCH FLATPACK, THIN PROFILE, FINE PITCH CHIP CARRIER, HEAT SINK/SLUG, VERY THIN PROFILE FLATPACK, THIN PROFILE, FINE PITCH FLATPACK, THIN PROFILE, FINE PITCH FLATPACK, THIN PROFILE CHIP CARRIER, HEAT SINK/SLUG, VERY THIN PROFILE
峰值回流温度(摄氏度) 240 240 240 240 240 240 240
电源 3/5 V 2/5 V 3/5 V 3/5 V 2/5 V 3/5 V 2/5 V
认证状态 Not Qualified Not Qualified Not Qualified Not Qualified Not Qualified Not Qualified Not Qualified
RAM(字节) 8192 8192 8192 8192 8192 8192 8192
ROM(单词) 32768 32768 65536 65536 65536 65536 65536
ROM可编程性 FLASH FLASH FLASH FLASH FLASH FLASH FLASH
座面最大高度 1.2 mm 1.2 mm 1 mm 1.2 mm 1.2 mm 1.2 mm 1 mm
速度 16 MHz 8 MHz 16 MHz 16 MHz 8 MHz 16 MHz 8 MHz
最大压摆率 18 mA 18 mA 18 mA 18 mA 18 mA 18 mA 18 mA
最大供电电压 5.5 V 5.5 V 5.5 V 5.5 V 5.5 V 5.5 V 5.5 V
最小供电电压 4.5 V 2.7 V 4.5 V 4.5 V 2.7 V 4.5 V 2.7 V
标称供电电压 5 V 3 V 5 V 5 V 3 V 5 V 3 V
表面贴装 YES YES YES YES YES YES YES
技术 CMOS CMOS CMOS CMOS CMOS CMOS CMOS
温度等级 INDUSTRIAL INDUSTRIAL INDUSTRIAL INDUSTRIAL INDUSTRIAL INDUSTRIAL INDUSTRIAL
端子面层 TIN LEAD TIN LEAD TIN LEAD TIN LEAD TIN LEAD TIN LEAD TIN LEAD
端子形式 GULL WING GULL WING NO LEAD GULL WING GULL WING GULL WING NO LEAD
端子节距 0.5 mm 0.5 mm 0.5 mm 0.5 mm 0.5 mm 0.8 mm 0.5 mm
端子位置 QUAD QUAD QUAD QUAD QUAD QUAD QUAD
处于峰值回流温度下的最长时间 30 30 30 30 30 30 30
宽度 14 mm 14 mm 9 mm 14 mm 14 mm 14 mm 9 mm
uPs/uCs/外围集成电路类型 MICROCONTROLLER, RISC MICROCONTROLLER, RISC MICROCONTROLLER, RISC MICROCONTROLLER, RISC MICROCONTROLLER, RISC MICROCONTROLLER, RISC MICROCONTROLLER, RISC
厂商名称 - Microchip(微芯科技) Microchip(微芯科技) Microchip(微芯科技) Microchip(微芯科技) Microchip(微芯科技) Microchip(微芯科技)
热门器件
热门资源推荐
器件捷径:
A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF AG AH AI AJ AK AL AM AN AO AP AQ AR AS AT AU AV AW AX AY AZ B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF BG BH BI BJ BK BL BM BN BO BP BQ BR BS BT BU BV BW BX BY BZ C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF CG CH CI CJ CK CL CM CN CO CP CQ CR CS CT CU CV CW CX CY CZ D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF DG DH DI DJ DK DL DM DN DO DP DQ DR DS DT DU DV DW DX DZ
需要登录后才可以下载。
登录取消