cancel
Showing results for 
Search instead for 
Did you mean: 

One USB port work as cdc device and host

kqian
Associate II
Posted on January 31, 2014 at 22:59

Hello,

I have a question on the usb cdc. Is there any possible to use the same USB port to work as cdc host and cdc device? I have board with one USB port and the board need to tell what the equipment is connected to it. If PC is connected to it, it works as cdc device, if another device board is connected to it, it works as host.  Any one has idea on it?

Thanks
1 REPLY 1
chen
Associate II
Posted on February 03, 2014 at 13:41

Hi

'' Is there any possible to use the same USB port to work as cdc host and cdc device?''

Yes, BUT not at the same time. USB On The Go allows the change from Device to Host when pluggin in the USB connector.

Please note, there is a USB CDC device example. I do not think there is a USB CDC host example.