cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H747IX SystemClock_Config problem

Olivili
Associate II

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).

 

1 ACCEPTED SOLUTION

Accepted Solutions
AScha.3
Chief II

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 "Accept as Solution".

View solution in original post

2 REPLIES 2
AScha.3
Chief II

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 "Accept as Solution".

Brilliant.  That solved my problem.  Thanks