I plan to use the USBC port of the Colibri to connect my Aster+Colibri to the PC and implement a communication interface that makes use of the Toradex modules as a USB Device(USB Function/Slave) and the PC as the USB Host.
I referred a nice article Having a USB tête-à-tête with your embedded device explaining how to implement such an architecture, and so I have disabled ActiveSync on the device and it is getting recognized as a Serial Device on the Host.
I have written a simple application on the device side(Toradex) that sends out sample strings out of the Virtual Serial Port(\$device\com0).
Now, I have 2 questions in my mind:
- What would be the rate/bitrate that this data would be going out onto the USB, or what would be the end-to-end throughput? Will it be one of the standard UART baudrates, or will go upto the USB High Speed specified bandwidth minus the protocol overheads?
- On the host side, I am supposed to write an application to send and receive the data on this virtual serial port. But what if I use a serial terminal like putty and open a Serial Session on this Virtual COM port, what should I set the serial protocol settings to?
Thanks in advance