问答

汇集网友智慧,解决技术难题

21ic问答首页 - TAG - 倍频
  • GD32外接16Mhz晶振,计算后倍频是小数,如何解决?

    #if (defined(GD32F10X_MD) || defined(GD32F10X_HD) || defined(GD32F10X_XD)) /* select HXTAL/2 as clock source */ RCU_CFG0 &= ~(RCU_CFG0_PLLSEL | RCU_CFG0_PREDV0); RCU_CFG0 |= (RCU_PLLSRC_HXTAL | RCU_CFG0_PREDV0); /* CK_PLL = (CK_HXTAL/2) * 27 = 108 MHz */ RCU_CFG0 &= ~(RCU_CFG0_PLLMF | RCU_CFG0_PLLMF_4); //RCU_CFG0 |= RCU_PLL_MUL27; //这里CK_HXTAL为16MHz,所以计算倍频得13.5,那么应该选RCU_PLL_MUL13还是RCU_PLL_MUL14呢? RCU_CFG0 |= RCU_PLL_MUL13;//??RCU_PLL_MUL14??

    hz 倍频 晶振 rc PLL ck

    4378浏览量 1回复量 关注量
  • 问GD32F305设置主频

    设置主频为60M怎么设置,用内部8M倍频,但PLL中没有15倍频,选择PLL1或PLL2,然后配置好像有问题,仿真卡在了时钟初始化,求该如何配置?

    GD32F305 PLL 倍频 仿真 时钟

    7503浏览量 2回复量 关注量