USB power setting

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

USB power setting

904 Views
srcoolz
Contributor II

Hello,

I am using the iMX6UL part and wanted to know how to set the USB current level. By default, USB Host provides 100mA @ 5V to begin and then after negotiations can provide upto 500mA. Is there a way in software (USB driver) to ensure that during negotiations the USB Host (iMX6UL) only allows upto 100mA and no more.

I understand that this is not USB 2.0 compliant - but in my system I'm unable to provide more than 0.5W of power to USB devices. We plan to use only USB memory stick as acceptable devices.

Can you please help me with the setup or modifications needed to the USB driver?

Thank you

Regards

Santhosh

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

785 Views
igorpadykov
NXP Employee
NXP Employee

Hi  Santhosh

usb driver is described in  Chapter 39 CHIPIDEA USB Driver
attached Linux Manual and from sources seems driver supports only default 100mA setting.

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

0 Kudos
Reply

785 Views
srcoolz
Contributor II

Hello Igor,

Thank you for your quick response. I reviewed the Manual and was unable to find the current setting. Can you please point me to the correct source file that I could review?

Additionally, I'm hoping that there is a setting in the driver which will allow the USB Host to deny the request from devices when they request additional current. (i.e. only allow max 100mA (default)).

Can you please confirm that if I'm using USB1 in HOST mode only then connecting the VBUS enable to the USB_OTG1_PWR will allows the USB PHY to control the power (On/Off) to the device?

pastedImage_1.png

Thank you

Regards

Santhosh

0 Kudos
Reply