Motorola DragonBall MC9328MX1 Reference Manual page 537

Integrated portable system processor
Table of Contents

Advertisement

Table 20-25. Commands for MMC/SD Module (Continued)
CMD
Type
INDEX
CMD39
AC
[31:16] RCA
[15] register
[14:8] register
[7:0] register
CMD40
BCR
[31:0] stuff bits
CMD41
CMD42
ADTC
[31:0] stuff bits
CMD43:51
CMD52
[31:0] stuff bits
CMD53
[31:0] stuff bits
CMD54
CMD55
AC
[31:16] RCA
[15:0] stuff bits
CMD56
ADTC
[31:1] stuff bits
[0]: RD/WR
CMD57:63
ACMDs are preceded by the
SD commands not listed below are not supported in this module.
ACMD6
AC
[31:2] stuff bits
[1:0] bus width
ACMD13
ADTC
[31:0] stuff bits
MOTOROLA
Multimedia Card/Secure Digital Host Controller Module (MMC/SD)
Response
Argument
Format
R4
write flag
address
data
R5
R1b
R5
R5
R1
R1b
1
APP_CMD
(CMD55) command. Commands listed below are used for SD only.
R1
R1
Functional Example for the MMC/SD Module
Abbreviation
FAST_IO
Writes and reads 8-bit (register) data
fields. Addresses a card and a register
and provides the data for writing when
the write flag is set. The R4 response
contains data read from the address
register. Accesses application
dependent registers that are not
defined in MMC and SD standards.
GO_IRQ_STATE
Sets the system into interrupt state.
reserved
LOCK_UNLOCK
Sets/resets the password or
lock/unlock the card. The size of the
data block is set by the
SET_BLOCKLEN
reserved
IO_RW_DIRECT
Access a single register within the total
128k of register space in any I/O
function.
IO_RW_
Access multiple I/O registers with a
EXTENDED
single command. It allows the reading
or writing of a large number of I/O
registers.
reserved
APP_CMD
Indicates to the card that the next
command is an application specific
command rather that a standard
command.
GEN_CMD
Transfers a data block to the card or
gets a data block from the card for
general purpose or application specific
commands. The size of the data block
is set by the
command.
reserved
SET_BUS
Defines the data bus width to be used
_WIDTH
for data transfer.
00 = 1-bit and 10 = 4-bit bus
(The allowed data bus widths are
given in the SCR Register.)
SD_STATUS
Sends the SD memory card status.
Description
command.
SET_BLOCKLEN
20-59

Advertisement

Table of Contents
loading

Table of Contents