The USB CDCHID Project will help you to get familiar with the USB Device Port(UDP)interface .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 + HID).
This package can be used with SAMV71 Xplained Ultra board or SAME70 Xplained board that have UDP interface, depending on the functions included.
The composite device is generally supported by Microsoft windows, but some patches are needed for muti-interface functions such as CDC & Audio.
This demo simulates a USB composite device that has USB Serial RS232 Converter and USB HID Keyboard functions.
When the board 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.
On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
Start the application.
-- USB CDC HID Device Project xxx -- -- SAMxxxxx-xx -- Compiled: xxx xx xxxx xx:xx:xx --