2025-05-06 9:59 PM - edited 2025-05-06 11:24 PM
I have WeAct studio's STM32h750VBT6 board. i am trying to access Sandisk's 64 GB MicroSD card (formatted as FAT32) through MicroSD card Adapter using SPI1. I am not able to access memory card. i have enable SPI1 and made enable PB1 (SD_CS) as gpio_output and made it high. Also cross checked the hardware connection too, they are properly connected. i have provided 5v to Micro SD card adapter. still it issue persist. while debugging, i observerd fres is showing FR_NOT_READY. i am not able to figure out what's the issue. i have tried pull up on all pins as well as pulldown but still the same. tried different prescaler too but same. i have use Tutorial-STM32CubeIDE-SD-card for reference.
fres = f_mount(&FatFs, "", 1);
if (fres != FR_OK) {
printf("f_mount error ");
while(1);
}
2025-05-07 12:19 AM
1. H7 have SMMMC interface for sd-cards , you should use it - or.: why not ?
2. 5V to MicroSD card Adapter ...sd-card works with 3v3 . So show circuit, if the help is to have a meaning.
2025-05-07 12:33 AM
1) i have use SDMMC , that works fine. but i have to access SD card through that adapter using SPI .
2) i have tried with 3.3v also but same issue persist