beautypg.com

Renesas SH7781 User Manual

Page 1268

background image

24. Multimedia Card Interface (MMCIF)

Rev.1.00 Jan. 10, 2008 Page 1238 of 1658
REJ09B0261-0100

Start of command sequence

Clear FIFO

Read response register

Execute CMD20

(Set CMDR then CMDSTRT)

No

Yes

CRCERI interrupt

detected?

Yes

No

CRPI interrupt

detected?

Yes

No

Response status

normal?

Yes

No

CTERI interrupt

detected?

End of command sequence

Write data to FIFO

Set DATAEN to 1

Yes

No

All data written

to FIFO?

Yes

FEI interrupt

detected?

No

Set CMDOFF to 1

Set CMDOFF to 1

Execute CMD12

Figure 24.21 Example of Operational Flow for Commands with Write Data

(Stream Transfer)