Pin
Configurations
Overview
ATmega128
2
Figure 1. Pinout ATmega128
PEN
RXD0/(PDI) PE0
(TXD0/PDO) PE1
(XCK0/AIN0) PE2
(OC3A/AIN1) PE3
(OC3B/INT4) PE4
(OC3C/INT5) PE5
(T3/INT6) PE6
(ICP3/INT7) PE7
(SS) PB0
(SCK) PB1
(MOSI) PB2
(MISO) PB3
(OC0) PB4
(OC1A) PB5
(OC1B) PB6
Note:
The Pinout figure applies to both TQFP and MLF packages. The bottom pad under the QFN/MLF
package should be soldered to ground.
The ATmega128 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 ATmega128
achieves throughputs approaching 1 MIPS per MHz allowing the system designer to optimize
power consumption versus processing speed.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
48
PA3 (AD3)
47
PA4 (AD4)
46
PA5 (AD5)
45
PA6 (AD6)
44
PA7 (AD7)
43
PG2(ALE)
42
PC7 (A15)
41
PC6 (A14)
40
PC5 (A13)
39
PC4 (A12)
38
PC3 (A11)
37
PC2 (A10)
36
PC1 (A9)
35
PC0 (A8)
34
PG1(RD)
33
PG0(WR)
2467S–AVR–07/09
Need help?
Do you have a question about the ATmega128 and is the answer not in the manual?
Questions and answers