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
Solved! Go to Solution.
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!
-----------------------------------------------------------------------------------------------------------------------
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!
-----------------------------------------------------------------------------------------------------------------------