Skip to main content
Visitor II
July 19, 2023
Question

About STM32F429IGTx clock setting

  • July 19, 2023
  • 1 reply
  • 1078 views

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

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    July 24, 2023

    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.

    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.