![](/images/new-backgrounds/1178676/17867673x1.webp)
www.ti.com
Procedures for Common Operations
Figure 16. MMC/SD Multiple-Block Write Operation
MMC controller register content
RCA ADDRESS HIGH
RCA ADDRESS LOW
SEL/DESEL. CARD
BLK ADDRESS HIGH
BLK ADDRESS LOW
SET_BLOCKLEN
READ_SINGLE_BLOCK
Is CRCWR = 1?
Is DXRDY = 1?
NEXT DATA BYTE
STOP_TRANSMISSION
MMC controller
register
ARG HIGH
ARG LOW
COMMAND
ARG HIGH
ARG LOW
COMMAND
COMMAND
STATUS 0
DATA TX
COMMAND
Select one card with relative card address (RCA) while de−selecting the other cards.
Load starting block address into the high and low argument registers. Load block
length register. Start the operation by loading a
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.
Terminate the multiple−block write operation.
SPRUE30B | Multimedia Card (MMC)/Secure Digital (SD) Card Controller | 37 |