jnaulet / OpenPicoRTOS

Very small, safe, lightning fast, yet portable preemptive RTOS with SMP support
MIT License
69 stars 8 forks source link

stm32h7xx: system clock stalls above 350Mhz #57

Open jnaulet opened 1 year ago

jnaulet commented 1 year ago

The stm32h743 is rated for 400Mhz but when i try to switch the sys_ck to a 400Mhz pll1_p_ck, the system stalls.

jnaulet commented 1 year ago

By playing with the voltage scaling & overdrive in PWR & SYSCFG_PWRCR, we can achieve 350Mhz, but 400Mhz is still unstable and stalls or resets.

It probably needs fine tuning, the pll computation might be slightly off & create this problem, for example.