2015-09-23 08:00 PM
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