ATMEGA128-16MN Atmel, ATMEGA128-16MN Datasheet - Page 130

MCU AVR 128KB FLASH 16MHZ 64QFN

ATMEGA128-16MN

Manufacturer Part Number
ATMEGA128-16MN
Description
MCU AVR 128KB FLASH 16MHZ 64QFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

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
Timer/Counter
Timing Diagrams
130
ATmega128
The extreme values for the OCRnx Register represent special cases when generating a PWM
waveform output in the phase correct PWM mode. If the OCRnx is set equal to BOTTOM the
output will be continuously low and if set equal to TOP the output will be set to high for non-
inverted PWM mode. For inverted PWM the output will have the opposite logic values.
If OCRnA is used to define the TOP value (WGMn3:0 = 9) and COMnA1:0 = 1, the OCnA Output
will toggle with a 50% duty cycle.
The Timer/Counter is a synchronous design and the timer clock (clk
clock enable signal in the following figures. The figures include information on when interrupt
flags are set, and when the OCRnx Register is updated with the OCRnx buffer value (only for
modes utilizing double buffering).
Figure 55. Timer/Counter Timing Diagram, Setting of OCFnx, no Prescaling
Figure 56
Figure 56. Timer/Counter Timing Diagram, Setting of OCFnx, with Prescaler (f
TCNTn
OCRnx
TCNTn
OCRnx
OCFnx
OCFnx
(clk
(clk
clk
clk
clk
clk
I/O
I/O
I/O
I/O
Tn
Tn
shows the same timing data, but with the prescaler enabled.
/1)
/8)
OCRnx - 1
OCRnx - 1
Figure 55
OCRnx
OCRnx
shows a timing diagram for the setting of OCFnx.
OCRnx Value
OCRnx Value
OCRnx + 1
OCRnx + 1
Tn
) is therefore shown as a
OCRnx + 2
OCRnx + 2
clk_I/O
2467V–AVR–02/11
/8)

Related parts for ATMEGA128-16MN