Title |
Title
AVR® DU as a USB CDC Communication Device
|
---|---|
Name |
Name
AN5792
|
Date |
Date
01/31/2025
|
Description |
Description
In this document, the basics of USB CDC will be explained. It will go through the advantages of using the AVR® DU with the USB Device Stack offered in MPLAB® Code Configurator and how it can replace external translators to enable USB communication.The document will go through two examples that will show how to easily utilize USB CDC communication. The first will be a simple application that shows the basics of CDC and how it interacts with the host. The other example will show a USB to USART bridge application that can be the basis of any application needing to translate external serial communication to USB. Both examples have manual terminal interactions and an automated Python script showing how they can be integrated into a host-side application. Links to the example code and step-by-step instructions for setting it up are provided in the Simple CDC Communication & CDC to USART Bridge sections.
|
Title | Product | Title |
---|---|---|
AVR32DU28
USB 2.0 FS Device
|
AVR32DU28 | USB 2.0 FS Device |
AVR16DU32
USB 2.0 FS Device
|
AVR16DU32 | USB 2.0 FS Device |
AVR64DU28
USB 2.0 FS Device
|
AVR64DU28 | USB 2.0 FS Device |
AVR32DU20
USB 2.0 FS Device
|
AVR32DU20 | USB 2.0 FS Device |
AVR16DU14
USB 2.0 FS Device
|
AVR16DU14 | USB 2.0 FS Device |
AVR16DU20
USB 2.0 FS Device
|
AVR16DU20 | USB 2.0 FS Device |
AVR16DU28
USB 2.0 FS Device
|
AVR16DU28 | USB 2.0 FS Device |
AVR64DU32
USB 2.0 FS Device
|
AVR64DU32 | USB 2.0 FS Device |
AVR32DU32
USB 2.0 FS Device
|
AVR32DU32 | USB 2.0 FS Device |
AVR32DU14
USB 2.0 FS Device
|
AVR32DU14 | USB 2.0 FS Device |