cancel
Showing results for 
Search instead for 
Did you mean: 

About STM32F429IGTx clock setting

ZYL
Associate

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:

2FQU4VGI8@O$(%9%XJG{$3I.png

 


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)
{
Error_Handler();
}
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

1 REPLY 1
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
https://www.st.com/en/development-tools/stm32cubeide.html

You can share the project if it does not work.