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.

AM62P: How to identify USB mode when using USBn as DRP.

Part Number: AM62P
Other Parts Discussed in Thread: TUSB321AI, TUSB321

Tool/software:

Hi team, 

Now, I'm considering the USB interface circuit as DRP using AM62P.

I think that it is necessary to identify USB role when using DRP.

According to TRM (page.1320), the USBn as DRP interface connects ID pin to identify USB role.

But, AM62P doesn't have exclusive "USBn_ID" pin.

In this case, is it Okay to using either GPIO as "USBn_ID" ?

Thank you for your support.

  • Hi Tsubasa-san,

    It depends on what type of the USB receptacle is used. If use micro-B connector, yes you would need to use a AM62P GPIO pin to connect to the ID pin on the micro-B receptacle. If you use type-C connector, you don't need a GPIO pin, rather the USB type-C companion IC would notify AM62P about the USB role via I2C interface.

    Note: if you will use FreeRTOS on AM62P, only usb device mode is supported in FreeRTOS, host mode is not supported.

  • Hi Bin Liu-san,

    Thank you for the information.

    I've understood about USBn_ID on AM62P.

    For your information, I'm considering USB-C receptacle and TUSB321AI(USB-C Controller) on the system using AM62P(Linux).

    TUSB321AI has the ID pin for indicating USB role (DFP or UFP).

    In this case, I think that the ID pin connects to either GPIO on AM62P to identify USB mode.

    In other words, by using TUSB321, USB-C receptacle can be used like a micro-B receptacle on the system using AM62P.

    Is my understanding correct?

    Thank you for your support.

    ○Supplementary information

    TUSB321AI data sheet, product information and support | TI.com

  • Hi Tsubasa-san,

    TUSB321AI has the ID pin for indicating USB role (DFP or UFP).

    In this case, I think that the ID pin connects to either GPIO on AM62P to identify USB mode.

    In other words, by using TUSB321, USB-C receptacle can be used like a micro-B receptacle on the system using AM62P.

    Is my understanding correct?

    Yes, it is correct.