2019-06-24 12:14 PM
Hi
Seems the new cube L4 package has some updates on the USB driver. The Battery charging functionality no longer works because the BCDEN bit is never enabled in the `HAL_PCDEx_ActivateBCD` function.
In the screenshot, left is the previous version of Cube L4 driver and right is V1.14.0.
Solution is to keep the line ` USBx->BCDR |= (USB_BCDR_BCDEN); ` as it was doing fine in the old version. I don't know why it's removed?
2019-06-24 11:56 PM
Hello @i-am-groot ,
Could you please share your ioc file?
Regards,
Khouloud.