USB OTG Power circuit

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB OTG Power circuit

3,439 Views
demoniacmilk
Contributor IV

Hello community,

for USB OTG Slave mode, the system may not power USB VBUS, while in Master mode it has to. Some kind of detection/switch/power enable is needed.

A similar quesion has been asked here:

How use USB as both gadget mode and host mode usb USB_OTG 

However, I am currently comparing the MX7 and MX6 reference designs regarding the power supply of USB OTG.

The MX6 design uses a "USB_OTG_MODE" signal, for the MX7 this signal is called "USB_OTGx_PWR".

In both cases, these signals are used to cut the power supply using a transistor circuit or a power switch IC.

In my case, USB OTG1 on the MX7 shall be used for both flashing the linux image and attaching a USB stick.

So the default should be to NOT power the port and detect USB slave dvices based on a pin toggle in software?
If I understand correctly, the USB_OTGx_PWR signal has to be triggered in software (means: there is no hardware based detection)?

I assume the MX6 and MX7 use the same USB OTG hardware inside the chip. What external circuit would you recommend? The power switch based solution of the MX7 or the transistor based solution of the MX6?

Thanks for your help,

Lars

EDIT:
Ive also found this

For OTG-device compatibility, four voltage detectors are required to watch VBUS for (greater than) 4.4V, (0.8V to) 4.0V, (0.8V to) 2.0V, and (0.2V to) 0.8V. These levels correspond to the different states of VBUS as seen by an A-device or B-device

https://www.eetimes.com/document.asp?doc_id=1226476

But i cannot find anything like this on the reference designs.

I can not find any VBUS capacitors either on the MX7 sabre design (From what i know, 1..6.5 uF is necessary).

Tags (2)
0 Kudos
1 Reply

1,410 Views
igorpadykov
NXP Employee
NXP Employee

Hi Lars

one can use both schematic options, VBUSVALID_THRESH described in sect.66.4.1 USB VBUS Detect Register
(USB_ANALOG_USB1_VBUS_DETECTn) i.MX6DQ Reference Manual
https://www.nxp.com/docs/en/reference-manual/IMX6DQRM.pdf 

VBUS capacitor is C298 on SPF-28590 i.MX7D Sabre SD schematic

Schematics (2)
Design files for i.MX 7Dual (REV D)
Design files, including hardware schematics, Gerbers, and OrCAD files for i.MX 7Dual (REV D)
http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-process...

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos