Electronic – How to change the clock frequency of a STM32H753ZI

clockclock-speedstm32

just got a new MCU for testing and having a hard time changing its clock speed to the maximum (480MHz)

Using bare metals or directly manipulating the registers as I never liked the HAL interface.

What is throwing me off is usually STM32 in the Flash section will tell you which Wait State you need to configure the MCU for a Clock speed that you desire, however when it comes to this MCU it doesnt tell which Wait State for a the clock speed you want at all, instead it tells you the AXI peripherals.

Reference Datasheet: STM32H753ZI Table 17 Page 159

Best Answer

Notice that VOS0, which is required for 480MHz is not in the Reference Manual. I do not know why.

It is in the datasheet, however: enter image description here

However, it seems to still lack 480MHz. Logic would dictate (and observing the trend of Table 17) wait states sort of increases linearly with clock speed for a given VOS according to the tables. So I am guessing you need 7 wait states at 480MHz, which I think is the maximum.

Also, I do not think you start up at 480MHz. From my perusal through the manual and datasheet, I am under the impression you have to start up at a slower speed and then switch to it (as well as switching other things as well). I could be wrong though.