This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USB - Connecting both Host & Device to LPC1768

I have the MBC1760 eval-board for soft development and working on a new PCB. Suppose, I have both A(host) and B(device) connectors. Their VBUS and GND are handled separately. And I have another GPIO pin that selects which connector will be active. When I select HostMode, the D+,D- will be pulled-down. When I select DeviceMode, the D+ will be pulled-up. So I will be able to activate one of the connectors from the program menu, in theory. Has anybody done such a setup ? What problems may I see ? Any suggestions ? Thanks In Advance...