Does it possible to switch USB role actively on lpc1768?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by cgha on Mon Nov 05 19:51:21 MST 2012
When on reset ,poll a special pin, for example, P1.5 ,if it is low initilize to device, otherwise, to host.
When on running, poll P1.5 to check if it should switch role, if need, just softwareReset.