Hello.
IMXRT1176DVMAA
We have one image where configured USB OTG1 port as an audio device. And USB OTG2 port as mass storage host. The audio device is not working, we tried to switch USB OTG1 to the host and successfully read USB sticks. We did a few more tests and found that the same image working on EVK-B board, but not on ours.
The most likely problem is difference in USB ID pin, it is not connected (because our USB ports only has d+ and d- (UB1112C-M7D1-4F_FOXCONN)
Is it necessary to have ID pin connected in audio mode? How we can bypass it/override OTG1?
Solved! Go to Solution.
We found an issue in our design. There is VBUS on OTG1 that should be powered from some external source, and we havent connected it to anything. And our host mod was working with triple-usb-ports because they were powered from otg2 source.
Hi,
Could you please confirm if you are using one USB OTG as device and the other one as host in the same MCU?
And are they running simultaneously?
Regards,
Daniel.
If the SW is running correctly in the EVK, seems the problem is on the hardware side of your board.
By any chance, are you able to share your schematic, or at least the way you connected the USB in your design?
Regards,
Daniel.
Hi, thanks for reply.
Attached usb part design. Our idea that no ID pin is somehow triggering OTG functionality in MCU. But I have no idea how to bypass that (if it possible)
About design:
USBTRI - part of 3 usb connectors
AU9 - USB HUB. Where DM/P 1..4 is 4 in-ports. And DMU/DPU is out-port.
AU54 - signals switch. We control USB_EN pin, and in default state connections is green.
AP1 - type-c connector
So, in default state PC seeing all usb keys that connected to USBTRI connectors. But not audio-device that was enumerated on OTG1.
I'm now trying to register mass storage device and connect it to PC, will report later if it will work before your answer
We found an issue in our design. There is VBUS on OTG1 that should be powered from some external source, and we havent connected it to anything. And our host mod was working with triple-usb-ports because they were powered from otg2 source.