Hello everyone, I'm having a problem with my 2 of STM32H745I-DISCO boards. Code could not come to main while(1).
I saw the problem when I use them for a basic LED Blink code. The Code got stuck in a while loop in SystemClock_Config() function. I tried lots of things.
My __HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1) will not return to SystemClock_Config(). I found that PWR->CSR1:ACTVOSRDY bit is staying at 0. I could not find any solution.
In my hardware the power supply was SMPS supply as its default. I did not change anything on hardware.
The same error occurred even if I use the example codes from CubeIDE. This time, the code got stuck in a similar structure but in SystemClock_Config() also here.
More interestingly, both my 2 of the STM32H745I-DISCO boards have the same problem.
How can I fix the problem, I am open to any suggestions.
