USB and L4 discovery board
Hi,
Last week I had the same problem with 32L476GDISCOVERY. I resolved it following the instructions from UM1879 document:
In order to connect the OTG_FS_VBUS and OTG_FS_ID signals from the connector CN7 to the OTG FS hardware IP of STM32L476VGT6, please remove the LCD from its socket U5, and close SB24 and SB25.
Then, I built a project with STMCubeMX configuring USB_OTG_FS as device_only with activate_vbus and resolving clock issues automatically.
I hope this can help you.
Best regards,
Raúl.