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.

OMAP37xx - USB OTG issue with reboot

Other Parts Discussed in Thread: TPS65930

Hello All,

I have a custom platform based on the OMAP37xx processor on which I have a USB Gadget issue.  I have summarized it below:

The Setup:

  • The target platform has HSUSB0 of OMAP interfaced to the USB transceiver on TPS65930.  
  • HSUSB0 has been configured for USB device functionality (USB Gadget - CDC Ethernet)
  • USB Device port on target is connected to USB host port on Linux PC

The Software:

The Test

  • Test 1
    • Power up the target
    • Insert the USB cable from device port of target to host port of PC
    • Target detects USB cable plugin, enumerates CDC Ethernet
    • Successfully setup IP address and run TCP/IP applications (ping, telnet, ftp)
    • Power off (issue 'poweroff' command at shell prompt).  
    • System powers down.
    • Cycle power to the board (physically turn off and turn on power) - USB Cable remains connected between target and host PC
  • Test 2
    • Target powers up, loading Linux.  
    • USB Cable plugged in during boot time is detected, enumerated as CDC Ethernet
    • Successfully setup IP address and run TCP/IP applications (ping, telnet, ftp)
    • Reboot the target board (issue 'reboot' command at shell prompt) USB Cable remains connected between target and host PC
  • Test 3
    • System reboots, loads Linux and boots up. 
    • It DOES NOT detect USB Cable plugged in and hence does not enumerate CDC Ethernet

 

1. Has anyone used/tested USB phy on the TPS65930 on an OMAP37xx platform?

2. Has this scenario (reboot of system keeping the USB cable plugged in) been tested?

Any pointers with regard to where I can look at to fix this issue would be of great help.

Thank you for your time.

 

Regards,
Kanagesh 

  • Hello All,

     

    I have made hardware changes in an OMAP37xx EVM to route OTG port of OMAP through the USB transceiver on the TPS65930.

    Using TI PSP 03.00.01.06, I have also verified functionality USB Gadget feature (CDC Ethernet) on the OMAP3EVM.  

    I have a scenario of failure on a custom hardware platform which I am able to replicate with the OMAP3EVM.  

    • When the OMAP3EVM is reset by closing switch WARM_RST, two signals it sends are a reset to SYS_nRESWARM pin of OMAP and nRESWARM of TPS65930. 
    • On subsequent boot, USB Gadget in CDC Ethernet mode is functional.
    • When the OMAP3EVM is reset by closing switch OMAP_RST, two signals it sends are a reset to the SYS_nRESPWRON of OMAP and nRESPWRON of TPS65930. 
    • In this scenario, on subsequent boot, USB Gadget in CDC Ethernet mode is not functional.  
    • On testing this in an EVM with default hardware, i.e, OTG port of OMAP interfaced to ISP1507 transceiver, it is found that irrespective of whether the OMAP3 EVM is reset by closing switch OMAP_RST or WARM_RST, subsequent boots have USB OTG functional

    Any pointers on where I should be looking at would be of great help.
    Thanks and regards,
    Kanagesh