STM32H7A3 - problems with SDcard
I'm trying to use a SDcard on a STM32H7A3ZI and hitting a roadblock. Everything in the initialisation wotks until the SD_SendSDStatus function in stm32h7xx_hal_sd.c. This fails as it never sees __HAL_SD_GET_FLAG(hsd, SDMMC_FLAG_RXFIFOHF) and always times out with SDMMC_FLAG_DTIMEOUT.
I've tried this using the code generated by STM32CubeIDE and also the example program for the STM32H7B23-discovery board and the result is exactly the same in both cases. This happens before the driver switches to 4bit parallel mode and while it is running with the slow clock.
Many SDMMC commands have suceeded correctly by this point and the card details have been read apparently successfully. The card and socket have been tested using an F4
All ideas appreciated.
