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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,357 Views
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

Labels (4)
0 Kudos
Reply
1 Solution
1,051 Views
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!

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

View solution in original post

0 Kudos
Reply
1 Reply
1,052 Views
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 Kudos
Reply