beautypg.com

Renesas SH7781 User Manual

Page 1282

background image

24. Multimedia Card Interface (MMCIF)

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

Start of command sequence

Clear FIFO

Execute CMD16

Configure the DMAC

Set DMACR (in the MMCIF)

Read response register

CMD16

normal end?

No

Yes

CRPI interrupt

detected?

No

Yes

Response status

normal?

No

Yes

CTERI interrupt

detected?

No

Yes

CRCERI interrupt

detected?

Yes

No

Set the size of block

for transfer in TBCR

Execute CMD 24

(Set CMDR then CMDSTRT)

1

2

Figure 24.26 (1) Example of Write Sequence Flow (Single Block Transfer)