2025-06-11 12:37 PM
I am currently using CUBE MX to set up the USB-CDC function of STM32F373CCT6, but I can't find the VBUS pin. I am using the onboard power supply, and I don't know if I need to use VBUS. If there is a design example for reference, it would be very grateful.
2025-06-11 2:18 PM
There is no dedicated VBUS pin on the STM32F373CCT6. You shouldn't need it.
If your device is bus-powered, there is no need to monitor VBUS.
If your device is self-powered, bring VBUS to any GPIO and monitor it. When it's present, initialize USB. When it disappears, de-initialize USB.