Specifications

©Copyright 2001-2013 SD Group (Panasonic, SanDisk, Toshiba) and SD Card Association
Physical Layer Simplified Specification Version 4.10
69
4.7.4 Detailed Command Description
The following tables describe in detail all SD Memory Card bus commands. The responses R1-R3, R6
are defined in Chapter 4.9. The registers CID, CSD and DSR are described in Chapter 5. The card shall
ignore stuff bits and reserved bits in an argument.
CMD
INDEX
type argument resp abbreviation command description
CMD0
bc
[31:0] stuff bits
-
GO_IDLE_STATE
Resets all cards to idle state
CMD1
reserved
CMD2
bcr
[31:0] stuff bits
R2
ALL_SEND_CID
Asks any card to send the CID num-
bers on the CMD line (any card that is
connected to the host will respond)
CMD3
bcr
[31:0] stuff bits
R6
SEND_RELATIVE_
ADDR
Ask the card to publish a new relative
address (RCA)
CMD4
bc
[31:16] DSR
[15:0] stuff bits
-
SET_DSR
Programs the DSR of all cards
CMD5
reserved for I/O cards (refer to the "SDIO Card Specification")
CMD7
ac
[31:16] RCA
[15:0] stuff bits
R1b
(only
from
the
selecte
d card)
SELECT/DESELECT_
CARD
Command toggles a card between the
stand-by and transfer states or
between the programming and
disconnect states. In both cases, the
card is selected by its own relative
address and gets deselected by any
other address; address 0 deselects all.
In the case that the RCA equals 0, then
the host may do one of the following:
- Use other RCA number to perform
card de-selection.
- Re-send CMD3 to change its RCA
number to other than 0 and then use
CMD7 with RCA=0 for card de-
selection.
CMD8
bcr
[31:12]reserved
bits
[11:8]supply
voltage(VHS)
[7:0]check
pattern
R7
SEND_IF_COND
Sends SD Memory Card interface
condition, which includes host supply
voltage information and asks the card
whether card supports voltage.
Reserved bits shall be set to '0'.
CMD9
ac
[31:16] RCA
[15:0] stuff bits
R2
SEND_CSD
Addressed card sends its card-specific
data (CSD) on the CMD line.
CMD10
ac
[31:16] RCA
[15:0] stuff bits
R2
SEND_CID
Addressed card sends its card identi-
fication (CID) on CMD the line.
CMD11
ac
[31:0] reserved
bits (all 0)
R1
VOLTAGE_SWITCH
Switch to 1.8V bus signaling level.
CMD12
ac
[31:0] stuff bits
R1b
STOP_
TRANSMISSION
Forces the card to stop transmission
CMD13
ac
[31:16] RCA
[15:0] stuff bits
R1
SEND_STATUS
Addressed card sends its status
register.
CMD14
reserved