SAMV71 Xplained Ultra Software Package 1.3

USB HID(Keyboard)+MSD Example

Purpose

The USB COMPOSITE Project will help you to get familiar with the USB Device Port(UDP)interface and also some of the other interfaces in SAMv7 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), and how to combine two USB functions to a single composite device (such as CDC + MSD).

Requirements

This package can be used with some of Atmel Xplained board that have UDP interface, depending on the functions included.

Windows Driver Update

The composite device is generally supported by Microsoft windows, but some patches are needed for muti-interface functions such as CDC & Audio.

Description

The demo simulates a USB composite device with HID Keyboard function and USB Disk function integrated.

When an Xplained 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

  1. Build the program and download it inside the SAM V71 Xplained Ultra board. Please refer to the Getting Started with SAM V71 Microcontrollers.pdf

On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:

Start the application.

  1. In the terminal window, the following text should appear:
         -- USB HIDMSD Device Project xxx --
         -- SAMxxxxx-xx
         -- Compiled: xxx xx xxxx xx:xx:xx --
    
  2. When connecting USB cable to windows, the LED blinks, and the host reports a new USB device attachment.
  3. For the windows driver installation and the test functions, please refer to "USB HID Keyboard Project" & "USB Device Mass Storage Project".

References

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines