SAMV71 Xplained Ultra Software Package 1.5

USB communication device class Example

Purpose

The USB communication device class Example will help you to get familiar with the USB communication device class on SAMV7/E7 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.

Requirements

This package can be used with SAMV71 Xplained Ultra board or SAME70 Xplained board. The device uses the USB communication device class (CDC) drivers to take advantage of the installed PC RS-232 software to talk over the USB. The example is a bridge between a USART (USART2) from the main microchip and the USB host CDC interface.

Usage

  1. Build the program and download it inside the board. Please refer to the Getting Started with SAM V71/E70 Microcontrollers.pdf
  2. On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
    • 115200 baud rate
    • 8 bits of data
    • No parity
    • 1 stop bit
    • No flow control
  3. Start the application.
  4. In the terminal window, the following text should appear:
      -- USB Device CDC Serial Project xxx --
      -- SAMxxxxx-xx
      -- Compiled: xxx xx xxxx xx:xx:xx --
    

References

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines