Skip to main content
Graduate
June 11, 2024
Solved

stm32h503cbt isn't working with high frequency

  • June 11, 2024
  • 3 replies
  • 1622 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!

    This topic has been closed for replies.
    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

    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?

    giangpaAuthor
    Graduate
    June 11, 2024

    giangpa_0-1718112144133.png

     

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

     

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

    Graduate II
    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?

    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?

    giangpaAuthor
    Graduate
    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