Product manual

Secure Digital (SD) Card Protocol Description
4-26 SanDisk Industrial Grade SD Product Manual, Rev. 1.0 © 2003 SANDISK CORPORATION
R1 (standard response): response length 48 bit.
Bits 45:40 indicate the index of the command to which it is responding. The status of the card is coded in 32 bits.
Note that when a data transfer to the card is involved, a busy signal may appear on the data line after the
transmission of each block of data. The host will check for busy after the data block transmission.
Table 4-12. Response R1
Bit Position 47 46 [45:40] [39:8] [7:1] 0
Width (bits) 1 1 6 32 7 1
Value ‘0’ ‘0’ x x x ‘1’
Description start bit transmission bit command index card status CRC7 end bit
R1b is identical to R1 with an optional busy signal transmitted on the data line. The card may become busy after
receiving these commands based on its state prior to the command reception. The host will check for busy at the
response.
R2 (CID, CSD register): response length 136 bits.
The content of the CID register is sent as a response to CMD2 and CMD10. The content of the CSD register is sent
as a response to CMD9. Only bits [127...1] of the CID and CSD are transferred, bit [0] of these registers is replaced
by the end bit of the response.
Table 4-13. Response R2
Bit Position 135 134 [133:128] [127:1] 0
Width (bits) 1 1 6 127 1
Value ‘0’ ‘0’ ‘111111’ x ‘1’
Description start bit transmission bit reserved CID or CSD register incl.
internal CRC7
end bit
R3 (OCR register): response length 48 bits.
The contents of the OCR register are sent as a response to ACMD41.
Table 4-14. Response R3
Bit Position 47 46 [45:40] [39:8] [7:1] 0
Width (bits) 1 1 6 32 7 1
Value ‘0’ ‘0’ ‘111111’ x ‘1111111’ ‘1’
Description start bit transmission bit reserved OCR register reserved end bit
R4 and R5: responses are not supported.
R6 (Published RCA response): code length 48-bit. The bits 45:40 indicate the index of the command to be
responded to—in that case it will be ‘000011’ (together with bit 5 in the status bits it means = CMD3). The 16 MSB
bits of the argument field are used for the published RCA number.