Skip to main content
YSN
Associate III
August 17, 2021
Question

STM32H7, Clock MX Functions to Cube(.ioc project creation)

  • August 17, 2021
  • 1 reply
  • 634 views

I have working external clock source HSE system clock configuration, now wanted to change to HSI (internal clock).

But simply changing to HSI will not fix all the Multipliers and dividers to get same frequency output. Is there way to import the SystemClock_Config() function to bring the .IOC clock configuration diagram automatically.

    This topic has been closed for replies.

    1 reply

    TDK
    Super User
    August 17, 2021

    You cannot convert code to IOC. However, it should take about a minute to select a clock configuration to match what is in the code.

    "If you feel a post has answered your question, please click ""Accept as Solution""."
    YSN
    YSNAuthor
    Associate III
    August 18, 2021

    Okay, I thought it would be nice to have that feature to import code to form block diagram at least for

    clock configuration, as it is anyway single seperate module.

    Anyway thanks for the update.