cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F3 USB Driver bMaxPower

Rob.Riggs
Senior III
Posted on September 24, 2015 at 05:00

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?

#cdc #stm32 #usb #stm32f3
0 REPLIES 0