Functional Example for the MMC/SD Module
MOTOROLA
Multimedia Card/Secure Digital Host Controller Module (MMC/SD)
20-57
CMD9
AC
[31:16] RCA
[15:0] stuff bits
R2
SEND_CSD
Asks addressed card to sends its
card-specific data (CSD) on the
SD_CMD line.
CMD10
AC
[31:16] RCA
[15:0] stuff bits
R2
SEND_CID
Asks addressed card to send its
card-identification (CID) on the
SD_CMD line.
CMD11
ADTC
[31:0] data
address
R1
READ_DAT
_UNTIL_STOP
Reads data stream from the card,
starting at the given address, until a
STOP_TRANSMISSION
command.
CMD12
AC
[31:0] stuff bits
R1b
STOP_
TRANSMISSION
Forces the card to stop transmission.
CMD13
AC
[31:16] RCA
[15:0] stuff bits
R1
SEND_STATUS
Asks addressed card to send its status
register.
CMD14
Reserved
CMD15
AC
[31:16] RCA
[15:0] stuff bits
–
GO_INACTIVE
_STATE
Sets the card to inactive state to
protect the card stack against
communication breakdowns.
CMD16
AC
[31:0] block
length
R1
SET_
BLOCKLEN
Sets the block length (in bytes) for all
future block commands (read and
write). Default block length is specified
in the CSD.
CMD17
ADTC
[31:0] data
address
R1
READ_SINGLE
_BLOCK
Reads a block of the size selected by
the
SET_BLOCKLEN
command.
CMD18
ADTC
[31:0] data
address
R1
READ_
MULTIPLE
_BLOCK
Transfers data blocks from the card to
the MMC/SD module continuously
until interrupted by a
STOP_TRANSMISSION
command.
CMD19
Reserved
CMD20
ADTC
[31:0] data
address
R1
WRITE_DAT_
UNTIL_STOP
Writes data stream from the MMC/SD
module, starting at the given address,
until a
STOP_TRANSMISION
command is issued.
CMD21:23
Reserved
CMD24
ADTC
[31:0] data
address
R1
WRITE_BLOCK
Writes a block of the size selected by
the
SET_BLOCKLEN
command.
CMD25
ADTC
[31:0] data
address
R1
WRITE_
MULTIPLE_
BLOCK
Writes blocks of data continuously
until a
STOP_TRANSMISSION
command is issued.
Table 20-25. Commands for MMC/SD Module (Continued)
CMD
INDEX
Type
Argument
Response
Format
Abbreviation
Description
Содержание DragonBall MC9328MX1
Страница 68: ...1 12 MC9328MX1 Reference Manual MOTOROLA Introduction ...
Страница 86: ...2 18 MC9328MX1 Reference Manual MOTOROLA Signal Descriptions and Pin Assignments ...
Страница 116: ...3 30 MC9328MX1 Reference Manual MOTOROLA Memory Map ...
Страница 126: ...4 10 MC9328MX1 Reference Manual MOTOROLA ARM920T Processor ...
Страница 160: ...8 8 MC9328MX1 Reference Manual MOTOROLA System Control ...
Страница 272: ...13 32 MC9328MX1 Reference Manual MOTOROLA DMA Controller ...
Страница 281: ...Programming Model MOTOROLA Watchdog Timer Module 14 9 ...
Страница 282: ...14 10 MC9328MX1 Reference Manual MOTOROLA Watchdog Timer Module ...
Страница 300: ...15 18 MC9328MX1 Reference Manual MOTOROLA Analog Signal Processor ASP ...
Страница 438: ...18 16 MC9328MX1 Reference Manual MOTOROLA Serial Peripheral Interface Modules SPI 1 and SPI 2 ...
Страница 478: ...19 40 MC9328MX1 Reference Manual MOTOROLA LCD Controller ...
Страница 542: ...20 64 MC9328MX1 Reference Manual MOTOROLA Multimedia Card Secure Digital Host Controller Module MMC SD ...
Страница 574: ...21 32 MC9328MX1 Reference Manual MOTOROLA Memory Stick Host Controller MSHC Module ...
Страница 598: ...23 16 MC9328MX1 Reference Manual MOTOROLA Real Time Clock RTC ...
Страница 670: ...24 72 MC9328MX1 Reference Manual MOTOROLA SDRAM Memory Controller ...
Страница 726: ...25 56 MC9328MX1 Reference Manual MOTOROLA SmartCard Interface Module SIM ...
Страница 736: ...26 10 MC9328MX1 Reference Manual MOTOROLA General Purpose Timers ...
Страница 854: ...29 18 MC9328MX1 Reference Manual MOTOROLA I2C Module ...
Страница 900: ...30 46 MC9328MX1 Reference Manual MOTOROLA Synchronous Serial Interface SSI ...
Страница 942: ...32 26 MC9328MX1 Reference Manual MOTOROLA GPIO Module and I O Multiplexer IOMUX ...