cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX + CubeMX Clock Conflict When Enabling SDMMC on STM32F746G-DISCO

Aliflori
Associate

Dear STMicroelectronics Support Team,

 

I hope this message finds you well.

 

I would like to report a clock configuration issue encountered when working with TouchGFX and STM32CubeMX for the STM32F746G-DISCO board.

 

When creating a project using TouchGFX and selecting the STM32F746G-DISCO board, everything works as expected initially. However, after opening the project in STM32CubeMX and enabling the SDMMC interface, the tool prompts to "Resolve clock issues." Upon accepting the proposed solution, CubeMX automatically modifies the clock configuration in a way that alters the LTDC (TFT LCD) pixel clock from its original value of 9.6 MHz to a different value.

 

As a result, the display no longer renders correctly.

 

After investigation, I realized that the auto-resolve feature in CubeMX does not preserve the required clock settings for the display, and instead prioritizes SDMMC configuration. To fix this, manual fine-tuning of the clock tree is required to ensure the LTDC clock remains at 9.6 MHz while still enabling SDMMC.

 

I believe this behavior may mislead developers relying on automatic configuration, especially those new to the STM32 ecosystem. It would be greatly appreciated if this could be reviewed in future updates, perhaps with a warning or a more balanced clock adjustment proposal.

 

Please let me know if you need any further details or the project file to reproduce the issue.

 

Best regards,

Ali

Electrical Engineering Student

 

0 REPLIES 0