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.

AM5708: Access of USB and Power control to USB from Processor

Part Number: AM5708

Hi,

I have been working with the AM5708BCBDJAS and facing below issues while enabling the USB.

1. Not able to see power at the port when enabled with host or DRD mode.

2. If I try to customize the connection and make the output of TPS2065DDBVR which internally triggers VBUS the port is having power but couldn't detect any device connected to the port.

Thank you,

Raghuveer Yarlagadda.

+91-8197267261.

  • What are you doing to put the device in host-only versus DRD mode?  And what pin are you using for USB_ID?

    -Zack

  • Hello Zack Brown,

    Sorry for the delayed reply. We were in troubleshooting Hardware and Software simultaneously for some issues.

    For your reply-

    We are modifying the device mode through a .dts & .dtsi files.
    But can you confirm me what is this USB_ID you were referring to?

  • How is the AM5708 part detecting an attached device? For Micro-AB connectors, this is done through the USB_ID signal.  Since AM5708 does not have a detected USB_ID input pin, detection is done either with a GPIO pin or with an I2C connection reading from a bus expander, as is the case on the AM5708 EVM:

    I see that in your above schematic, you are using a type C connector.  In that case, the CC lines take the role of determining connection status as well as cable orientation.  Since AM5708 can't handle that, some external circuitry is needed to convert the CC pins into an equivalent "USB_ID" signal.  But I see both CC pins on the connector are tied together.  The signal exits the image at the top right.  So how are these signaling to the AM5708 that a device is connected?

  • Hello Zack,

     

    We want to use USB1 in either USB2.0 HOST or USB3.0 HOST only. By referring below block diagrams from AM57xx TRM page numbers- 6051 & 6052, ID pins/CC pins may not be required for these modes.

                 

      Also, Have below queries.

    1. How the USB1_DRVVBUS pin is configured(Enable / disable and also on what input basis this will get configured).

    2. What is the procedure to configure USB1 in USB2.0/USB3.0 Host.(we have tried to configure in USB2.0 HOST mode in .dtsi file, but the status of USB1 is OTG in all the time. By searching some of the forums I found that .dts configuration overwrites .dtsi configuration (correct me if I am wrong)

    The .dtsi configuration we are managing is below-