HSI为24M,用HSI配置PLL 48M时钟作为HCLK时,无法用SW口进行仿真,只要HCLK不使用PLL,就可以正常进行仿真,请教一下PLL的参数该如何配置啊?多谢!!!!!!
现PLL配置参数如下:
/* Config PLL 48M */
config.PLL_SRC= RCC_PLL_SRC_HSI;
config.PLL_OE= RCC_PLL_OE_ENABLE;
config.PLL_BP= RCC_PLL_BP_NORMAL;
config.PLL_OUTDV = RCC_PLL_OUTDIV_8;
config.PLL_INDV = RCC_PLL_INDIV_2;
config.PLL_FBDV= RCC_PLL_FBDIV_32; //24M/2 * 32/8 = 48M
RCC_FlashLatency(ENABLE);
RCC_PLLConfig(&config);
更多回帖