Information
Enhanced Secure Digital Host Controller
MPC8308 PowerQUICC II Pro Processor Reference Manual, Rev. 1
11-60 Freescale Semiconductor
11.6.5 Commands for MMC/SD/SDIO
See Table 11-26 for the list of commands for the MMC/SD/SDIO cards. Refer to the corresponding
specifications for details about the command information.
Four kinds of commands control the MMC, as follows:
• Broadcast commands (bc)—no response
• Broadcast commands with response (bcr)—response from all cards simultaneously
• Addressed (point-to-point) commands (ac)—no data transfer on SD_DAT
• Addressed (point-to-point) data transfer commands (ADTC)
Table 11-26. Commands for MMC/SD/SDIO
CMD
INDEX
Type Argument Resp Abbreviation Description
1
CMD0 bc [31–0] stuff bits — GO_IDLE_STATE Resets all MMC and SD memory
cards to idle state.
CMD1 bcr [31–0] OCR without
busy
R3 SEND_OP_COND Asks all MMCs and SD memory cards
in idle state to send their operation
conditions register contents in the
response on the SD_CMD line.
CMD2 bcr [31–0] stuff bits R2 ALL_SEND_CID Asks all cards to send their CID
numbers on the SD_CMD line.
CMD3
(1)
ac [31–0] RCA R1
R6(SDIO)
SET/SEND_RELATIVE_AD
DR
Assigns relative address to the card.
CMD4 bc [31–16] 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 SD_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 version
1.1 for 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 details.