ATMEGA128-16MN Atmel, ATMEGA128-16MN Datasheet - Page 10
![MCU AVR 128KB FLASH 16MHZ 64QFN](/photos/12/13/121326/313-64-qfn_sml.jpg)
ATMEGA128-16MN
Manufacturer Part Number
ATMEGA128-16MN
Description
MCU AVR 128KB FLASH 16MHZ 64QFN
Manufacturer
Atmel
Series
AVR® ATmegar
Specifications of ATMEGA128-16MN
Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
EBI/EMI, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
53
Program Memory Size
128KB (64K x 16)
Program Memory Type
FLASH
Eeprom Size
4K x 8
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-MLF®, 64-QFN
Processor Series
ATMEGA128x
Core
AVR8
Data Bus Width
8 bit
Data Ram Size
4 KB
3rd Party Development Tools
EWAVR, EWAVR-BL
Development Tools By Supplier
ATAVRDRAGON, ATSTK500, ATSTK600, ATAVRISP2, ATAVRONEKIT
For Use With
ATSTK600 - DEV KIT FOR AVR/AVR32ATSTK501 - ADAPTER KIT FOR 64PIN AVR MCUATSTK500 - PROGRAMMER AVR STARTER KIT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Register Summary (Continued)
10
Address
$3E ($5E)
$3D ($5D)
$3C ($5C)
$3B ($5B)
$3A ($5A)
$2E ($4E)
$2D ($4D)
$2C ($4C)
$2B ($4B)
$2A ($4A)
$1E ($3E)
$1D ($3D)
$1C ($3C)
$1B ($3B)
$1A ($3A)
$0E ($2E)
$0D ($2D)
$0C ($2C)
$0B ($2B)
$0A ($2A)
$3F ($5F)
$39 ($59)
$38 ($58)
$37 ($57)
$36 ($56)
$35 ($55)
$34 ($54)
$33 ($53)
$32 ($52)
$31 ($51)
$30 ($50)
$2F ($4F)
$29 ($49)
$28 ($48)
$27 ($47)
$26 ($46)
$25 ($45)
$24 ($44)
$23 ($43)
$22 ($42)
$21 ($41)
$20 ($40)
$1F ($3F)
$19 ($39)
$18 ($38)
$17 ($37)
$16 ($36)
$15 ($35)
$14 ($34)
$13 ($33)
$12 ($32)
$11 ($31)
$10 ($30)
$0F ($2F)
$09 ($29)
$08 ($28)
$07 ($27)
$06 ($26)
$05 ($25)
$04 ($24)
$03 ($23)
$02 ($22)
($61)
($60)
ATmega128
MCUCSR
Reserved
OCR1AH
OCR1BH
ADCSRA
TCCR1A
TCCR1B
TCNT1H
OCR1AL
OCR1BL
UCSR0A
UCSR0B
UBRR0L
MCUCR
TCNT1L
WDTCR
ADMUX
RAMPZ
TCCR0
TCCR2
EEARH
PORTA
PORTB
PORTC
PORTD
PORTE
Name
EIMSK
TCNT0
TCNT2
EEARL
EICRB
TIMSK
ICR1H
OCDR
SFIOR
DDRF
SREG
OCR0
ASSR
ICR1L
OCR2
EEDR
EECR
DDRA
DDRB
DDRC
DDRD
SPDR
SPSR
SPCR
UDR0
ACSR
ADCH
DDRE
ADCL
XDIV
PINA
PINB
PINC
PIND
EIFR
TIFR
SPH
SPL
IDRD/OCDR7
COM1A1
PORTA7
PORTB7
PORTC7
PORTD7
PORTE7
XDIVEN
RXCIE0
REFS1
OCIE2
ICNC1
ISC71
INTF7
PINA7
PINB7
PINC7
PIND7
ADEN
DDF7
OCF2
FOC0
FOC2
DDA7
DDB7
DDC7
DDD7
RXC0
DDE7
Bit 7
SP15
INT7
SPIF
SPIE
SRE
TSM
ACD
SP7
JTD
–
–
–
–
–
–
I
COM1A0
PORTC6
PORTD6
PORTA6
PORTB6
PORTE6
WGM00
WGM20
SRW10
OCDR6
TXCIE0
REFS0
XDIV6
TOIE2
ICES1
PINA6
PINB6
PINC6
PIND6
WCOL
ACBG
ISC70
INTF6
DDA6
DDB6
DDC6
DDD6
ADSC
DDE6
Bit 6
DDF6
SP14
TOV2
TXC0
INT6
SP6
SPE
–
T
–
–
–
–
–
–
–
COM1B1
PORTA5
PORTB5
PORTC5
PORTD5
PORTE5
OCDR5
UDRIE0
COM01
COM21
UDRE0
ADLAR
TICIE1
PINC5
PIND5
DORD
XDIV5
ISC61
INTF5
PINA5
PINB5
DDC5
DDD5
ADFR
Bit 5
DDF5
DDA5
DDB5
DDE5
SP13
INT5
ICF1
ACO
SP5
SE
Timer/Counter1 – Output Compare Register A High Byte
Timer/Counter1 – Output Compare Register B High Byte
Timer/Counter1 – Output Compare Register A Low Byte
Timer/Counter1 – Output Compare Register B Low Byte
H
–
–
–
–
–
–
–
–
–
–
Timer/Counter1 – Input Capture Register High Byte
Timer/Counter1 – Input Capture Register Low Byte
Timer/Counter1 – Counter Register High Byte
Timer/Counter1 – Counter Register Low Byte
Timer/Counter2 Output Compare Register
Timer/Counter0 Output Compare Register
EEPROM Address Register Low Byte
USART0 Baud Rate Register Low
ADC Data Register High Byte
ADC Data Register Low Byte
COM1B0
PORTA4
PORTB4
PORTC4
PORTD4
PORTE4
OCIE1A
WGM13
OCF1A
COM00
COM20
OCDR4
RXEN0
USART0 I/O Data Register
WDCE
PINC4
PIND4
XDIV4
ISC60
INTF4
PINA4
PINB4
DDC4
DDD4
MSTR
MUX4
Bit 4
DDF4
DDA4
DDB4
DDE4
SP12
JTRF
INT4
EEPROM Data Register
ADIF
SM1
SP4
FE0
ACI
Timer/Counter2 (8 Bit)
Timer/Counter0 (8 Bit)
–
S
–
–
–
–
–
–
SPI Data Register
COM1C1
PORTA3
PORTB3
PORTC3
PORTD3
PORTE3
OCIE1B
WGM01
WGM12
WGM21
OCDR3
OCF1B
TXEN0
WDRF
EERIE
XDIV3
ACME
PINA3
PINB3
PINC3
PIND3
DOR0
DDF3
ISC51
INTF3
DDA3
DDB3
DDC3
DDD3
CPOL
MUX3
DDE3
Bit 3
SP11
INT3
WDE
ACIE
ADIE
SM0
SP3
AS0
V
–
–
–
EEPROM Address Register High
COM1C0
PORTC2
PORTD2
TCN0UB
PORTA2
PORTB2
UCSZ02
PORTE2
EEMWE
OCDR2
ADPS2
XDIV2
TOIE1
WDP2
PINA2
PINB2
PINC2
PIND2
ISC50
BORF
DDA2
DDB2
DDC2
DDD2
CPHA
UPE0
MUX2
DDE2
Bit 2
DDF2
SP10
TOV1
CS02
CS12
CS22
INTF
ACIC
INT2
SM2
PUD
SP2
N
–
–
–
OCR0UB
PORTA1
PORTB1
PORTC1
PORTD1
PORTE1
WGM11
OCDR1
EXTRF
RXB80
ADPS1
OCIE0
PINC1
PIND1
XDIV1
ISC41
INTF1
IVSEL
WDP1
EEWE
PINA1
PINB1
ACIS1
MUX1
DDF1
OCF0
PSR0
DDA1
DDB1
DDC1
DDD1
SPR1
DDE1
Bit 1
CS01
CS11
CS21
U2X0
INT1
SP9
SP1
–
Z
–
–
RAMPZ0
TCR0UB
PORTA0
PORTB0
PORTC0
PORTD0
PORTE0
WGM10
PSR321
OCDR0
MPCM0
ADPS0
TXB80
XDIV0
TOIE0
WDP0
PINA0
PINB0
PINC0
PIND0
ACIS0
ISC40
INTF0
PORF
EERE
DDA0
DDB0
DDC0
DDD0
SPI2X
MUX0
DDE0
Bit 0
DDF0
TOV0
CS00
CS10
CS20
SPR0
IVCE
INT0
SP8
SP0
C
–
2467VS–AVR–02/11
72, 109, 144, 227
108, 138, 158
108, 140, 159
30, 44, 63
53, 254
Page
103
105
105
106
132
135
137
137
137
137
137
137
138
138
156
158
158
251
168
168
166
188
188
189
191
227
242
244
245
245
88
10
13
13
36
13
90
91
91
55
20
20
21
21
86
86
86
86
86
86
86
86
87
87
87
87
87
87