I need pointers on how to use the USB of the XMega devices.
I am trying the USB CDC example using the XMegaA1UXPlainedPro eval board. I have the laptop connected to the EDebug port of the eval board. I have an USB cable connecting the eval board to the laptop. I am referring to the app note
Atmel AVR4907: ASF - USB Device CDC Application (microchip.com) . I don't have any UART to USB bridge connector, I assume the xMegaA1UXPlainedPro has a virtual COM port that takes care of this?
I ran the example and opened two teraterm windows, one for the eDebug COM port and another for the CDC class ASF example COM port. The text I type into the eDebug window echos on the CDC class example. If I type into the CDC class example window, no echoing happens. I need help understanding how to use this example.
In the application the MCU used will be Atxmega 32A4U. The attached picture shows the use of the USB port. External interrupts happen on the GPIO. The Atxmega32A4U processes this data into an internal buffer. When the processing is complete, this data from the buffer has to be sent to the SBC via the USB. How can I use this example for what is needed in the application?
Edited to add: I have ordered an STK-600 eval board with the routing card for the AtxMega32A4U. In the meantime, I am using the XMegaA1UXPlainedPro eval board.