Solved
STM32 clock configuration
Posted on July 14, 2015 at 07:15
I am a beginner in STM32. Recently I surf the Internet and find some codes written by others. They all says that the RCC should be configured at first as follow:
1. Reset the RCC register; 2. Open HSE; 3. Wait for HSE start up; 4.RCC_HCLKConfig; 5. RCC_PCLK2Config; 6. RCC_PCLK1Config; 7. RCC_PLLConfig; 8. Rcc_PLLCmd(ENABLE); 9. Wait for PLL to work; 10. RCC_SYSCLKConfig; 11. Determine that whether PLL is the system clock; 12. Open the peripheral's clock. But how can I know these procedures from the reference manual or the datasheet? #stm32 #clock-configuration #reply