ATmega32U4 芯片介绍 相关开源应用

xiaoxiao2021-02-28  21


Summary The low-power Microchip 8-bit AVR RISC-based microcontroller featuring 32KB self-programming flash program memory, 2.5KB SRAM, 1KB EEPROM, USB 2.0 full-speed/low speed device, 12-channel 10-bit A/D-converter, and JTAG interface for on-chip-debug. The device achieves up to 16 MIPS throughput at 16 MHz. 2.7 - 5.5 Volt operation.

By executing powerful instructions in a single clock cycle, the device achieves throughputs approaching 1 MIPS per MHz, allowing you to optimize power consumption versus processing speed.

Additional Features USB 2.0 Full-speed/Low Speed Device Module with Interrupt on Transfer Completion Complies fully with Universal Serial Bus Specification Rev 2.0 Supports data transfer rates up to 12Mbit/s and 1.5Mbit/s Endpoint 0 for Control Transfers: up to 64-bytes Six Programmable Endpoints with IN or Out Directions and with Bulk, Interrupt or Isochronous Transfers Configurable Endpoints size up to 256 bytes in double bank mode Fully independent 832 bytes USB DPRAM for endpoint memory allocation Suspend/Resume Interrupts CPU Reset possible on USB Bus Reset detection 48MHz from PLL for Full-speed Bus Operation USB Bus Connection/Disconnection on Microcontroller Request Crystal-less operation for Low Speed mode Parametrics


NameValueProgram Memory TypeFlashProgram Memory Size (KB)32CPU Speed (MIPS/DMIPS)16SRAM Bytes2,560Data EEPROM/HEF (bytes)1024Digital Communication Peripherals1-UART, 2-SPI, 1-I2CCapture/Compare/PWM Peripherals2 Input Capture, 2 CCP, 12PWMTimers2 x 8-bit, 2 x 16-bitNumber of Comparators1Number of USB Modules1, Full SpeedTemperature Range (C)-40 to 85Operating Voltage Range (V)2.7 to 5.5Pin Count44


Title: AVR291: 8MHz Internal Oscillator Calibration for USB Low Speed on ATmega32U4RC Name: AN_8384 Date: 11/01/2011 Description: This application note describes a fast and accurate method for calibrating the internal RC oscillator on the Atmelr ATmega32U4RC MCU. It offers simple and flexible calibration firmware source code, which allows device runtime calibration to for main


1. Atmega32u4 Breakout board+ — 这个应该是针对Atmega32u4 的LUFA Our minor fork to the LUFA core - this is where our AVR109 bootloader lives (in Bootloaders/CDC)

2. arduino leonardo

3. LeoStick

4. Teensy 里面有 C源码

Software Development Tools

WinAVR C compiler. Teensyduino, add-on for Arduino IDE.

Simplified USB Examples or Dean Camera’s LUFA library.


The Teensy 2.0 is a complete USB-based microcontoller development system, in a very small footprint! All programming is done via the USB port. No special programmer is needed, only a standard “Mini-B” USB cable and a PC or Macintosh with a USB port. This is the latest version, 2.0.

Key Features:

USB can be any type of device AVR processor, 16 MHz Single pushbutton programming Easy to use Teensy Loader application Free software development tools Works with Mac OS X, Linux & Windows Tiny size, perfect for many projects Available with pins for solderless breadboard Comes with assembled Teensy board (ATmega32u4 with bootloader preinstalled) and header to allow easy breadboarding. We suggest using AVR-gcc (like WinAVR) with the LUFA library or ‘Teensyduino’ Be sure to check out the multiple resources available at PJRC! We also stock a atmega32u4 breakout board, read more here including why you’d want to use a Teensy or this board.

Once headers are installed they can be fitted into 0.6” wide sockets

5. SparkFun ATMEGA32U4 Breakout Schematic: Datasheet (ATMega 32U4): Driver: Github Page: LUFA Project:

6. STK500 C例程

7 ProMicro8MHzv2