ATMEGA128-16MN Atmel, ATMEGA128-16MN Datasheet - Page 41
![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: 41 of 385
- Download datasheet (8Mb)
Calibrated Internal
RC Oscillator
Oscillator Calibration
Register – OSCCAL
2467V–AVR–02/11
The Calibrated Internal RC Oscillator provides a fixed 1.0, 2.0, 4.0, or 8.0MHz clock. All frequen-
cies are nominal values at 5V and 25°C. This clock may be selected as the system clock by
programming the CKSEL fuses as shown in
components. The CKOPT fuse should always be unprogrammed when using this clock option.
During Reset, hardware loads the calibration byte for the 1MHz oscillator into the OSCCAL Reg-
ister and thereby automatically calibrates the RC Oscillator. At 5V, 25°C and 1.0MHz Oscillator
frequency selected, this calibration gives a frequency within ±3% of the nominal frequency.
Using calibration methods as described in application notes available at www.atmel.com/avr it is
possible to achieve ±1% accuracy at any given V
used as the chip clock, the Watchdog Oscillator will still be used for the Watchdog Timer and for
the Reset Time-out. For more information on the pre-programmed calibration value, see the sec-
tion
Table 13. Internal Calibrated RC Oscillator Operating Modes
Note:
When this Oscillator is selected, start-up times are determined by the SUT fuses as shown in
Table
Table 14. Start-up Times for the Internal Calibrated RC Oscillator Clock Selection
Notes:
Note:
• Bits 7..0 – CAL7..0: Oscillator Calibration Value
Writing the calibration byte to this address will trim the Internal Oscillator to remove process vari-
ations from the Oscillator frequency. During Reset, the 1MHz calibration value which is located
in the signature row high byte (address 0x00) is automatically loaded into the OSCCAL Register.
If the internal RC is used at other frequencies, the calibration values must be loaded manually.
This can be done by first reading the signature row by a programmer, and then store the calibra-
tion values in the Flash or EEPROM. Then the value can be read by software and loaded into
the OSCCAL Register. When OSCCAL is zero, the lowest available frequency is chosen. Writing
non-zero values to this register will increase the frequency of the Internal Oscillator. Writing $FF
Bit
Read/Write
Initial Value
SUT1..0
10
00
01
11
“Calibration Byte” on page
(1)
14. XTAL1 and XTAL2 should be left unconnected (NC).
1. The device is shipped with this option selected.
1. The device is shipped with this option selected.
OSCCAL Register is not available in ATmega103 compatibility mode.
Start-up Time from Power-
CKSEL3..0
0001
down and Power-save
CAL7
0010
0011
0100
R/W
7
(1)
6 CK
6 CK
6 CK
CAL6
R/W
6
CAL5
289.
R/W
5
Device Specific Calibration Value
CAL4
R/W
Additional Delay from
4
Reset (V
Table
Reserved
CAL3
R/W
Nominal Frequency (MHz)
4.1ms
65ms
3
CC
–
CC
13. If selected, it will operate with no external
= 5.0V)
and Temperature. When this Oscillator is
CAL2
R/W
2
1.0
2.0
4.0
8.0
CAL1
R/W
Recommended Usage
BOD enabled
Fast rising power
Slowly rising power
1
CAL0
R/W
ATmega128
0
OSCCAL
41
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: