Question

I want to connect an SD card using the SPI interface of MSP430F5438. The hardware part is correct in my design, however I could not send any data to the SD card. The source code I use is from Secure Digital Card Interface for the MSP430.

For debugging, how could I send data to the SD card? The data should be received from the ADC12MEM registers and just need to be written in the SD card. From this source code above, there is no process, when I debug and I could not send any user input to the SD card.

Was it helpful?

Solution

The code in the linked PDF works only for SD cards <= 2 GB and not for SDHC cards (4 GB and bigger). If you can not find such a small card as full size SD, just use a microSD with an adapter - they are electrically the same.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top