Functional Example for the MMC/SD Module
MOTOROLA
Multimedia Card/Secure Digital Host Controller Module (MMC/SD)
20-59
CMD39
AC
[31:16] RCA
[15] register
write flag
[14:8] register
address
[7:0] register
data
R4
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.
CMD40
BCR
[31:0] stuff bits
R5
GO_IRQ_STATE
Sets the system into interrupt state.
CMD41
reserved
CMD42
ADTC
[31:0] stuff bits
R1b
LOCK_UNLOCK
Sets/resets the password or
lock/unlock the card. The size of the
data block is set by the
SET_BLOCKLEN
command.
CMD43:51
reserved
CMD52
–
[31:0] stuff bits
R5
IO_RW_DIRECT
Access a single register within the total
128k of register space in any I/O
function.
CMD53
–
[31:0] stuff bits
R5
IO_RW_
EXTENDED
Access multiple I/O registers with a
single command. It allows the reading
or writing of a large number of I/O
registers.
CMD54
reserved
CMD55
AC
[31:16] RCA
[15:0] stuff bits
R1
APP_CMD
Indicates to the card that the next
command is an application specific
command rather that a standard
command.
CMD56
ADTC
[31:1] stuff bits
[0]: RD/WR
1
R1b
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
SET_BLOCKLEN
command.
CMD57:63
reserved
ACMDs are preceded by the
APP_CMD
(CMD55) command. Commands listed below are used for SD only.
SD commands not listed below are not supported in this module.
ACMD6
AC
[31:2] stuff bits
[1:0] bus width
R1
SET_BUS
_WIDTH
Defines the data bus width to be used
for data transfer.
00 = 1-bit and 10 = 4-bit bus
(The allowed data bus widths are
given in the SCR Register.)
ACMD13
ADTC
[31:0] stuff bits
R1
SD_STATUS
Sends the SD memory card status.
Table 20-25. Commands for MMC/SD Module (Continued)
CMD
INDEX
Type
Argument
Response
Format
Abbreviation
Description
Summary of Contents for DragonBall MC9328MX1
Page 68: ...1 12 MC9328MX1 Reference Manual MOTOROLA Introduction ...
Page 86: ...2 18 MC9328MX1 Reference Manual MOTOROLA Signal Descriptions and Pin Assignments ...
Page 116: ...3 30 MC9328MX1 Reference Manual MOTOROLA Memory Map ...
Page 126: ...4 10 MC9328MX1 Reference Manual MOTOROLA ARM920T Processor ...
Page 160: ...8 8 MC9328MX1 Reference Manual MOTOROLA System Control ...
Page 272: ...13 32 MC9328MX1 Reference Manual MOTOROLA DMA Controller ...
Page 281: ...Programming Model MOTOROLA Watchdog Timer Module 14 9 ...
Page 282: ...14 10 MC9328MX1 Reference Manual MOTOROLA Watchdog Timer Module ...
Page 300: ...15 18 MC9328MX1 Reference Manual MOTOROLA Analog Signal Processor ASP ...
Page 438: ...18 16 MC9328MX1 Reference Manual MOTOROLA Serial Peripheral Interface Modules SPI 1 and SPI 2 ...
Page 478: ...19 40 MC9328MX1 Reference Manual MOTOROLA LCD Controller ...
Page 574: ...21 32 MC9328MX1 Reference Manual MOTOROLA Memory Stick Host Controller MSHC Module ...
Page 598: ...23 16 MC9328MX1 Reference Manual MOTOROLA Real Time Clock RTC ...
Page 670: ...24 72 MC9328MX1 Reference Manual MOTOROLA SDRAM Memory Controller ...
Page 726: ...25 56 MC9328MX1 Reference Manual MOTOROLA SmartCard Interface Module SIM ...
Page 736: ...26 10 MC9328MX1 Reference Manual MOTOROLA General Purpose Timers ...
Page 854: ...29 18 MC9328MX1 Reference Manual MOTOROLA I2C Module ...
Page 900: ...30 46 MC9328MX1 Reference Manual MOTOROLA Synchronous Serial Interface SSI ...
Page 942: ...32 26 MC9328MX1 Reference Manual MOTOROLA GPIO Module and I O Multiplexer IOMUX ...