Skip to main content
Associate II
June 11, 2024
Solved

stm32h503cbt isn't working with high frequency

  • June 11, 2024
  • 3 replies
  • 1623 views

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!

Best answer by Tesla DeLorean

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?

3 replies

mƎALLEm
Technical Moderator
June 11, 2024

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?

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
giangpaAuthor
Associate II
June 11, 2024

giangpa_0-1718112144133.png

 

I only changed my clock config and the counter variable does not increment. Help me!

 

Tesla DeLorean
Guru
June 11, 2024

>> 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.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
June 11, 2024

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?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
mƎALLEm
Technical Moderator
June 11, 2024

@giangpa did you accept as solution by mistake the answer from @Tesla DeLorean or it does really answered your question?

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
giangpaAuthor
Associate II
June 11, 2024

 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, @mƎALLEm  @Tesla DeLorean