Clocks configuration - STM32F429
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-15 9:56 AM
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).
- This is the best configuration for fast running time? (I don't need to reduce consumption).
- If I'll disable some peripheral's clocks which not in use, Will it affect the other peripherals and the running time?
- 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
Solved! Go to Solution.
- Labels:
-
RCC
-
STM32F4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-16 1:56 PM
> 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-15 10:56 AM
- yes
- no
- no
For the details, read the RCC chapter in RM0090.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-16 12:21 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-16 1:56 PM
> 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
