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,244 次查看
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 解答
938 次查看
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 回复
939 次查看
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 项奖励
回复