Skip to main content
Graduate II
May 7, 2025
Question

f_mount() error on STM32H750VBT6

  • May 7, 2025
  • 1 reply
  • 460 views

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);
 }

Prajyot1_0-1746593407031.png

 

    This topic has been closed for replies.

    1 reply

    Super User
    May 7, 2025

    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.

    Prajyot1Author
    Graduate II
    May 7, 2025

    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