Renesas SH7781 User Manual

Page 1272

Advertising
background image

24. Multimedia Card Interface (MMCIF)

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

Start of command sequence

End of command sequence

Clear FIFO

Execute CMD16

Configure the DMAC

Set DMACR (in the MMCIF)

Read response register

Set DMACR to H'84

Clear DMACR to H'00

Set CMDOFF to 1

Clear DMACR to H'00

CMD16

normal end?

No

Yes

CRPI interrupt

detected?

No

Yes

Response status

normal?

No

Yes

DTI interrupt

detected?

No

Yes

DMA transfer end?

No

Yes

CTERI interrupt

detected?

No

Yes

CRCERI interrupt

detected?

Yes

No

CRCERI interrupt

detected?

Yes

No

DTERI interrupt

detected?

Yes

No

Set the size of block

for transfer in TBCR

Execute CMD17

(Set CMDR then CMDSTRT)

Set CMDOFF to 1

Clear DMACR to H'00

Clear FIFO

Figure 24.22 Example of Read Sequence Flow (Single Block Transfer)

Advertising