Skip to main content
ShoaibMullani
Associate
April 17, 2024
Question

STM32F302 With USB-C for Variable Read Operation, With External Clock Of 8MHz

I'm pretty new to using USB in Stm32, and I wanted to read the variables through a USB-C connected to the controller. StmcubeMX provided me with an initialization code. After flashing this code, the comp port is not showing on the system. I have attached my code files.

This topic has been closed for replies.

2 replies

ST Technical Moderator
April 17, 2024

Hello @ShoaibMullani 

I guess you missed the configuration of USB device class for CDC VCP

FBL_0-1713345260360.png

 

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL
ShoaibMullani
Associate
April 17, 2024

After configuring it also , it's not detecting on system.
is there any need to start the USB in program?