I am using the STM32H743ZIT6 MCU to enable USB CDC. In my schematic, I have not defined the VBUS pin; I have only defined the CDC lines. Can I still use CDC without the VBUS pin? Below is the photo of my schematic for reference. Please help me.
Yes. You are not required to connect VBUS to use USB.
The USB standard does require that you check VBUS before energizing the data lines, but you can typically safely ignore that. If your device is USB powered, there is no need to check.
Schematic looks good.
"If you feel a post has answered your question, please click ""Accept as Solution""."
i used this configuration setup in ioc file and call the cdc transmit function in main.c but not working out , is this happening because of VBUS missing as mentioned above by rahu2710 , he is from hardware team , and i am from software team .