ARG HIGH
RCA ADDRESS HIGH
STATUS 0
NEXT DATA BYTE
DATA TX
MMC controller
register content
MMC controller
register
RCA ADDRESS LOW
ARG LOW
SEL/DESEL. CARD
COMMAND
Select one card with relative
card address (RCA) while
de−selecting the other cards.
SET_BLOCKLEN
BLK ADDRESS LOW
BLK ADDRESS HIGH
COMMAND
ARG LOW
ARG HIGH
READ_SINGLE_BLOCK
COMMAND
Load starting block address
into the high and low argument
registers. Load block
length register. Start the
operation by loading a
Is CRCWR = 1?
Is DXRDY = 1?
READ_SINGLE_BLOCK
command into the command
register.
Check CRCWR bit for any write
CRC errors.
Check DXRDY to see if a new
byte can be put in MMCDXR
register.
STOP_TRANSMISSION
COMMAND
Terminate the multiple−block
write operation.
Procedures for Common Operations
1292
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Multimedia Card (MMC)/Secure Digital (SD) Card Controller
15. Write the next
n
bytes (depends on setting of FIFOLEV in MMCFIFOCTL: 0 = 32 bytes, 1 = 64 bytes)
of the data block to MMCDXR, and return to
.
16. Use MMCCMD to send the STOP_TRANSMISSION command.
The sequence of events in this operation is shown in
.
Figure 26-15. MMC/SD Multiple-Block Write Operation