Skip to main content
AS.5
Associate II
February 15, 2021
Solved

Clocks configuration - STM32F429

  • February 15, 2021
  • 2 replies
  • 2031 views

Hi everyone, I try to understand more deeply the the whole clocks issue and how each frequency affects the running time.

My board is STM32F429, and the clock configuration set by default (maximum values).

  1. This is the best configuration for fast running time? (I don't need to reduce consumption).
  2. If I'll disable some peripheral's clocks which not in use, Will it affect the other peripherals and the running time?
  3. If I'll will reduce the APB2 clock, Will it affect APB1?

I'm a little confused with this issue. I will appreciate if someone could clarify this topic and the meaning of changing clock's value.

thank you

This topic has been closed for replies.
Best answer by waclawek.jan

> So the RCC mange the whole clocks for best result?

No, it's you who manage it, by filling in the RCC registers.

Alternatively, you can click. You've presented some picture from CubeMX; you've arrived somehow to that picture, CubeMX is supposed then to generate code related to that picture, which is supposed to fill in RCC registers according to the displayed values. I don't use CubeMX, I don't know how did you arrive to those settings; but those settings represent the maximum clock frequencies in 'F429.

Read the RCC chapter in RM0090.

JW

2 replies

waclawek.jan
Super User
February 15, 2021
  1. yes
  2. no
  3. no

For the details, read the RCC chapter in RM0090.

JW

AS.5
AS.5Author
Associate II
February 16, 2021

Hi, thanks for your answer.

So the RCC mange the whole clocks for best result? Does it automatically choose the system clock on-the-fly for best result?

waclawek.jan
waclawek.janBest answer
Super User
February 16, 2021

> So the RCC mange the whole clocks for best result?

No, it's you who manage it, by filling in the RCC registers.

Alternatively, you can click. You've presented some picture from CubeMX; you've arrived somehow to that picture, CubeMX is supposed then to generate code related to that picture, which is supposed to fill in RCC registers according to the displayed values. I don't use CubeMX, I don't know how did you arrive to those settings; but those settings represent the maximum clock frequencies in 'F429.

Read the RCC chapter in RM0090.

JW