This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem Initializing With Sd Card

Hi,

I am trying to interface with a micro SD card of 1GB, I am using a microSD adapter connected to the board SPI port.
I've read the documents and I am trying with SDCard.c program.
The problem is that I am getting a wrong R1 response to CMD0 command from SD card from SD card.

Can someone tell me what is wrong with the code in the document?

The received byte 0x3F should be 0x01. I don't realize where is the error, any help??!

0