Showing results for 
Search instead for 
Did you mean: 

About STM32F429IGTx clock setting


Hello, I would like to ask about the clock configuration of STM32F429.
I use STMcubeIDE for project configuration and my clock configuration is as follows:

屏幕截图 2023-07-20 001432.png


The GPIO port is configured as follows:



I tried to turn on an LED light, but the program froze.
When using STMcubeIDE1.11.0, the program is in SystemClock_Config()
if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_2) ! = HAL_OK)
An error occurs, and it is stuck
When using STMcubeIDE1.7.0, the LED light flashed quickly with the naked eye, and the simulation found that after running for a period of time, it ran out, about 1ms, and the suspect was still the reason for the clock configuration. Can you answer the question for me

Mahmoud Ben Romdhane
ST Employee

First of all, I want to thank you for reporting.

I advise you to try this project with the same configuration using STM32CubeMx 6.9.0 and then generate the code on STM32CubeIDE 1.13.0.

By using the tools that I mentioned the project was running successfully and the LED is ON.

You can download STM32CubeMx 6.9.0 and STM32CubeIDE 1.13.0 from these two links:

STM32CubeMX - STM32Cube initialization code generator - STMicroelectronics

You can share the project if it does not work.