SAMV71 Xplained Ultra Software Package 1.3

USB Host HID Example

Purpose

This example shows how to implement a USB host HID mouse on SAM V71 Xplained Ultra board.

Requirements

This package can be used with SAM V71 Xplained Ultra board.

Description

After loading the application, connect the board to a USB HID mouse.

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
  2. On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
    • 115200 baud rates
    • 8 bits of data
    • No parity
    • 1 stop bit
    • No flow control
  3. Connect the HID mouse device to SAM V71 Xplained Ultra board with the OTG wire.
  4. Start the application. In the terminal window, the following text should appear (values depend on the board and chip used):
          -- USB HOST HID Mouse Example xxx --
          -- xxxxxx-xx
          -- Compiled: xxx xx xxxx xx:xx:xx --
    
  5. Human interface on SAM V71 Xplained Ultra board.:
    • Led 0 is continuously on when a device is connected
    • Led 0 blinks when USB host has checked and enabled HID interface
    • The blink is slow (1s) with low speed device
    • The blink is normal (0.5s) with full speed device
    • The blink is fast (0.25s) with high speed device
    • Led 1 is on when the mouse move

References

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines