We are working on imx8qm-mek platform running with Android 9 Auto. We are going to implement Apple phone projection using CarPlay for this platform. But this requires manually role switching (host to device for mek) for OTG driver at software level , unlike switching from ID pin automatically. Could you please let us know how do we achieve this ?
And how do we test this role switching to verify that its working ?