AVR32 USB software framework for CDC
This manual is divided into the following sections:
Use of this program is subject to Atmel's End User License Agreement.
Please read the Copyright notice at the bottom of this page.
The Communication Device Class (CDC) is a general-purpose way to enable all types of communications on the Universal Serial Bus (USB). This class makes it possible to connect telecommunication devices such as digital telephones or analog modems, as well as networking devices like ADSL or Cable modems. While a CDC device enables the implementation of quite complex devices, it can also be used as a very simple method for communication on the USB. For example, a CDC device can appear as a virtual COM port, which greatly simplifies application programming on the host side.
This embedded application source code illustrates how to implement a USB CDC application on the AVR32 microcontroller.
As the AVR32 implements a device/host USB controller, the embedded application can operate in one of the following USB operating modes:
- USB device;
- USB reduced-host controller;
- USB dual-role device (depending on the ID pin).
To optimize embedded code/RAM size and reduce the number of source modules, the application can be configured to use one and only one of these operating modes.