2024-12-03 01:11 AM
2024-12-03 01:30 AM
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
2024-12-03 01:30 AM
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
2024-12-03 02:54 AM
Thank you! It started working normally after I set the HSE to 8 MHz.
2024-12-03 07:55 AM
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.