Renesas SH7781 User Manual

Page 1247

Advertising
background image

24. Multimedia Card Interface (MMCIF)

Rev.1.00 Jan. 10, 2008 Page 1217 of 1658

REJ09B0261-0100

• The end of the command sequence is detected by poling the BUSY flag in CSTR, by the data

transfer end interrupt (DTI) or pre-defined multiple block transfer end (BTI).

• Write the CMDOFF bit to 1 if a CRC error (CRCERI) or a command timeout error (CTERI)

occurs in the command response reception.

• Clear the FIFO by writing the CMDOFF bit to 1, when CRC error (CRCERI) and data timeout

error (DTERI) occurs in the read data reception.

MMCCLK

MMCCMD

MMCDAT

CMDSTRT

(CMDSTART)

INTSTR0

(CMDI)

(CMDOFF)

CSTR

(CWRE)

(BUSY)

(REQ)

(CRPI)

(DTI)

(FFI)

(FIFO_FULL)

CMD17 (READ_SINGLE_BLOCK)

OPCR

(RD_CONTI)

Input/output pins

Command

Command response

Read data

Command
transmission
started

Single block read command execution sequence

Figure 24.8 Example of Command Sequence for Commands with Read Data

(Block Size

FIFO Size)

Advertising