how to comprehend  usage of USB ports  in LPC2478???

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by iilink on Mon Feb 17 22:43:29 MST 2014
come from LPC24XX user manual pdf.

In chapter 13 LPC24XX USB device controller,there  is a text below:

To use both ports for USB transfer, port1 has to be configured as host and port2 has to be
configured as device.

In chapter 15 LPC24XX USB OTG controller,there is a text below:

The OTG controller is capable of operating in the following modes:
• One port host and one port dual-role device (see Figure 15–53)

• One port host and one port device (see Figure 15–55)

• Two-port host (see Figure 15–56)

my question is if i want to use both USB ports,how to configure it ???