yamine
Member level 1
hi,
i have stm32f3 discovery board and i want to set the internal clock as a system clock,
can you explain me pls this:
i have stm32f3 discovery board and i want to set the internal clock as a system clock,
can you explain me pls this:
Code:
/* PLL configuration */
RCC->CFGR &= (uint32_t)((uint32_t)~(RCC_CFGR_PLLSRC | RCC_CFGR_PLLXTPRE | RCC_CFGR_PLLMULL));
RCC->CFGR |= (uint32_t)(RCC_CFGR_PLLSRC_HSI_Div2 | RCC_CFGR_PLLXTPRE_PREDIV1 | RCC_CFGR_PLLMULL16);