I need to develop a USB application for transferring data in-between PC and Microcontroller. Data can be vary from 2B to 64B in length. And it has to be transmitted at a high speed.
I think Communication Device Class is suitable for my application.
I found one example program for this - USB Serial Device. I read on the internet that the Communication Device Class can create virtual serial port on the PC.
Question1) In the application program why they are using USART hardware to transmit the data? The received data from the USB CDC are transmitted using UART in the example program (USB Serial Device).
Question2) Is UART is required to create virtual serial port using USB CDC?
Question3) In the "tLineCoding" structure of USB CDC contain baud rate. Is this baud rate has anything to do with USB transmit and receive speed(Interrupt IN,Bulk IN and Bulk Out speeds)?
Question4) In my application I need the maximum speed of USB 2.0. How to set it?