USB CDC isn't working on STM32L476
We developed a PCB that have an STM32L476. In the hardware configuration I configured the USB communcation as a Device_only and virtual com.
For the hardware connection, I have the USB D+ , D- and ground connected and verified.
when connecting the PCB to PC there is no new device appearing and the stm isn't appearing to the PC.
Can you help what might be the reason and how to debug it. Most of the tutorial show how to do the configuration and once they connect to the PC the STM appear.
Note: when the STM32 is connected to the st-link and debugging, if I plug the usb cable to the STM32, the debug stopped and give connection error.
