Behavior of 500mA devices

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
myd
Posts: 1
Joined: Fri Aug 29, 2014 4:45 am

Behavior of 500mA devices

Post by myd » Fri Aug 29, 2014 4:51 am

I have a question that I haven't been able to figure out yet. I'm making a device that will require the full 500mA and I'm wondering what happens in v-usb and on the usb bus when the device tells the system that it will use 500mA and it's on a port (say an unpowered hub) and that port can only output 100mA? Will the host power-down the port, will there be a negotiation failure, will it just be purely current-limited?

thanks

blargg
Rank 3
Rank 3
Posts: 102
Joined: Thu Nov 14, 2013 10:01 pm

Re: Behavior of 500mA devices

Post by blargg » Fri Aug 29, 2014 6:02 am

The device starts out in low-power mode and communicates its desire for more power to the host through its descriptor. If the host determines that the device can operate in high power mode, it will let it know that it is authorized to. See 7.2.1.4 High-power Bus-powered Functions in the USB 1.1 specification.

Post Reply