2021-12-25 11:14 AM
Hello,
iam trying to connect an SD Card to the SDMMC Port via SD 4 bit Mode. On FatFs iam always getting FR_NOT_READY. So there must be a Problem with the SDMMC.
Ive google every Thread i could find, but I dindt found a Solution. I use CubeIDE 1.5.0 for Code gernation. Ive tried everything no DMA with DMA, 1 bit mode, 4 bit mode withinternal Pull Ups and without. With very slow SD Clock etc. Still no Luck. Iam running out of Ideas.
I also looked to this Example for another ST Board and iam think i made everything correct https://www.youtube.com/watch?v=I9KDN1o6924
Is there an Error in Code generation or what iam doing wrong?
2021-12-25 01:03 PM
Watch if it is trying to use a GPIO for a card detect signal.
2022-01-01 09:38 AM
Yes and the signal is low and correct. I looked into the source Code and disabled the detect Signal. Now iam getting always FR_DISK_ERR after 30 Seconds, if I try to f_mkfs, f_mount seems to be working.