Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

USB Device type

  1. Oct 22, 2008 #1
    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
     
  2. jcsd
  3. Oct 22, 2008 #2

    chroot

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    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
     
  4. Oct 22, 2008 #3
    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?
     
  5. Oct 22, 2008 #4

    chroot

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    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
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?