ATMEGA32U4-MU Atmel, ATMEGA32U4-MU Datasheet - Page 150

no-image

ATMEGA32U4-MU

Manufacturer Part Number
ATMEGA32U4-MU
Description
MCU AVR 32K FLASH 16MHZ 44-QFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA32U4-MU

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
I²C, SPI, UART/USART, USB
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
26
Program Memory Size
32KB (16K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
2.5K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
44-VQFN
Package
44QFN EP
Device Core
AVR
Family Name
ATmega
Maximum Speed
16 MHz
Operating Supply Voltage
3.3|5 V
Data Bus Width
8 Bit
Number Of Programmable I/os
26
Interface Type
EBI/I2S/SPI/TWI/USART/USB
On-chip Adc
12-chx10-bit
Number Of Timers
5
For Use With
ATSTK524 - KIT STARTER ATMEGA32M1/MEGA32C1ATSTK600 - DEV KIT FOR AVR/AVR32ATAVRDRAGON - KIT DRAGON 32KB FLASH MEM AVRATSTK500 - PROGRAMMER AVR STARTER KIT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
ATMEGA32U4-16MU
ATMEGA32U4-16MU

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA32U4-MUR
Manufacturer:
UCC
Quantity:
1 001
7766F–AVR–11/10
Waveform Output is cleared on the Compare Match. In inverting Compare Output Mode the
Waveform Output is set on Compare Match.
The timing diagram for the Normal mode is shown in
that is shown as a histogram in the timing diagram is incremented until the counter value
matches the TOP value. The counter is then cleared at the following clock cycle The diagram
includes the Waveform Output (OCW4x) in toggle Compare Mode. The small horizontal line
marks on the TCNT4 slopes represent Compare Matches between OCR4x and TCNT4.
Figure 15-12. Normal Mode, Timing Diagram
The Timer/Counter Overflow Flag (TOV4) is set in the same clock cycle as the TCNT4 becomes
zero. The TOV4 Flag in this case behaves like a 11th bit, except that it is only set, not cleared.
However, combined with the timer overflow interrupt, that automatically clears the TOV4 Flag,
the timer resolution can be increased by software. There are no special cases to consider in the
Normal mode, a new counter value can be written anytime.
The Output Compare Unit can be used to generate interrupts at some given time. Using the Out-
put Compare to generate waveforms in Normal mode is not recommended, since this will
occupy too much of the CPU time. For generating a waveform, the OCW4x output can be set to
toggle its logical level on each Compare Match by setting the Compare Output mode bits to tog-
gle mode (COM4x1:0 = 1). The OC4x value will not be visible on the port pin unless the data
direction for the pin is set to output. The waveform generated will have a maximum frequency of
f
equation:
Resolution shows how many bit is required to express the value in the OCR4C register. It is cal-
culated by following equation:
OC4x
OCWnx
(COMnx=1)
TCNTn
Period
= f
clkT4
/4 when OCR4C is set to zero. The waveform frequency is defined by the following
1
Resolution
f
OC4x
2
PWM
=
------------------------------------------ -
2
= log
3
(
1
f
+
clkT4
2
(OCR4C + 1).
OCR4C
Figure
4
)
15-12. The counter value (TCNT4)
ATmega16/32U4
TOVn Interrupt Flag Set
OCnx Interrupt Flag Set
150

Related parts for ATMEGA32U4-MU