Skip to main content
Visitor II
October 31, 2025
Question

FAT32 on SD (SPI) card Not ready or no filesystem STM32F411

  • October 31, 2025
  • 1 reply
  • 196 views

I am using STM32F411CEU6 on a blackpill. I have the Adafruit microsd card SPI module and a 4gb clouddisk sd card. I have tested the connectivity, reading and writing of the module and SD card on a Arduino UNO so I know it is compatible and the module isn't broken.
Following this tutorial: https://01001000.xyz/2020-08-09-Tutorial-STM32CubeIDE-SD-card/ and other video tutorials online about the same topic, the farthest I've gotten is getting it to say FR_NO_FILESYSTEM when trying to mount the SD card. I have triple and quadruple checked the SPI connections and even switched from SPI2 to SPI1 and still nothing. I have formatted the SD card to FAT32 more times than I can count (even tried plain FAT still didn't work).

My code is practically identical to the one in the tutorial I linked except I don't have a serial debugger and have just been looking through the debugger so I removed the printfs.

I originally have my project with the VSCode extension with CMake but now I am even trying it though STM32CubeIDE and still the same output.

Are there any other tips for debugging this or has anyone experienced something similar? Thank you.

1 reply

AScha.3
Super User
November 1, 2025

On F411 and sd-card : why not use the sdio , dedicated connection to sd-card ?

"If you feel a post has answered your question, please click ""Accept as Solution""."