yamine
Member level 1
- Joined
- May 4, 2012
- Messages
- 37
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 1,507
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);