HB288016MM1
26
Basic Commands
(class 0)
and Read Stream Command
(class 1)
CMD
index
Type
Argument
Resp
Abbreviation
Command description
CMD0
bc
[31:0] stuff bits
—
GO_IDLE_STATE
resets all cards to Idle State
CMD1
bcr
[31:0] OCR
without busy
R3
SEND_OP_COND
checks for cards not supporting the full
range of 2.0 V to 3.6 V. After receiving
CMD1 the card sends an R3 response
(refer to Chapter “Responses”).
CMD2
bcr
[31:0] stuff bits
R2
ALL_SEND_CID
asks all cards in ready state to send
their CID*
1
numbers on CMD-line
CMD3
ac
[31:16] RCA
[15:0] stuff bits
R1
SET_RELATIVE_A
DDR
assigns relative address to the card in
identification state.
CMD4
bc
[31:16] DSR
[15:0] stuff bits
—
SET_DSR
programs the DSR of all cards in
stand-by state.
CMD7
ac
[31:16] RCA
[15:0] stuff bits
R1 (only
the
selected
card)
SELECT/
DESELECT_CARD
command toggles a card between the
standby and transfer states or between
the programming and disconnect state.
In both cases the card is selected by
its own relative address while
deselecting the prior selected card.
Address 0 deselects all.
CMD9
ac
[31:16] RCA
[15:0] stuff bits
R2
SEND_CSD
asks the addressed card to send its
card-specific data (CSD)*
2
on CMD-
line.
CMD10 ac
[31:16] RCA
[15:0] stuff bits
R2
SEND_CID
asks the addressed card to send its
card identification (CID) on CMD- line.
CMD11 adtc
[31:0] data
address
R1
READ_DAT_UNTIL
_STOP
reads data stream from the card,
starting at the given address, until a
STOP_TRANSMISSION follows.
CMD12 ac
[31:0] stuff bits
R1b*
3
STOP_TRANSMIS
SION
forces the card to stop transmission
CMD13 ac
[31:16] RCA
[15:0] stuff bits
R1
SEND_STATUS
Asks the addressed card to send its
status register.
CMD15 ac
[31:16] RCA
[15:0] stuff bits
—
GO_INACTIVE_ST
ATE
Sets the card to inactive state in order
to protect the card stack against
communications breakdowns.
Notes: 1. CID register consists of 128 bits (starting with MSB, it is preceded by an additional start bit, ends
with an end bit)
2. CSD register consists of 128 bits (starting with MSB, it is preceded by an additional start bit,
ends with an end bit)
3. This command is indicating the busy status of the MultiMediaCard via the data channel.