ATMEGA128-16MN Atmel, ATMEGA128-16MN Datasheet - Page 304
![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
- Current page: 304 of 385
- Download datasheet (8Mb)
Table 129. SPI Serial Programming Instruction Set
Note:
304
Instruction
Programming Enable
Chip Erase
Read Program
Memory
Load Program
Memory Page
Write Program
Memory Page
Read EEPROM
Memory
Write EEPROM
Memory
Read Lock bits
Write Lock bits
Read Signature Byte
Write Fuse bits
Write Fuse High Bits
Write Extended Fuse
bits
Read Fuse bits
Read Extendend
Fuse bits
Read Fuse High Bits
Read Calibration Byte
a = address high bits
b = address low bits
H = 0 - Low byte, 1 - High Byte
o = data out
i = data in
x = don’t care
ATmega128
0010 H000
0100 H000
1010 1100
1010 1100
0100 1100
1010 0000
1100 0000
0101 1000
1010 1100
0011 0000
1010 1100
1010 1100
1010 1100
0101 0000
0101 0000
0101 1000
0011 1000
Byte 1
aaaa aaaa
aaaa aaaa
0101 0011
0000 0000
1010 0000
1010 1000
1010 0100
0000 0000
0000 1000
0000 1000
xxxx aaaa
xxxx aaaa
100x xxxx
111x xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
Byte 2
Instruction Format
bbbb bbbb
bbbb bbbb
bbbb bbbb
xbbb bbbb
0000 00bb
xxxx xxbb
bxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
Byte 3
oooo oooo
oooo oooo
oooo oooo
oooo oooo
oooo oooo
oooo oooo
oooo oooo
xxoo oooo
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxii
11ii iiii
Byte 4
iiii iiii
iiii iiii
iiii iiii
iiii iiii
Operation
Enable SPI Serial Programming after RESET
goes low.
Chip Erase EEPROM and Flash.
Read H (high or low) data o from Program
memory at word address a:b.
Write H (high or low) data i to Program
Memory page at word address b. Data low
byte must be loaded before data high byte is
applied within the same address.
Write Program Memory Page at address a:b.
Read data o from EEPROM memory at
address a:b.
Write data i to EEPROM memory at address
a:b.
Read Lock bits. “0” = programmed, “1” =
unprogrammed. See
286
Write Lock bits. Set bits = “0” to program Lock
bits. See
Read Signature Byte o at address b.
Set bits = “0” to program, “1” to unprogram.
See
Set bits = “0” to program, “1” to unprogram.
See
Set bits = “0” to program, “1” to unprogram.
See
Read Fuse bits. “0” = programmed, “1” =
unprogrammed. See
288
Read Extended Fuse bits. “0” = pro-grammed,
“1” = unprogrammed. See
page 288
Read Fuse high bits. “0” = pro-grammed, “1” =
unprogrammed. See
288
Read Calibration Byte o at address b.
Table 119 on page 288
Table 118 on page 288
Table 119 on page 288
for details.
for details.
for details.
Table 115 on page 286
for details.
Table 115 on page
Table 119 on page
Table 118 on page
Table 119 on
for details.
for details.
for details.
2467V–AVR–02/11
for details.
Related parts for ATMEGA128-16MN
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ATMEGA128](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
ATMEL Corporation
Datasheet:
![ATMEGA128-8AC](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Microcontroller with 128K bytes In-system programmable flash, 8 MHz, power supply =2.7 - 5.5V
Manufacturer:
ATMEL Corporation
Datasheet:
![ATMEGA128-16AU](/photos/12/13/121332/313-64-tqfp_tmb.jpg)
Part Number:
Description:
IC AVR MCU 128K 16MHZ 5V 64TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA128-16MU](/photos/12/13/121326/313-64-qfn_tmb.jpg)
Part Number:
Description:
IC AVR MCU 128K 16MHZ 5V 64-QFN
Manufacturer:
Atmel
Datasheet:
![ATMEGA128-16MC](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
IC AVR MCU 128K 16MHZ COM 64-QFN
Manufacturer:
Atmel
Datasheet:
![ATMEGA128-16AC](/photos/12/13/121332/313-64-tqfp_tmb.jpg)
Part Number:
Description:
IC AVR MCU 128K 16MHZ 64-TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA128-16AI](/photos/12/13/121332/313-64-tqfp_tmb.jpg)
Part Number:
Description:
IC AVR MCU 128K 16MHZ 64-TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA128-16MI](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
IC AVR MCU 128K 16MHZ IND 64-QFN
Manufacturer:
Atmel
Datasheet:
![ATMEGA128-16AUR](/photos/12/13/121332/313-64-tqfp_tmb.jpg)
Part Number:
Description:
MCU AVR 128KB FLASH 16MHZ 64TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA128-16MUR](/photos/12/13/121326/313-64-qfn_tmb.jpg)
Part Number:
Description:
MCU AVR 128KB FLASH 16MHZ 64QFN
Manufacturer:
Atmel
Datasheet:
![ATMEGA128-16AN](/photos/12/13/121332/313-64-tqfp_tmb.jpg)
Part Number:
Description:
MCU AVR 128KB FLASH 16MHZ 64TQFP
Manufacturer:
Atmel
Datasheet: