Texas Instruments TMS320DM644x manual MMC/SD Multiple-Block Write Operation

Models: TMS320DM644x

1 61
Download 61 pages 29.83 Kb
Page 37
Image 37

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 –September 2006

Multimedia Card (MMC)/Secure Digital (SD) Card Controller

37

Submit Documentation Feedback

Page 37
Image 37
Texas Instruments TMS320DM644x manual MMC/SD Multiple-Block Write Operation