[英]STM32 internal clocks
I am confused with the clock system on my STM32F7 device (Cortex-M7 microcontroller from STMicroelectronics). 我对STM32F7器件(STMicroelectronics的Cortex-M7微控制器)上的时钟系统感到困惑。 The reference manual does not clarify the differences between these clocks sufficiently: 参考手册没有充分说明这些时钟之间的差异:
The reference manual reads in chapter << 5.2 Clocks >> "The RCC feeds the external clock of the Cortex System Timer (SysTick) with the AHB clock (HCLK) divided by 8." 参考手册在“5.2时钟>> ”章节中读取。 “RCC通过AHB时钟(HCLK)除以8来提供Cortex系统定时器(SysTick)的外部时钟”。
This statement contradicts the figure from CubeMX. 这个陈述与CubeMX的数字相矛盾。 Notice that in CubeMX I can choose myself the prescaler from HCLK to 'Cortex System Timer'. 请注意,在CubeMX中,我可以选择从HCLK到'Cortex系统定时器'的预分频器。 It is not necessarily a division by 8. 它不一定是8分。
Normally the only difference between HCLK
and FCLK
is that : 通常, HCLK
和FCLK
之间的唯一区别是:
HCLK
is the main CPU clock, also used for AHB interface. HCLK
是主CPU时钟,也用于AHB接口。 It can be gated when the CPU is sleeping (WFI for example) 它可以在CPU休眠时进行门控(例如WFI) FCLK
is synchronous to HCLK
but is not gated when the CPU goes to sleep, so that it can awake in case of interrupt. FCLK
与HCLK
同步,但在CPU进入休眠状态时不进行门控,因此在中断的情况下它可以唤醒。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.