Configuring USB Devices for Low Power Mode

  • Thread starter Thread starter Chandra214
  • Start date Start date
  • Tags Tags
    Mode Power Usb
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
Chandra214
Messages
48
Reaction score
0
Hi all,

set up:
USB devices in power mode have three types
a. high power mode ( 500mA)
b. Low power mode ( 200mA)
c. Self powered mode.

in one of our applications we are configuring the device as low power device at the descriptor level ( Software).
Once the host has the device information it will be able to monitor the 5V USB power line.

will the host controller play a role in controlling the amount of current to be sourced through VUSB?
or else will the host decide the type of device by sensing the amount of current consumed?

Thank you,
Chandra
 
Engineering news on Phys.org
The host is responsible for supplying 5 volts at whatever current the peripheral happens to draw. It can't control the current!

It will sense if the device uses more than its allocated current budget, however, and will usually disable the port.

- Warren
 
So the controller reads the descriptor type and sets up the threshold current sourcing point.
and also is there no lower threshold level??
what if the device is self powered?
How should the 5V line be handled?
If unconnected, will it cause violations?
 
No, there is no minimum current. Small currents don't destroy things -- big currents do -- so you generally only worry about maximum currents.

If the device is strictly self-powered, then the 5V line should not be connected. These kinds of questions are best answered by the USB specification documents, if you can find them.

- Warren