2025-04-25 6:38 AM
Hello,
I have a NUCLEO-F767ZI I am trying to integrate an SD card with for data storage. The SD card is a Kingston CANVAS Select Plus 64GB in ExFAT format.
I am connecting it to the NUCLEO board through an Adafruit SD card module which has pullup resistors on all lines, including the detect pin, and I am using the internal GPIO pullup resistors too for D0, CMD and SD_DET to make sure the communication is uninterrupted. Below you can see the FATFS configuration
printf("Mounting filesystem...\r\n\n");
FR_Status = f_mount(&FatFs, "", 1);
if (FR_Status != FR_OK)
{
printf("Error mounting SD card! Code: %d\r\n\n", FR_Status);
break;
}
printf("SD card mounted successfully\r\n\n");
FR_Status returns FR_NOT_READY (3 in console).
The hardware configuration is correct as I can read the capacity and some other data from the SD card, but I cannot access the card itself.
Does anyone have any suggestions?
2025-04-29 6:21 AM
I checked the SD cards in File Explorer on Windows and they are formatted in ExFAT.
2025-05-08 4:00 AM
Hello @bog201
Did you attempt to follow the example below and find inspiration from it?