iMX6 USB OC functionality

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

iMX6 USB OC functionality

3,538 Views
martinchristian
Contributor II

Hi,

I have been looking for information about the OC (Over Current) and USB Power Enable functionality in the iMX6.

I have a USB Host interface, with a external USB power switch with an "over current" output which is active low and a Enable input which is active low.

The Freescale evaluation board, (Smart Device Platform) have a similar device, but with OC output active low and USB Power EN active high.

So, can I change the USB_H1_PWR_EN signal to support the active low input of my USB power switch?

Can someone explain how thiese signals (USB_H1_PWR_EN, USB_H1_OC) function in the device.

(I have looked through Freescale documentation...)

PS. I would like to keep the USB power switch that I currently use. I know it is possible to get a version with active high EN input.

Best Regards,

Martin C.

Labels (1)
Tags (1)
0 Kudos
1 Reply

1,379 Views
igorpadykov
NXP Employee
NXP Employee

Hi Martin,

USB_PWR_EN is the output signal, meant to switch

on/off a VBUS power source for the USB bus, affected by

PP bit in PORTSC register . USB_OC is VBUS Over Current input signal,

when it is asserted - Over Current related bits will be set / active. 

imx6 hdimidogle usb_otg_oc

>can I change the USB_H1_PWR_EN signal to support the active low input of my USB power switch?

No. USB_H1_OC "over current" polarity also can not be changed.

However you can use gpios (one will have to change usb driver) for these signals

and use any desirable polarity you wishes.

Best regards

chip

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos