2024-04-30 12:33 AM - last edited on 2024-04-30 12:37 AM by SofLit
I have build a code of Mcu driver for STM32F407 DISCOVERY board. During Flashing my HSE or HSI works fine but PLL doesn't works on. I will attach the the mcu.c and mai.c file for your reference.
Kindly have a look into this help me out.
2024-04-30 02:03 AM
Your coding style is quite hard to penetrate.
You may want to try setting up PLL using straightforward writes to RCC registers, first.
Do you set FLASH waitstates?
JW
2024-04-30 02:25 AM
This is just a duplicate of your existing posts:
https://community.st.com/t5/stm32-mcus-products/stm32f407-mcu-clock-setup/td-p/664127
Like @waclawek.jan, I find the coding style impenetrable.
2024-04-30 04:08 AM
To ensure that your clock configuration is correct and to isolate the issue with your controller,
Create a new project with CubeMX then enable your oscillator and configure your clock tree.
After that enable an MCO pin to visualize your clock with analyzer/scope.
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.
2024-05-02 10:01 PM
Yes, I have set the Flash