Commands For The Mmc/Sd Module; Table 20-24 Command Format; Table 20-25 Commands For Mmc/Sd Module - Motorola DragonBall MC9328MX1 Reference Manual

Integrated portable system processor
Table of Contents

Advertisement

Multimedia Card/Secure Digital Host Controller Module (MMC/SD)
Bit 47
Start Bit
Description
0
Value
Transmission Bit—A
Command Index—Contains the binary-coded number of the command index.
Argument—Some commands require an address that is coded in 32 bits.

20.7.8.4 Commands for the MMC/SD Module

Table 20-25 list all the MMC/SD module's commands, their type, argument, format, and description.
CMD
Type
INDEX
CMD0
BC
[31:0] stuff bits
CMD1
BCR
[31:0] OCR
without busy
CMD2
BCR
[31:0] stuff bits
CMD3
AC
[31:16] RCA
[15:0] stuff bits
CMD4
BC
[31:16] DSR
[15:0] stuff bits
CMD5
BC
[31:0] OCR
without busy
CMD6
CMD7
AC
[31:16] RCA
[15:0] stuff bits
CMD8
20-56
Table 20-24. Command Format
Bit 46
Transmission Bit
1
indicates a transmission from the MMC/SD module to a card.
1
Table 20-25. Commands for MMC/SD Module
Response
Argument
Format
R3
R2
R1
R6
(SD I/O)
R4
R1b
MC9328MX1 Reference Manual
Bits 45-40
Bits 39-8
Command Index
Argument
x
Abbreviation
GO_IDLE
Resets all MMC and SD memory
_STATE
cards to idle state.
SEND_OP
Asks all MMC and SD memory cards
_COND
in idle state to send their operation
conditions register contents on the
SD_CMD line.
ALL_SEND_CID
Asks all cards to send their CID
numbers on the SD_CMD line.
SET_RELATIVE
Assigns the argument as the relative
_ADDR
address of the card.
SET_DSR
Programs the DSR of all cards.
IO_SEND_OP
Asks all SD I/O cards in idle state to
_COND
send their operation conditions
register contents on the SD_CMD line.
Reserved
SELECT/
Toggles a card between stand-by and
DESELECT
transfer states or between
_CARD
programming and disconnect states.
The card is selected by its own relative
address and is deselected by any
other address. Address 0 deselects all
cards.
Reserved
Bits 7-1
Bit 0
CRC7
End Bit
x
x
Description
MOTOROLA
1

Advertisement

Table of Contents
loading

Table of Contents