当前位置:   article > 正文

ATmega32U4 芯片介绍 相关开源应用_usb hid capabilities of the atmega32u4

usb hid capabilities of the atmega32u4

网址:
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

NameValue
Program Memory TypeFlash
Program Memory Size (KB)32
CPU Speed (MIPS/DMIPS)16
SRAM Bytes2,560
Data EEPROM/HEF (bytes)1024
Digital Communication Peripherals1-UART, 2-SPI, 1-I2C
Capture/Compare/PWM Peripherals2 Input Capture, 2 CCP, 12PWM
Timers2 x 8-bit, 2 x 16-bit
Number of Comparators1
Number of USB Modules1, Full Speed
Temperature Range (C)-40 to 85
Operating Voltage Range (V)2.7 to 5.5
Pin Count44

AN_8384

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

开源应用:

1. Atmega32u4 Breakout board+

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)

2. arduino leonardo

3. LeoStick

https://www.freetronics.com.au/pages/leostick-getting-started-guide#.W0A0pVOOy2U
https://github.com/freetronics/LeoStick

4. Teensy

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

5. SparkFun ATMEGA32U4 Breakout

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

6. STK500

https://github.com/sunriax/STK500 C例程

7 ProMicro8MHzv2

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/81717
推荐阅读
相关标签
  

闽ICP备14008679号