cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F407G-DISC1 board USB CDC communication failed

Anton_Huang
Associate

1.png  

2.png

3.png

4.png

5.png

1 ACCEPTED SOLUTION

Accepted Solutions
Peter BENSCH
ST Employee

Welcome @Anton_Huang, to the community!

I haven't checked the other requirements yet, but you have at least one problem. You have set HSE to 25MHz - but on your photo there is still an 8MHz crystal soldered in at X2. How is that supposed to work?

Regards
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

3 REPLIES 3
Peter BENSCH
ST Employee

Welcome @Anton_Huang, to the community!

I haven't checked the other requirements yet, but you have at least one problem. You have set HSE to 25MHz - but on your photo there is still an 8MHz crystal soldered in at X2. How is that supposed to work?

Regards
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Thank you! It started working normally after I set the HSE to 8 MHz.

FBL
ST Employee

Hi @Anton_Huang and welcome to ST community,

This is an old issue recently fixed in CubeMX in latest releases. We recommend you update your software tools to avoid such problems in the future. 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.