Skip to main content
Explorer
May 12, 2025
Solved

System Clock stimluation error

  • May 12, 2025
  • 1 reply
  • 375 views

I am using the startup file in Keil. However, when I run the simulation in the debugger, my system clock (SYSCLK) is not 72 MHz, even though I have confirmed that HSE_VALUE is set to 8 MHz.
Can someone help me figure out why the SYSCLK is incorrect during simulation? I am using stm32f103c8t6 bluepill

sys clk.png

    This topic has been closed for replies.
    Best answer by STTwo-32

    Hello @thequyen831 

    For issues related to Keil simulation, I suggest you to ask this question on the Keil Community (I can see that you already did). For the blue pill board that you are using, ST resources are only dedicated to supporting genuine ST products. We are not committed to ensuring that clones/fakes products work properly with the firmware we provide.

    This thread will now be locked. However, if you face difficulties while using genuine ST products, we’re here to assist you. Please feel free to start a new thread, and our team, along with community members, will be ready to help you with any issues/questions you encounter.

    Best Regards.

    STTwo-32

    1 reply

    STTwo-32Answer
    Technical Moderator
    May 12, 2025

    Hello @thequyen831 

    For issues related to Keil simulation, I suggest you to ask this question on the Keil Community (I can see that you already did). For the blue pill board that you are using, ST resources are only dedicated to supporting genuine ST products. We are not committed to ensuring that clones/fakes products work properly with the firmware we provide.

    This thread will now be locked. However, if you face difficulties while using genuine ST products, we’re here to assist you. Please feel free to start a new thread, and our team, along with community members, will be ready to help you with any issues/questions you encounter.

    Best Regards.

    STTwo-32