Description
Graph
usb-device-core-project
Purpose
The USB Enumeration Project will help you to get familiar with the USB Device Port(UDP)interface on AT91SAM microcontrollers. Also it can help you to be familiar with the USB Framework that is used for rapid development of USB-compliant class
drivers such as USB Communication Device class (CDC).
You can find following information depends on your needs:
- Sample usage of USB Device Framework.
- USB enumerate sequence, the standard and class-specific descriptors and requests handling.
- The initialize sequence and usage of UDP interface.
See
- pio: Pin configurations and peripheral configure.
- usb: USB Device Framework and UDP interface driver
Requirements
This package can be used with all Atmel evaluation kits that have UDP interface.
The current supported board list:
- at91sam7s-ek (exclude at91sam7s32)
- at91sam7x-ek
- at91sam7xc-ek
- at91sam7a3-ek
- at91sam7se-ek
- at91sam9260-ek
- at91sam9263-ek
Description
When an EK running this program connected to a host (PC for example), with USB cable, host will notice the attachment of a USB device. No device driver offered for the device now.
Usage
- Build the program and download it inside the evaluation board. Please refer to the SAM-BA User Guide, the GNU-Based Software Development application note or to the IAR EWARM User Guide, depending on your chosen solution.
- On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
- 115200 bauds
- 8 bits of data
- No parity
- 1 stop bit
- No flow control
- Start the application.
- In the terminal window, the following text should appear:
-- USB Device Core Project xxx --
-- AT91xxxxxx-xx
-- Compiled: xxx xx xxxx xx:xx:xx --
|
- When connecting USB cable to windows, the LED blinks, and the host reports a new USB device attachment.
Source
The documentation for this Directory was generated from the following files:
main.c