cancel
Showing results for 
Search instead for 
Did you mean: 

PLL Clock configuration for STM32H750 in STM32CubeMx V5.40

IGeor
Associate II

I want to configure the maximum clock rate for the timers of 240MHz so I need to use the PLL block. However the CubeMx clock configuration tool doesn't seem to work. It keeps resetting my PLL settings to /32, x129, /2. When I change these settings it doesn't seem to have any effect.

What am I doing wrong?

4 REPLIES 4
TDK
Guru

Select PLLCLK as your clock source? Hard to know, works for me.

If you feel a post has answered your question, please click "Accept as Solution".
IGeor
Associate II

I already had PLLCLK source set.

I tried entering the target CPU clock and it set the PLL accordingly. I was trying to set the PLL myself. Perhaps that was the problem.

Anyway, solution found.

Sounds like you have automatic clock solving switched on.
If you feel a post has answered your question, please click "Accept as Solution".
IGeor
Associate II

Is there a switch for that? I've since had the situation where the solver can't set the PLL successfully but after closing and reopening the MX tool it works again (mostly). Seems a bit flaky. Now it is working again I don't dare touch the clock config page for fear it will break again.