This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430F5252: SDSPI works with only a few µSD cards.

Part Number: MSP430F5252


Hello,

I'm currently trying to figure out what the problem is with my SD interface and I can't understand what is wrong :

I use a micro SD slot and the SDSPI driver (with TI RTOS tirtos_msp43x_2_20_00_06).

I managed to read files on a µSD, so this is OK.

The thing is, some SD cards work, and some don't. Even if I take 2 of the same product, one work, the other one doesn't. I tried to reduce bit rate, it didn't work either...

It seems to fail when the driver sends the CMD0 to the SD card (/* Send the CMD0 to put the SD Card in "Idle" state */), on some SD cards, it passes, on others it doesn"t.

What can be the issue here ?

I really need to find a stable way to use the SDSPI because out of 7 cards tested, only 2 worked, here is the list

Kingston 8GB SDHC Class 4 : OK

Integral 4GB SDHC Class 10 : OK

Integral 4GB SDHC Class 10 : NOK

Integral 8GB SDHC Class 10 : NOK x 2

(Unkown brand) 32GB SDHC Class10 : NOK x 2

I'd really appreciate some help here, thank you !

Clement

**Attention** This is a public forum