configure USB from self-powered mode to bus-powered mode

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

configure USB from self-powered mode to bus-powered mode

477 Views
adi2Intel
Contributor III

Hi

were are working with 105x and testing usb features

we want to use the USB mode as USB self powered mode and not Bus powered 

using SDK examples 

  1. How can we switch existing USB SDK example from self-powered mode to bus-powered mode?
  2. can it be configured during runtime? or only one time on startup?

Thanks

Adi 

Intel

Labels (1)
0 Kudos
1 Reply

378 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @adi2Intel ,

If you just want to doing a software change, you can modify bMaxPower field of USB Configuration Descriptor to a small value, each step is 2mA.

If you want to make a hardware change, you can even not connect USB interface VBUS line, just add a on board 5v to USB_OTG1_VBUS. USB can detect connection by D+/D-.

 

Regards,

Jing  

0 Kudos