Bug report. STM32U5 enabling SDMMC2 turns on the clock for SDMMC1
MacOS 15.3.1. CubeIDE 1.18.0. Firmware STM32Cube FW_U5 V1.7.0.
I was tracking down an issue with SD cards on SDMMC2 on an STM32U5G9N not wanting to start.
I found that HAL_SD_MspInit calls:
__HAL_RCC_SDMMC1_CLK_ENABLE();
instead of:
__HAL_RCC_SDMMC2_CLK_ENABLE();
