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.

Linux/AM3894: How to configure USB to slave mode on AM3894

Part Number: AM3894

Tool/software: Linux

Hi all,

My code base is EZSDK_5_04_00_11 and use custom AM3894 (silicon revision 2.1) board.

I want to configure USB0 module to slave mode. Here are my queries.

1. How to handle USB0_DRVVBUS (P35) pin?

    Just add a pull high 10K resistor to 3.3V or not.

2. Does select a GPIO pin to connect with USB connector ID pin as floating state? 

 

Thanks in advance.

B.R.

OC

  • Hi OC,

    Omin Chou said:

    1. How to handle USB0_DRVVBUS (P35) pin?

        Just add a pull high 10K resistor to 3.3V or not.

    This is output pin, you can leave it without pull resistor. See also AM389x datasheet, section 6.6 How to Handle Unused Pins

    Omin Chou said:
    2. Does select a GPIO pin to connect with USB connector ID pin as floating state? 

    AM389x USB mode (host or device/slave) is selected entirely by software, there is no AM389x USB_ID pin. You can leave USB connector ID pin not connected to AM389x GPIO pin.

    Regards,
    Pavel

  • Hi Pavel,

    Got it.
    Thanks so much for your confirmation.

    B.R.
    OC