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

2层PCB 99.1 x 162.7 mm FR-4,1.6 mm,1,带铅的HASL,紫色阻焊剂,白色丝印 此与Raspberry Pi兼容的设备使您可以将操纵杆用作鼠标,并使用两个动态键盘选项输入键盘和修改键。 长期以来,我需要一个简单的设备,允许我发送各种鼠标和键盘命令来测试我的某些Web应用程序和浏览器上的游戏。另外,我可以利用这样的设备来测试新型单板计算机(例如Raspberry Pi)的键盘和鼠标功能,而不必为缺乏适当的键盘和鼠标而烦恼:)因此,我决定创建这个项目。 首先,为了能够通过USB发送键盘和鼠标命令,我使用了以ATmega32U4为中心的Arduino Pro Micro,后者是与ATmega328非常相似的8位AVR。ATmega32U4配备了一个全速USB收发器,可以仿真任何USB设备。 然后,我利用4x4矩阵键盘设计发送键盘键,最多支持32个键以及两个动态键盘选项。 最后,我使用了两个操纵杆作为全功能鼠标,还控制了动态键盘选项和修改键。 在面包板上完成设计并测试代码后,我设计了一个控制器形状的PCB(基于Arduino的鼠标和键盘控制器),具有集成的4x4矩阵键盘和两个嵌入式操纵杆,并以皮卡丘为中心徽标:) 该项目中使用的物料清单: Arduino Pro Micro1个 COM-09032模拟操纵杆2 按钮6x616 5mm绿色LED1个 5mm蓝色LED1个 220Ω电阻2 模式和功能: 控制器允许用户通过向左操纵杆(J1)移动来移动光标,并通过向左(J1)或向右(J2)操纵杆按钮进行单击。 J1>左>光标向左 J1>右>向右光标 J1>向上>光标向上 J1>向下>光标向下 J1>按钮>鼠标左键单击 J2>按钮>鼠标右键 控制器允许用户在动态键盘选项(字母和数字)之间进行选择,并通过向右操纵杆(J2)的移动来发送修改键。 J2>左>字母键盘 J2>右>数字键盘 J2>上>返回 J2>向下> BACKSPACE 控制器包括一个集成的4x4矩阵键盘。通过动态键盘选项,控制器最多支持32个键盘键。 Key键盘按钮上的默认键盘键: K1> e,1 K2> a,2 K3> r,3 K4> i,+ K5> o,4 K6> t,5 K7> n,6 K8> s,- K9> w,% K10> h,+ K11> m,0 K12> p,# K13> d,/ K14> u,9 K15> c,8 K16> l,7
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值