I have Stm32f407VET6 Black Board, cant connect the MicroSD card. im using onboard SD slot and a 32GB micro SD card by PNY. The card is okay and its already in FAT32 formatted. f_mount() function returns only FR_NOT_READY. Mounting Formatting wont work.
I have been following tuts from controller tech and on SDIO it seems not work for me.
IDE: Cube IDE 1.12.1 Board: Stm32f407VET6 Black Board Driver Version: 1.27.1 for f4 SDIO Mode: SD 4bit wide bus
Clock Setup
SDIO setup ,
FATFS setup,
main.c file
I also have extended the heap and stack size for the application to 2048. The response i found from f_mount() in ff.c used in a custom file_handling.c file used by controller tech, it only returns FR_NOT_READY
I also noticed that the MX_SDIO_SD_Init() used in main.c don't have any HAL_SD_Init() function call like other peripheral MX_init function.
If anyone successfully did mount a card please share ur code and if possible help me out finding the mistake