The following figures show two different ways to connect the USB OTG interface that may be used to work as either a host or a device.
Use of the USB OTG port as a
Host
with its own dedicated supply. The ID signal is forced to GND.
Figure 13
Use of the USB OTG port as
Device.
Figure 14
D N :
3 2