2024-12-18 01:31 AM - last edited on 2024-12-18 01:37 AM by Andrew Neil
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.
Thank you for your assistance.
2024-12-18 05:02 AM
> Can I still use CDC without the VBUS pin?
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.
2024-12-19 09:20 PM
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 .
please help me .
2024-12-20 05:25 AM
> "not working out"
This is not a useful description of a problem. What behavior do you see? What behavior are you expecting? Have you done any debugging?
Consider working from a known good example, or using that as a base.