Orin NX, how to configure USB0 port as host and device

We need to use the USB0 port in Orin NX for both device and host mode. The device will be used only for force recovery during power up. the host mode will be used only during normal operation. There is an example in the design guide shown USB0 as an USB device for force recovery. How can we configure the port as an USB host?

Don’t know what is your exact request.

Force recovery mode is pure hardware trigger event. No software is involved.

Ans host mode in kernel needs to configured in device tree. You can check the developer guide → adaptation guide document to check how to write the device tree.

Thanks for the quick reply. When the host mode is configured in device tree, is GPIO00 pin used as USB_VBUS_EN0 to control an external load switch for VBUS?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.