wondering what calls can be made to dynamically teardown the host controller and init a device controller using the same controller. I see deinit calls ... Are there any examples anywhere.
In the older LPC Expresso it was pretty easy to implement this.
Hi,
You can use USB_HostDeinit API, for example in the source code attached I used this API to disable host controller, the example starts using Ehci0 controller but changes to Ehci1 if you press SW8. Maybe you can use this code as reference but enabling device instead of host.
Best regards,
Felipe