2024-06-11 03:46 AM
I am using STM32H503CBT6 with a frequency of 250MHz, but my program is not running. I have a counter variable in a while loop, but it is not incrementing. When I lower the frequency to 100MHz, the program works. Please help me!
Solved! Go to Solution.
2024-06-11 06:23 AM
Enough capacitance on VCAP pin(s), 2u2F on each or 4u7F total. Check placed capacitance, check voltage
Correct PLL settings, not excessive VCO frequency
Flash wait states?
2024-06-11 03:52 AM - edited 2024-06-11 03:53 AM
Hello and welcome to ST community,
Are you sure about your clock config? what about the Flash wait states value?
Could you please share your project? What board are you using?
2024-06-11 06:23 AM
Enough capacitance on VCAP pin(s), 2u2F on each or 4u7F total. Check placed capacitance, check voltage
Correct PLL settings, not excessive VCO frequency
Flash wait states?
2024-06-11 06:29 AM
I only changed my clock config and the counter variable does not increment. Help me!
2024-06-11 06:38 AM
>> Help me!
Present better!
Show the specific code, show what's not incrementing.
Show board schematic if custom, name/link to board of commercially available.
2024-06-11 06:38 AM - edited 2024-06-11 06:39 AM
You didn't answer my two questions:
1- What board are you using? if not ST board please share the schematics.
2- What Flash wait states you set?
Please attach your ioc file.
2024-06-11 06:43 AM - edited 2024-06-11 07:00 AM
@giangpa did you accept as solution by mistake the answer from @Tesla DeLorean or it does really answered your question?
2024-06-11 07:00 AM - edited 2024-06-11 07:01 AM
I think I have found my mistake. I designed the schematic myself, and as @Tesla DeLorean said, it seems I chose the wrong capacitor. I should fix it right now. Thanks for help me, @SofLit @Tesla DeLorean