2015-12-08 01:44 AM
Hello,
im using a STM32f103 with a external digital clock of 10MHz. By the PLL it was set up to 30MHz with fit to our application. I used the std. perherals library to configure the clock. I adapted the function:SetSysClockTo36()
I changed the PLL configuration to get a SYSCLK of 30MHz
RCC->CFGR |= (uint32_t)(RCC_CFGR_PLLSRC_HSE | RCC_CFGR_PLLXTPRE_HSE_Div2 | RCC_CFGR_PLLMULL6);
// RCC->CFGR |= (uint32_t)(RCC_CFGR_PLLSRC_HSE | RCC_CFGR_PLLXTPRE_HSE_Div2 | RCC_CFGR_PLLMULL9);
I did
not activate the bypass bit in the RCC_CR register.
Could this cause a problem?
Thanks
Frank
2015-12-09 06:04 AM
Hi schmitt.frank,
This should be a correct configuration.Are you facing any particular issue?-Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.