网址:
https://www.microchip.com/wwwproducts/en/atmega32u4
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
Parametrics
Name | Value |
---|---|
Program Memory Type | Flash |
Program Memory Size (KB) | 32 |
CPU Speed (MIPS/DMIPS) | 16 |
SRAM Bytes | 2,560 |
Data EEPROM/HEF (bytes) | 1024 |
Digital Communication Peripherals | 1-UART, 2-SPI, 1-I2C |
Capture/Compare/PWM Peripherals | 2 Input Capture, 2 CCP, 12PWM |
Timers | 2 x 8-bit, 2 x 16-bit |
Number of Comparators | 1 |
Number of USB Modules | 1, Full Speed |
Temperature Range (C) | -40 to 85 |
Operating Voltage Range (V) | 2.7 to 5.5 |
Pin Count | 44 |
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
http://www.microchip.com//wwwAppNotes/AppNotes.aspx?appnote=en591249
https://learn.adafruit.com/atmega32u4-breakout
https://github.com/adafruit/lufa-lib — 这个应该是针对Atmega32u4 的LUFA
Our minor fork to the LUFA core - this is where our AVR109 bootloader lives (in Bootloaders/CDC)
https://www.freetronics.com.au/pages/leostick-getting-started-guide#.W0A0pVOOy2U
https://github.com/freetronics/LeoStick
https://www.pjrc.com/teensy/
里面有 C源码
Software Development Tools
WinAVR C compiler.
Teensyduino, add-on for Arduino IDE.
Simplified USB Examples or Dean Camera’s LUFA library.
DESCRIPTION
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
https://www.sparkfun.com/products/retired/11117
Schematic: http://cdn.sparkfun.com/datasheets/Dev/AVR/32U4_Breakout-v11.pdf
Datasheet (ATMega 32U4):http://cdn.sparkfun.com/datasheets/Dev/Arduino/Boards/ATMega32U4.pdf
Driver:https://cdn.sparkfun.com/datasheets/Dev/AVR/LUFA_CDC_Booatloader.zip
Github Page:https://github.com/sparkfun/32U4_Breakout_Board
LUFA Project:http://www.fourwalledcubicle.com/LUFA.php
https://github.com/sunriax/STK500 C例程