Skip to main content
Graduate
December 3, 2024
Solved

STM32F407G-DISC1 board USB CDC communication failed

  • December 3, 2024
  • 2 replies
  • 1163 views

1.png

2.png

3.png

4.png

5.png

    This topic has been closed for replies.
    Best answer by Peter BENSCH

    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

    2 replies

    Technical Moderator
    December 3, 2024

    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

    Graduate
    December 3, 2024

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

    Technical Moderator
    December 3, 2024

    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.