2025-02-03 05:14 AM
I tried flashing a project created for the STM32H745I-DISCO board in CubeMx. I configured clock speed for the M7 core to 480MHz and the M4 core speed to 240MHz. After flashing, if i disconnect the board, the deadlock occurs. Then i have to pull up the boot0 pin and erase full memory in-order to get out of deadlock. Even then, if i disconnect again after flashing the problem repeats.
If my clock frequency is less than 400, It is working fine. I guess it is the problem of power supply selection. Anyone has solution?
Thanks.
2025-02-03 06:59 AM - edited 2025-02-03 07:07 AM
Hello,
1- STM32H745I-DISCO board is configured in SMPS by HW. So you need first to check if you set SMPS as power supply in the RCC.
2- In SMPS configuration, you cannot exceed 400MHz at VOS1 as VOS0 is available only with LDO.
From the datasheet:
3- Becarefull, there is an issue with the latest version of CubeMx 6.13.0 with the power config. See these threads:
Hope that helps.