AnsweredAssumed Answered

IMX6QPSABRESD using USB port in PCIe connector

Question asked by David Luberger on Feb 3, 2020
Latest reply on Feb 5, 2020 by Wigros Sun

This sabre board only comes with one USB connector: a USB micro connected to USB OTG. My understanding is there is no way to simultaneously use this as both a host and device connection. So I have an adapter that gives me a standard USB A port that I can connect a hub to for various devices like mouse, keyboard etc. Alternatively, I can connect a standard A-to-Micro-B cable to my host computer, so that I can do Android USB debugging, and mainly I use that for sending APK over USB when creating a new app.

 

My issue is that since this is the only USB port, I cannot have my mouse and keyboard connected (or any other device) while I have USB connected to my host pc as device mode.

 

I noticed in the sabreboard schematic, there is a second USB port that is attached to the PCIe connector.  However, I soldered a USB port to the ground, D-, D+ signals (I'm connected to powered hub so I shouldn't need USB 5V connected) but this does not work. Mouse and keyboard don't come up.  My thinking is that maybe the USB peripheral on the imx6qp processor is not powered (I haven't checked but can't find good test points to verify), and I noticed there is a signal called "USB_H1_VBUS" that is activated by gpio called "USB_H1_PWR_EN".  Is this signal off by default? If so, is there a way to turn it on from Android command prompt (over serial debug port)? If not, what else could be preventing this USB port from not working? Is there a card detect that I need to short to ground so that the processor thinks a pci card is attached in order to activate the usb port?

Outcomes