cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX 4.15.0 - SDMMC clock - bug report

petr239955
Associate III
Posted on May 30, 2016 at 20:10

I tried to migrate from STM32CubeMX 4.14.0 to 4.15.0 and from STM32CubeF7 1.3.1 to 1.4.0. I found some bug in CubeMX 4.15.0.

It is not possible to set the clock for SDMMC using CubeMX. My controller is STM32F746ZGT6, see ioc file.

#clock #sdmmc
2 REPLIES 2
Walid FTITI_O
Senior II
Posted on May 31, 2016 at 11:23

Hi petr.k,

I report  your feedback internally to our CubeMx team. Thanks.

-Hannibal-

stm32cube-t
Senior III
Posted on June 10, 2016 at 17:43

Dear user,

Dear user,

Thank you for reporting this issue. It shall be fixed within STM32CubeMX 4.16 release.

Please try to add the following code:

RCC_PeriphCLKInitTypeDef   PeriphClkInitStruct;

 

PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_SDMMC1;

PeriphClkInitStruct.Sdmmc1ClockSelection = RCC_SDMMC1CLKSOURCE_SYSCLK;

HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct);