f_mount() error on STM32H750VBT6
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);
}
