Information

Table 49-37. Commands for MMC/SD/SDIO/CE-ATA cards (continued)
CMD INDEX Type Argument Resp Abbreviation Description
CMD1 bcr [31:0] OCR without
busy
R3 SEND_OP_COND Asks all MMC and SD
memory cards in idle state to
send their operation
conditions register contents in
the response on the CMD
line.
CMD2 bcr [31:0] stuff bits R2 ALL_SEND_CID Asks all cards to send their
CID numbers on the CMD
line.
CMD3
1
ac [31:6] RCA
[15:0] stuff bits
R1
R6 (SDIO)
SET/
SEND_RELATIVE_AD
DR
Assigns relative address to
the card.
CMD4 bc [31:0] DSR
[15:0] stuff bits
- SET_DSR Programs the DSR of all
cards.
CMD5 bc [31:0] OCR without
busy
R4 IO_SEND_OP_COND Asks all SDIO cards in idle
state to send their operation
conditions register contents in
the response on the CMD
line.
CMD6
2
adtc [31] Mode
0: Check function
1: Switch function
[30:8] Reserved for
function groups 6 ~ 3
(All 0 or 0xFFFF)
[7:4] Function group1
for command system
[3:0] Function group2
for access mode
R1 SWITCH_FUNC Checks switch ability (mode
0) and switch card function
(mode 1). Refer to "SD
Physical Specification V1.1"
for more details.
CMD6
3
ac [31:26] Set to 0
[25:24] Access
[23:16] Index
[15:8] Value
[7:3] Set to 0
[2:0] Cmd Set
R1b SWITCH Switches the mode of
operation of the selected card
or modifies the EXT_CSD
registers. Refer to "The
MultiMediaCard System
Specification Version 4.0
Final draft 2" for more details.
CMD7 ac [31:6] RCA
[15:0] stuff bits
R1b SELECT/
DESELECT_CARD
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.
Table continues on the next page...
Initialization/application of SDHC
K20 Sub-Family Reference Manual, Rev. 6, Nov 2011
1476 Freescale Semiconductor, Inc.