This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can not configure RCC by using HSE as system clock source

Hello , i have been stuck in this code for 3 days , i am getting nowhere..... The second photo has the configuration of my Clock Tree , i am using stm32f429zi DISCO ....
the first photo shows the code i wrote to configure the RCC corresponding to the clock tree in the second photo .After all the code doesn`t work .. i am working on timer 1 using polling method . the led should be toggled every 10 seconds according to the prescaler . but the led is always on .. i tried to narrow down the problem by trying to decide what is the source of the problem my timer`s configuration or the RCC by running the internal RC Oscillator which is running on 16MHZ , and I did modify the prescaler value to be 15999 , and the led toggeled fine . so the problem comes from the RCC Peripheral any help please?