Section 19 Multimedia Card Interface (MCIF)
Is FFI
No
interrupt detected?
Yes
No
Is block data
write completed?
Yes
Write data to FIFO
Set the DATAEN bit to 1
Figure 19.16 Operational Flow for Commands with Write Data
Rev. 3.00 Jan 25, 2006 page 674 of 872
REJ09B0286-0300
Command sequence start
Execute CMD16
Set the number of transfer
bytes (block size) to TBCR
Execute CMD25M
Is CTERI or
CRCERI interrupt
detected?
No
Is CRPI
interrupt detected?
Read response register
Response
status?
Set the DATAEN bit to 1
No
Is DTI
interrupt detected?
No
Is DPRI
interrupt detected?
Is next
No
block read?
Set the DATAEN bit to 1
Set the CMDOFF bit to 1
Execute CMD12M
Command sequence end
: Set block length
: Execute multiblock data write
Yes
No
Yes
Error
No error
Is DTERI or
CRCERI interrupt
detected?
Yes
Yes
Yes
Set the CMDOFF bit to 1
Execute CMD12M
Command sequence
abnormal end
No
Yes
Set the CMDOFF bit to 1