Skip to main content
IGeor
Associate II
Oct 21, 2019 1:35 PM UTC
Question

PLL Clock configuration for STM32H750 in STM32CubeMx V5.40

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?

This topic has been closed for replies.

4 replies

TDK
Oct 21, 2019 1:41 PM UTC

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
IGeorAuthor
Associate II
Oct 21, 2019 2:32 PM UTC

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.

TDK
Oct 21, 2019 2:38 PM UTC
Sounds like you have automatic clock solving switched on.
"If you feel a post has answered your question, please click ""Accept as Solution""."
IGeor
IGeorAuthor
Associate II
Nov 1, 2019 2:03 PM UTC

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.