STM32G4 USB self powered device / VBUS handling
I am setting up a STM32G4 based USB self powered device with CubeMX. The CDC/ACM stack nearly runs fine. How shall I implement VBUS handling? The part has no dedicated VBUS pin. So some app notes suggest to connect VBUS to a GPIO-extInt or ADC and im...