Hello,
I am working my way through the code in SLAA281B "Interfacing the MSP430 with MMC/SD Flash Memory Cards". In the documentation there is the function mmcSendCmd which sends SD/MMC card commands to the card. After every command is sent there is a follow up of mmcGetResponse(). In this method there is a note that says
"Response comes 1-8 bytes after command. The first bit will be a 0 followed by an error code. Data will be 0xFF until response."
What I am trying to understand is what the note means.
1. Why must there be an error? If there is an error why are there only two options (0x00 and 0x01) and no the list of responses for R1-R3? The SD documentation hasn't helped me much. Maybe I am looking at the term "error" incorrectly.
2. What is meant by data will be 0xFF until response? Is there a continual response?
3. It looks like you must write a "Dummy Byte" following every command. Why is this?
I know this is specific and clearly I am lost. I apologize for confusing the issue any more then it needs to be.
Take care,
Jon