Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Any OHCI Expert? Problems in restarting USB OHCI controller after completely shutting it down.

$
0
0

Hi,

We have written the driver for OHCI controller on omapl138 for our proprietary RTOS. The driver works great but we have a problem if we try to restart the complete controller after completely shutting it down (all clocks off, module off in its power domain) for saving power. Here is what we do when we shutdown the controller:

1. Disable all interrupts of OHCI.

2. Write 0 to HCCONTROL register.

3. Reset the controller in HCCOMMANDSTATUS register.

4.  Stop the all the USB 2.0 clocks since USB1.1 clocks is sourced from this in my case.

5. Turn off USB 1.1 in LPSC1 power domain.

Now when we restart, we re-enable all the clocks, USB1.1 power and proceed with OHCI configuration as it is done at system startup (at startup the controller works but not after shutting OHCI down and restarting). Now when I connect a usb device I don't get any interrupt whatsoever. Am I missing something? Thank You.

Regards,

Mughees


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>