AnsweredAssumed Answered

How can I do dual-role switch with iMX6?

Question asked by jichunfan on Apr 4, 2014
Latest reply on Jul 30, 2014 by Yixing Kong

    I find many engines ask about the support of OTG HNP with imx6 yotco 3.10.17 .And now I also meet this question .I trying to perform dynamic role switch from host to device with USB OTG HNP. And first I use libusb  libusb_control_transfer() function ,send role switch request  to B-devcie .And B-device response the request and disconnect itself from the bus .According to the usb otg document said :Next the A-device should turn on the D+ pull up.And  so dispirited,i don't konw how to turn on the D+ pull up.

Does anyone  know :

1 ,Can i use linux standard drives to perform role switch ? And how use it ?

2. How can i turn on D+ pull up ?

Thanks .