Skip to main content
Explorer II
January 17, 2024
Solved

STM32H747IX SystemClock_Config problem

  • January 17, 2024
  • 1 reply
  • 994 views

I have configured the M7 clock to 480 MHz and the M4 clock to 240 MHz using the HSI as input.  In SystemClock_Config routine the statement

__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);

is crashing the STLINK-V3 with the error message

Error in executing 'step' command ...
Target is not responding, retrying...

I had a breakpoint at that line and activated it with the Step Into (F5).

 

    This topic has been closed for replies.
    Best answer by AScha.3

    First set speed lower....and see ds, whats max.:

    AScha3_0-1705531118674.png

    Maybe: set at 200M + 100M , then go on. CubeMX should show you allowed speed vs scale and wait states.

    1 reply

    AScha.3Answer
    Super User
    January 17, 2024

    First set speed lower....and see ds, whats max.:

    AScha3_0-1705531118674.png

    Maybe: set at 200M + 100M , then go on. CubeMX should show you allowed speed vs scale and wait states.

    OliviliAuthor
    Explorer II
    January 17, 2024

    Brilliant.  That solved my problem.  Thanks