Missing USE_SD_TRANSCEIVER define in CubeMX with STM32H743i_EVAL
I have tracked down another oversight using CubeMX to generate FatFs code for STM32H743i_Eval.
In the STM32Cube\Repository\STM32Cube_FW_H7_V1.2.0\Projects\STM32H743I_EVAL\Applications\FatFs\FatFs_uSD_DMA_RTOS I found in stm32h7xx_hal_conf.h at line 172:
#define USE_SD_TRANSCEIVER 1U /*!< use uSD Transceiver */
This is missing from the CubeMX generated version of stm32h7xx_hal_conf.h for the STM32H743i_Eval board.
After inserting the missing define in the hal config file, the SD card still is not responding but at least the direction bit in SDMMCx->CLKCR is being set correctly in the SDMMC_Init function in the low level driver code.
If there is a switch for this in the CubeMX program, please do let me know where to find it, but it seems to me this should have been selected automatically when the _Eval board was selected since the transceiver is part of the hardware.
