Hi, I was having a very similar problem with an STM32L433. My device is designed to be powered from external 12v or 5v from VBUS. When powering on from 12v and no USB cable connected, USB library initialization would go continuously to the USB interr...