Skip to main content
IGeor
Associate II
October 21, 2019
Question

PLL Clock configuration for STM32H750 in STM32CubeMx V5.40

  • October 21, 2019
  • 4 replies
  • 1732 views

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
October 21, 2019

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
October 21, 2019

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
October 21, 2019
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
November 1, 2019

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.