beautypg.com

Renesas SH7781 User Manual

Page 1289

background image

24. Multimedia Card Interface (MMCIF)

Rev.1.00 Jan. 10, 2008 Page 1259 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 ended?

No

Yes

CTERI interrupt

detected?

No

Yes

CRCERI interrupt

detected?

Yes

No

Set the block size in TBCR

Execute CMD 25

(Set CMDR then CMDSTRT)

1

2

Set the number of

blocks in TBNCR

Execute CMD 23

CMD 23

normal end?

No

Yes

Figure 24.29 (1) Example of Operational Flow for Auto-mode

Pre-defined Multiple Block Write Transfer