金牌会员
 
- 积分
- 1280
- 金钱
- 1280
- 注册时间
- 2013-12-14
- 在线时间
- 567 小时
|
发表于 2016-6-22 16:38:50
|
显示全部楼层
本帖最后由 东北小辉辉 于 2016-6-22 16:40 编辑
楼主 我刚才浏览了一下参考手册,发现系统时钟选择里是这样说的,我这里没法截图。
After a system reset, the HSI oscillator is selected as system clock. When a clock source is used directly or through the PLL as system clock, it is not possible
to stop it.
然后我又在库函数中对HSI控制的函数找到了这句话。
@note HSI can not be stopped if it is used directly or through the PLL as system clock.
我的理解是如果关掉HSE的情况下,系统切换到HSI,然后HSI是不能被关掉的。
其实我上面也已经说了,楼主可以通过Peripherals中的Power,Reset,and Clock Control,下面有Core & Memory and Peripherals Clocks就可以查看了,看那个SYSCLK是不是0MHz,就知道系统时钟有没有在工作了。
很好奇楼主要做什么应用,为什么要关掉系统时钟?如果想低功耗的话,stm32提供好几种低功耗模式,选择一款就可以了。
|
|