在线时间4 小时
UID339274
ST金币0
蝴蝶豆0
注册时间2008-6-8
新手上路
- 最后登录
- 2018-1-4
|
楼主 |
发表于 2018-1-3 09:14:12
|
显示全部楼层
a0a.1 32b0c
主频我觉得应该是对的啊。使用8M MCO作为时钟源,主频设置为400M,AHB总线为200M呢。波形图及源文件在附件。麻烦大神帮看下。//Fvco=Fs*(plln/pllm); =8*400/4=800MHz//Fsys=Fvco/pllp=Fs*(plln/(pllm*pllp)); =800MHz/2 =400MHz
//Fvco:VCO频率
//Fsys:系统时钟频率
* @brief System Clock Configuration
* The system Clock is configured as follow :
* System Clock source = PLL (HSE BYPASS)
* SYSCLK(Hz) = 400000000 (CPU Clock)
* HCLK(Hz) = 200000000 (AXI and AHBs Clock)
* AHB Prescaler = 2
* D1 APB3 Prescaler = 2 (APB3 Clock 100MHz)
* D2 APB1 Prescaler = 2 (APB1 Clock 100MHz)
* D2 APB2 Prescaler = 2 (APB2 Clock 100MHz)
* D3 APB4 Prescaler = 2 (APB4 Clock 100MHz)
* HSE Frequency(Hz) = 8000000
* PLL_M = 4
* PLL_N = 400
* PLL_P = 2
* PLL_Q = 4
* PLL_R = 2
* VDD(V) = 3.3
* Flash Latency(WS) = 4
|
-
波形图
-
-
3.76 KB, 下载次数: 16, 下载积分: ST金币 -1
main函数
|