STM32的系统默认时钟是多少

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了STM32的系统默认时钟是多少相关的知识,希望对你有一定的参考价值。

就是芯片最大时钟,看datasheet,APB1和APB2不一样,一般就是72MHz或36MHz。望采纳!!! 参考技术A 如果你没有做配置,系统默认时钟频率是72MHz的。
system_stm32f10x.c文件中有定义。
#define SYSCLK_FREQ_72MHz 72000000
参考技术B AHB (HCLK) 时钟 =SYSCLK=72MHz
APB2(PCLK2)时钟=AHB 1/2时钟=36MHz
APB1(PCLK1)时钟=AHB时钟=72MHz
ADC时钟 =PCLK2 1/4= 9MHz
PLL时钟 = HSE*9=72MHz
参考技术C /*!< At this stage the microcontroller clock setting is already configured,
this is done through SystemInit() function which is called from startup
file (startup_stm32f10x_xx.s) before to branch to application main.
To reconfigure the default setting of SystemInit() function, refer to
system_stm32f10x.c file
*/
然后你再去看看 SystemInit()这个函数是怎么配置的吧。看完再说。这个是标准库里面的例程主函数里的第一句话。

STM32 3.5的库函数 默认的系统时钟是多少,APB2和APB1的时钟是多少?

参考技术A 系统和APB2都是72MHz,APB1是36MHz本回答被提问者采纳

以上是关于STM32的系统默认时钟是多少的主要内容,如果未能解决你的问题,请参考以下文章

stm32 systick的默认时钟是多少

STM32的MIPS有多少呢?时钟为72MHz时为72MIPS

stm32为啥要配置系统时钟

STM32的运行速度到底是多少

stm32默认时钟是多少

STM32F4_RCC系统时钟配置及描述