How should we connect i.MX6DQ USB_OTG_ID to use HNP (role swapping)?

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

How should we connect i.MX6DQ USB_OTG_ID to use HNP (role swapping)?

ソリューションへジャンプ
1,058件の閲覧回数
satoshishimoda
Senior Contributor I

Hi community,

Our partner have a question about i.MX6DQ USB OTG.

They want to use USB role swqpping with HNP.

They will use i.MX6DQ USB OTG as host normally (OTG A-device), and change its role when Host request flag comes from USB B-device.

In this case, how should they connect USB_OTG_ID pin?

Tied to GND? or control its logic high or low by GPIO?

Best Regards,

Satoshi Shimoda

ラベル(4)
タグ(4)
0 件の賞賛
1 解決策
752件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Satoshi

one can ground ID on i.MX6DQ USB OTG, so by default it operates as Host,

after B-device connection they can USB role swapping using HNP, as shown below.

USB On-the-Go Basics - Tutorial - Maxim

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
1 返信
753件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Satoshi

one can ground ID on i.MX6DQ USB OTG, so by default it operates as Host,

after B-device connection they can USB role swapping using HNP, as shown below.

USB On-the-Go Basics - Tutorial - Maxim

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛