ATmega32U4 Atmel Corporation, ATmega32U4 Datasheet - Page 144
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
ATmega32U4
Manufacturer Part Number
ATmega32U4
Description
Manufacturer
Atmel Corporation
Specifications of ATmega32U4
Flash (kbytes)
32 Kbytes
Pin Count
44
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
14
Hardware Qtouch Acquisition
No
Max I/o Pins
26
Ext Interrupts
13
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
2
Twi (i2c)
1
Uart
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
12
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
3.3
Eeprom (bytes)
1024
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
4
Output Compare Channels
12
Input Capture Channels
2
Pwm Channels
8
32khz Rtc
No
Calibrated Rc Oscillator
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATmega32U4-16AU
Manufacturer:
MAXIM
Quantity:
1 000
Company:
Part Number:
ATmega32U4-AU
Manufacturer:
FREESCALE
Quantity:
125
Company:
Part Number:
ATmega32U4-MUR
Manufacturer:
UCC
Quantity:
1 001
Part Number:
ATmega32U4RC-MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
- Current page: 144 of 433
- Download datasheet (9Mb)
15.4.1
15.4.2
15.4.3
7766F–AVR–11/10
Force Output Compare
Compare Match Blocking by TCNT4 Write
Using the Output Compare Unit
Figure 15-5. Effects of Unsynchronized OCR Latching
In non-PWM waveform generation modes, the match output of the comparator can be forced by
writing a one to the Force Output Compare (FOC4x) bit. Forcing Compare Match will not set the
OCF4x Flag or reload/clear the timer, but the Waveform Output (OCW4x) will be updated as if a
real Compare Match had occurred (the COM4x1:0 bits settings define whether the Waveform
Output (OCW4x) is set, cleared or toggled).
All CPU write operations to the TCNT4 Register will block any Compare Match that occur in the
next timer clock cycle, even when the timer is stopped. This feature allows OCR4x to be initial-
ized to the same value as TCNT4 without triggering an interrupt when the Timer/Counter clock is
enabled.
Since writing TCNT4 in any mode of operation will block all Compare Matches for one timer
clock cycle, there are risks involved when changing TCNT4 when using the Output Compare
Unit, independently of whether the Timer/Counter is running or not. If the value written to TCNT4
equals the OCR4x value, the Compare Match will be missed, resulting in incorrect waveform
generation. Similarly, do not write the TCNT4 value equal to BOTTOM when the counter is
down-counting.
The setup of the Waveform Output (OCW4x) should be performed before setting the Data Direc-
tion Register for the port pin to output. The easiest way of setting the OCW4x value is to use the
Force Output Compare (FOC4x) strobe bits in Normal mode. The OC4x keeps its value even
when changing between Waveform Generation modes.
Be aware that the COM4x1:0 bits are not double buffered together with the compare value.
Changing the COM4x1:0 bits will take effect immediately.
Unsynchronized WFnx Latch
Synchronized WFnx Latch
Compare Value changes
Compare Value changes
Glitch
ATmega16/32U4
Counter Value
Compare Value
Output Compare
Waveform OCWnx
Counter Value
Compare Value
Output Compare
Wafeform OCWnx
144
Related parts for ATmega32U4
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![U641B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
![U4082B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
![U4089B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
![U4255BM-M](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
![U4089B-P](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
![TDA4470](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
![ATF22V10B-25PC](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
![AT89C51ED2-IM](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
![AT24C01](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet:
![U6046B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
U6046BREAR WINDOW HEATING TIMER / LONG-TERM TIMER
Manufacturer:
ATMEL Corporation
Datasheet: