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.
Replies: 7
Views: 3155
Hi
I have this strange intermitted problem:
After a correct enumeration of the device we have a sequence of:
<7>[ 15.007537] musb-hdrc musb-hdrc: <== Power=e0, DevCtl=19, int_usb=0x28<7>[ 15.007598] musb-hdrc musb-hdrc: DISCONNECT (a_host) as Host, devctl 19<7>[ 15.127655] musb-hdrc musb-hdrc: ** IRQ host usb0010 tx0000 rx0000<7>[ 15.127685] musb-hdrc musb-hdrc: <== Power=e0, DevCtl=5d, int_usb=0x10<7>[ 15.127746] musb-hdrc musb-hdrc: CONNECT (a_host) devctl 5d<7>[ 15.244018] musb-hdrc musb-hdrc: ** IRQ peripheral usb0020 tx0000 rx0000<7>[ 15.244049] musb-hdrc musb-hdrc: <== Power=e0, DevCtl=19, int_usb=0x20<7>[ 15.244079] musb-hdrc musb-hdrc: DISCONNECT (a_host) as Host, devctl 19<7>[ 15.378234] musb-hdrc musb-hdrc: ** IRQ host usb0010 tx0000 rx0000<7>[ 15.378265] musb-hdrc musb-hdrc: <== Power=e0, DevCtl=5d, int_usb=0x10<7>[ 15.378326] musb-hdrc musb-hdrc: CONNECT (a_host) devctl 5d<7>[ 15.479400] musb-hdrc musb-hdrc: ** IRQ peripheral usb0020 tx0000 rx0000<7>[ 15.479431] musb-hdrc musb-hdrc: <== Power=e0, DevCtl=19, int_usb=0x20<7>[ 15.479461] musb-hdrc musb-hdrc: DISCONNECT (a_host) as Host, devctl 19<7>[ 15.687469] musb-hdrc musb-hdrc: ** IRQ host usb0010 tx0000 rx0000<7>[ 15.687499] musb-hdrc musb-hdrc: <== Power=e0, DevCtl=5d, int_usb=0x10<7>[ 15.687561] musb-hdrc musb-hdrc: CONNECT (a_host) devctl 5d<7>[ 15.714782] musb-hdrc musb-hdrc: ** IRQ peripheral usb0020 tx0000 rx0000<7>[ 15.714813] musb-hdrc musb-hdrc: <== Power=e0, DevCtl=19, int_usb=0x20<7>[ 15.714843] musb-hdrc musb-hdrc: DISCONNECT (a_host) as Host, devctl 19<7>[ 15.848999] musb-hdrc musb-hdrc: ** IRQ host usb0010 tx0000 rx0000<7>[ 15.849060] musb-hdrc musb-hdrc: <== Power=e0, DevCtl=5d, int_usb=0x10<7>[ 15.849090] musb-hdrc musb-hdrc: CONNECT (a_host) devctl 5d<7>[ 15.950164] musb-hdrc musb-hdrc: ** IRQ peripheral usb0020 tx0000 rx0000<7>[ 15.950195] musb-hdrc musb-hdrc: <== Power=e0, DevCtl=19, int_usb=0x20<7>[ 15.950225] musb-hdrc musb-hdrc: DISCONNECT (a_host) as Host, devctl 19
Sometime the peripheral after that stop to answer to the fist control message. I have seen that this sequence can happen even accros a transfer.
Michael
Please make sure you read the forum guidelines first.
In reply to Yordan Kovachev:
In reply to Michael Nazzareno Trimarchi1:
I have found the reason. It happen from RF gsm interference during boot, so I have implemented a BABBLE recover routine for omap4. In order to make it robust and due the fact that I can not change the recover is applied when user space is unable to communicate with the device and when I detect the BABBLE condition from interrupt. In order to recover I simulate a phy disconnect and a phy disconnected using the otg tranceiver and this let the omap4 to move from device mode and back to host mode. I'm going to tune better it in order to have fast recover time
Is it possible to increase the OTG power domain voltage or increase the strength of D+ and D- to have less impact from the radio?