LUFA Library - Virtual Serial Device Demo
Communications Device Class (Virtual Serial Port) Demo

Demo Compatibility:

The following list indicates what microcontrollers are compatible with this demo.

  • Series 7 USB AVRs (AT90USBxxx7)
  • Series 6 USB AVRs (AT90USBxxx6)
  • Series 4 USB AVRs (ATMEGAxxU4)
  • Series 2 USB AVRs (AT90USBxx2, ATMEGAxxU2)
  • Series AU XMEGA AVRs (ATXMEGAxxxAxU)
  • Series B XMEGA AVRs (ATXMEGAxxxBx)
  • Series C XMEGA AVRs (ATXMEGAxxxCx)

USB Information:

The following table gives a rundown of the USB utilization of this demo.

USB Mode: Device
USB Class: Communications Device Class (CDC)
USB Subclass: Abstract Control Model (ACM)
Relevant Standards: USBIF CDC Class Standard
Supported USB Speeds: Full Speed Mode

Project Description:

Communications Device Class demonstration application. This gives a simple reference application for implementing a CDC device acting as a virtual serial port. Joystick actions are transmitted to the host as strings. The device does not respond to serial data sent from the host.

After running this demo for the first time on a new computer, you will need to supply the .INF file located in this demo project's directory as the device's driver when running under Windows. This will enable Windows to use its inbuilt CDC drivers, negating the need for custom drivers for the device. Other Operating Systems should automatically use their own inbuilt CDC-ACM drivers.

Project Options

The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.

None