AnsweredAssumed Answered

STM32F3 USB Driver bMaxPower

Question asked by riggs.rob on Sep 24, 2015
Is there a recommended way to set bMaxPower in the USB configuration descriptor to 250 (500mA) using the USB driver?  I am creating a CDC device, and this works well, but I need to set bMaxPower in the Configuration Descriptor and a value of 50 (100mA) seem to be hard-coded in the USB driver(specifically ./Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c).

Also, how can I tell if the host is willing to provide 500mA?


Outcomes