2023-08-03 07:55 AM
Hello.
I am trying to establish a USB CDC connection with a Windows 10 computer using the STM3210E-EVAL. I can't get it to work. After starting, I connect the board to the PC via USB and the following message appears in the device manager:
Is there a small example somewhere that shows how data is received and sent via USB-CDC?
Thank you, and greetings
Rasmus
Solved! Go to Solution.
2023-08-10 11:00 PM
Hello.
Solved. It seems that when I create a project for the STM3210E_EVAL developer board and apply the board-specific settings, the USB communication does not work.
I created a project for the controller and not for the developer board in which USB was included. It works with this project.
Greetings
Rasmus
2023-08-04 05:18 AM - edited 2023-08-04 05:24 AM
Hello @Rassi,
Check you're using the right USB peripheral. Try another cable.
Please have a look at CDC example within STM32CubeF1 MCU package: \STM32Cube_FW_F1_Vx.x.x\Projects\STM3210E_EVAL\Applications\USB_Device\CDC_Standalone
This is a typical example on how to use the STM32F1xx USB Device peripheral following the Virtual COM Port (VCP) implementation.
In order to make the program work, you must follow the instructions and configurations mentioned in the readme file.
Imen
2023-08-04 06:48 AM
Hello.
Thank you for the quick reply.
Where can I find the examples?
I found something on GITHUB. Unfortunately, this project cannot be compiled without errors.
Thank you, and greetings
Rasmus
2023-08-10 11:00 PM
Hello.
Solved. It seems that when I create a project for the STM3210E_EVAL developer board and apply the board-specific settings, the USB communication does not work.
I created a project for the controller and not for the developer board in which USB was included. It works with this project.
Greetings
Rasmus