2023-11-09 06:11 AM
I am trying to increase FCLK, and I changed the voltage scaling to VOS0, and configured the PLL1 for 240 MHz (src=HSI (HSIDIV=2), M=2, N=30, P=2), but it did not boot (it freezes when a change the system clock mux to PLL1). I realized when I decrease it to 200MHz or so, it works. If I increase it, it does not. It is also same if I change M to 4 and N to 60. The PLL configuration looks valid on the configuration tool. What might I be missing ?
I also tried monitoring PLL1 and SYSCLK on MCO2 and both shows correct 240MHz with the above configuration even if the processor freezes.
(Note: I am not using HAL and the device is STM32H563ZI)
Solved! Go to Solution.
2023-11-09 07:39 AM
Hi @mete ,
Check also the flash memory wait states number (from RM0481 rev 1 / Table 37):
In your case it should be 5WS.
2023-11-09 06:20 AM
Double-check the power supply and stability of your voltage levels. Sometimes, pushing the clock too high can cause instability if the power supply isn't robust enough.
2023-11-09 06:51 AM
I am using the NUCLEO H563ZI board and powering from USB. Not sure if it has a limit but you are probably right, I cant think of any other reason yet.
2023-11-09 07:39 AM
Hi @mete ,
Check also the flash memory wait states number (from RM0481 rev 1 / Table 37):
In your case it should be 5WS.
2023-11-09 07:52 AM - edited 2023-11-09 08:43 AM
Totally forgot about the wait states. Thanks for reminding. I changed it and it works fine.