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.

TPS65951 USB OTG issue

Other Parts Discussed in Thread: DM3730, TPS65950, TPS65951

Hi  Guys,

      We are working for DM3730 CPU,and use PMIC TPS65951. By now ,we use all  TPS65950's driver for TPS65951,and the system boot is OK,But when i use USB OTG functions,i have some problem.When  the OTG used as USB HOST,there is a bug:

1>we need insert the USB device to OTG port before system boot.

2>after system booted, i can read or write the device,but when i reinsert the device ,it will can not use .

3>if i booted the system ,then insert the usb device to OTG port , it will can not detect the usb device.

Is anybody have some suggestion?

Thanks

Tommy

  • Hi Yuliang ,

    We are facing problems enumerating the OTG port for the host functionality .

    Im getting Vbat on the VUSBIN>CPOUT pin instead of 5V .

    What is the voltage you are getting on CPOUT pin on your board ??

    Regards,

    Rajesh N

  • I request any TI employee to answer the above mentioned query. We are also planning to use the same PMIC and are required to use the USB OTG functionality. 

    BR,

    Harshit 

  • Hi,

    I am using TPS65951 with DM3730 processor. The USB OTG is not working in slave mode when connected to PC. In fact it is not getting detected in PC. First time it is showing driver not available, and next time onward it is showing nothing at all. I have followed Beagleboard_XM for making the USB OTG connections. 

    The voltage at the VBUS pin is coming 5V, and in the ID pin around 0.8V.

    Please help with necessary suggestions to make the circuit work.

    Anindya

  • Hi, charge pump must be enable for the USB block to work properly as explained in TRM SWCU050B:

    The charge pump is controlled by the OTG_CTRL[5] DRVVBUS bit and is turned on when the device USB is required to act as an A-device.

    For ID, please see section 15.4.8.3 ID Pin Monitoring and Control from the same TRM document.

    Best regards, Alain.

  • Hi Alain,

    I could not find the TRM SWCU050B from TI site. Please provide me with it.

    Also, I am attaching the USB OTG Circuit below that I have used. Please let me know it is proper or not. I have mapped the MP_VBUS_EN on the processor at a GPIO. When I connect a mouse/pen drive, this pin should be high and +5V should come at VBUS. But this is not happening.

    Thanking you,

    Anindya

  • Hi, you may find this document here:

    http://www.ti.com/lit/pdf/swcu050

    Do you see 5V coming out of VUSBIN.CPOUT pin?

    Best regards, Alain.

  • Hi,

    I'm not getting the document in the link provided. It is showing the following

    Sorry! We couldn't find your page.

    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

    Please check the address bar to make sure the link is typed correctly, use the links below to locate the information you want, or search the site for another destination.

    If you are certain that this URL is valid, please send us feedback about the broken link.

    Please help.

    I tried to test the Host mode of the USB OTG by removing the mosfet and connecting a 0E resistor across it, as shown in the schematic. At VUSBIN.CPOUT, 4.58V is coming. I'm connecting an Optical Mouse by TAG as the device at the OTG port. I am repeatedly getting the following log in the minicom window

    [  665.303588] usb 2-1.3: USB disconnect, address 11
    [  666.057983] usb 2-1.3: new low speed USB device using musb-hdrc and address 12
    [  666.180480] usb 2-1.3: device v1a2c p0042 is not supported
    [  666.186279] usb 2-1.3: New USB device found, idVendor=1a2c, idProduct=0042
    [  666.193481] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [  666.201141] usb 2-1.3: Product: Usb Mouse
    [  666.205322] usb 2-1.3: Manufacturer: SEMICCHIP
    [  666.219451] input: SEMICCHIP Usb Mouse as /devices/platform/musb-omap2430/musb-hdrc.0/usb2/2-1/2-1.3/2-1.3:1.0/input/input11
    [  666.231903] generic-usb 0003:1A2C:0042.0009: input,hidraw0: USB HID v1.10 Mouse [SEMICCHIP Usb Mouse] on usb-musb-hdrc.0-1.3/input0

    Please let me know whether the mouse interface is working or not. If not, please help me to make it work/suggest proper forum where I can get support for the same.

    I also tested using Pen drive. The pen drive works only when the board is powered up/reset with the pen drive connected. But if in the powered on condition the pen drive is removed and re-inserted, it does not get detected. Please help to solve.

    Thanking you in advance,

    Anindya

  • I'm sorry for this link which is not working anymore; I'm asking to restore it. In a mean time you may give me your email address and I'll send the document separately.

    For CPOUT, the output value is below expectation i.e. 4.625V minimum which could cause a non detection at VBUS level. Would you please take a picture of this output with and without the 0 ohm resistor to see whether there is a leak on it?

    Best regards, Alain.

  • Hi Alain,

    My email ID: bagchi.ee.j@gmail.com

    Please send the document to this ID.

    I have connected the 0E resistor and drove a USB mouse successfully. The VBUS was coming around 4.62V all the time. I also checked the slave mode of TPS65951 USB OTG interface by removing the resistor and the mosfet.

    Now, to obtain OTG facility, I need to enable the mosfet from the processor when the ID pin detects that a slave device has been connected at the OTG port. Please let me know how to accomplish this.

    Thanking you in advance,

    Anindya

  • Anindya, I have just sent it to your email address.

    Concerning the external mosfet, please contact the persons in charge of processor support as this is beyond my knowledge.

    Best regards, Alain.

  • Hi Alain,

    Thank you for sending the reference manual. As per your suggestion, I'll post the issue of driving the external mosfet in processor support forum. However, if possible let me know the following about the USB transceiver of TPS65951

    1. Does any activity takes place on the ULPI bus when a slave device gets detected through the ID pin, which can be used as a logic to drive the mosfet?

    2. If the above option is not correct, can the driver be modified to generate a particular data and send it to the processor through the ULPI bus when a slave device gets detected through the ID pin?


    Any help regarding the same will be welcome.

    Thanking you again,

    Anindya

  • Anindya, for #1 yes there should be some activity at ULPI level but for #2 I am not the right person to help you there as drivers are not controlled by PMU group. Please contact local TI FAE who should be able to redirect your request to the right support group.

    Best regards, Alain.

  • Hi Anindya,

    Is FET circuit working?

    The VGS no matter even you drive the GPIO high will  leave the fet on because of body diode biased.

    I suggest TPS2041CDBVT.

    regards

    bobot