IMX6D OTG VBUS

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX6D OTG VBUS

964件の閲覧回数
huyugui
Contributor I

I work on imx6d BSP, I find a usb otg issue.

On our imx6d board, otg VBUS is always on (5V). When I set USB_OTG_ID to high level and boot system, usb adb function can work.

But When I set USB_OTG_ID to high level then set to low level again. usb adb can't work. BTW USB host function is ok.

kernel output log: "[    7.171516] wait otg vbus change timeout!"

Whether otg vbus must be controlled, when host mode, vbus is 5V, and device mode vbus is 0V ?

ラベル(3)
0 件の賞賛
返信
1 返信

568件の閲覧回数
Yuri
NXP Employee
NXP Employee

From Linux release notes :

  “When building all the three USB drivers to modules (otg, host, and device), you must load

and unload the three modules together and in the correct sequence, because there is no

module dependency while function dependency exists. The loading sequence is:

fsl_otg_arc > ehci_hcd > arcotg_udc,

and unloading sequence is:

arcotg_udc > ehci_hcd > arcotg_udc.

  Meanwhile, if a gadget module, such as g_mass_storage, needs to be installed and be removed

from the fly, all USB modules need to be installed or removed.”


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信