Question
USB Battery charging bug on cube L4 1.14
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?
