2019-01-15 11:33 PM
How to interface SD card with STM32h743z1 nucleo borad ? Is there any working example? I generated code with cubeMx 5 and failed at the very first step.. I tried various threads regarding SD card and nothing helped me.
card initialization itself giving an error. While digging i noticed the program is looping arround a Delay(2);
Also when i measured the CLK at the SD card pin, it shows only 20Khz..
MY application is to store 12 Channel adc values in every sec (1sample per second).
2019-12-11 11:48 PM
clk rising edge- toshiba not working
All cards interfaced
hsd1.Instance = SDMMC1;
hsd1.Init.ClockEdge = SDMMC_CLOCK_EDGE_FALLING;
hsd1.Init.ClockPowerSave = SDMMC_CLOCK_POWER_SAVE_DISABLE;
hsd1.Init.BusWide = SDMMC_BUS_WIDE_1B;
hsd1.Init.HardwareFlowControl = SDMMC_HARDWARE_FLOW_CONTROL_DISABLE;
hsd1.Init.ClockDiv = 2;
sdmmc Clk 24Mhz
2023-01-31 04:30 AM
Hi Tesla,
Actually,Issue are coming same at the point of,when i runing the code for STM32H723VGT6 Controller...
errorstate are coming 4(0x04),which not defined by CubeMx Lib. !
"STM32H743XI SDMMC1 SD Card - HAL_SD_ERROR_UNSUPPORTED_FEATURE"
/* SEND CMD55 APP_CMD with RCA as 0 */
errorstate = SDMMC_CmdAppCommand(hsd->Instance, 0);
if (errorstate != HAL_SD_ERROR_NONE)
{
return HAL_SD_ERROR_UNSUPPORTED_FEATURE;
}
}