Skip to main content
Associate
January 17, 2024
Solved

STM32H747IX SystemClock_Config problem

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.
AScha.3
AScha.3Best answer
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.

If you feel a post has answered your question, please click on " Best Answer ".

2 replies

AScha.3
AScha.3Best answer
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.

If you feel a post has answered your question, please click on " Best Answer ".
OliviliAuthor
Associate
January 17, 2024

Brilliant.  That solved my problem.  Thanks