This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3359 PSP USB Software Configuration.

Other Parts Discussed in Thread: AM3359

Hi,

We are trying to use an AM3359 and put port 1 in to HOST mode (instead of OTG mode).  The TRM (Rev C) states that to do this you need to set bit 7 (IDDIG_MUXSEL) in order to enable software configuration of the port.  The usb driver code (ti81xx.c) is conditioning setting this bit with with a cpu_is_ti816x() call.  Does this need to be modified to support configuring the USB port mode in software?

Thanks.

-Mike Williamson

www.mitydsp.com

  • The OTG controller operates in host mode when the ID pin is connected to ground and peripheral mode when the ID pin is open-circuit.

    You do not need to use the software over-ride of the ID pin status.  If you ground the ID pin, the USB PHY will report the correct status to the USB controller.

    This software over-ride was only added to the USB subsystem to support devices that did not want to consume a package pin for the ID function.

    Regards,
    Paul

  • Mike,

    If you are making a new board and want port0 to be in host only mode then best thing is to ground the ID pin. For PSP -04.06.00.05 onward you can specify each port mode to be eitehr in HOST or DEVICE or OTG in board files at arch/arm/mach-omap2/board_am335x_evm.c so that software driver will get configured correctly.

    Ajay