Texas Instruments TMS320DM644x Camera Accessories User Manual


 
www.ti.com
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
FIRST DATA BYTE
BLK ADDRESS LOW
BLK ADDRESS HIGH
DATA TX
ARG LOW
ARG HIGH
WRITE BLOCK
COMMAND
Load starting block address
into the high and low argument
registers. Load the first byte of
the transfer. Start writing one
block of data. Only 512 byte
block length is permitted.
Is CRCWR = 1?
Is DATDNE = 1?
Is DXRDY = 1?
Check CRCWR bit for any
write CRC errors.
Check DATDNE bit to see if the
transfer is done. If not, then...
Check DXRDY bit to see the
data transmit register is ready
for the next byte.
Load the data transmit register
with the next byte.
ProceduresforCommonOperations
Figure14.MMC/SDModeSingle-BlockWriteOperation
SPRUE30BSeptember2006MultimediaCard(MMC)/SecureDigital(SD)CardController33
SubmitDocumentationFeedback