cancel
Showing results for 
Search instead for 
Did you mean: 

Nucleo 496ZG and SDMMC

Mueller-2022
Associate

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?

2 REPLIES 2

Watch if it is trying to use a GPIO for a card detect signal.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Mueller-2022
Associate

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.