Configuring USB Devices for Low Power Mode

  • Thread starter Thread starter Chandra214
  • Start date Start date
  • Tags Tags
    Mode Power Usb
Click For Summary

Discussion Overview

The discussion revolves around the configuration of USB devices for low power mode, specifically addressing the roles of the host controller in managing current supply and the implications of different power modes for USB devices. The conversation includes technical aspects related to USB specifications and device behavior under various power conditions.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • Chandra inquires about the host controller's role in controlling current sourced through VUSB and whether it determines device type by sensing current consumption.
  • Warren asserts that the host supplies 5 volts at whatever current the peripheral draws and cannot control the current, but it can disable the port if the device exceeds its allocated current budget.
  • Chandra questions the setup process for the controller regarding threshold current sourcing and the handling of the 5V line for self-powered devices.
  • Warren clarifies that there is no minimum current requirement and that small currents do not cause damage, emphasizing concern only for maximum currents. He also notes that self-powered devices should not connect to the 5V line.

Areas of Agreement / Disagreement

Participants express differing views on the host controller's capabilities regarding current management and the implications for self-powered devices. The discussion remains unresolved on certain technical details and interpretations of USB specifications.

Contextual Notes

There are limitations regarding assumptions about the USB specifications and the specific conditions under which devices operate, particularly concerning current thresholds and the implications of device power modes.

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
 

Similar threads

Replies
4
Views
3K
Replies
2
Views
2K
Replies
19
Views
6K
  • · Replies 49 ·
2
Replies
49
Views
7K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
6
Views
4K
Replies
12
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K