Hello,
I am now trying to use the 28377 to build a usb slave. When I look into the example code usb_dev_serial which can use the usb as a virtual com port, I have some questions about how it work.
1. As the description of this example code, if I send data to 28377 with the real com port, the virtual com port (usb) will show this data on the computer. My question is, as I know, the usb communication (both the write and read opperation) can only call by the host. Although the 28377 can receive the desired data from the real com port, how can it let the usb host (computer) to read this data?
2.If I want to send some data to 28377 with the virtual com port (usb), what should I do? Should I just send the data (assumed as 0xAA) by the virtual com port and TI's usb driver will packet this data as a standard usb packet? Or I have to send the whole usb packet by myself?
I hope someone can help me with this?
Best regards.
Mork