Figure 19.11 Operational Flow For Commands With Read Data - Renesas H8S/2158 User Manual

16-bit single-chip microcomputer h8s family/h8s/2100 series
Table of Contents

Advertisement

Section 19 Multimedia Card Interface (MCIF)
No
Is FFI
interrupt detected?
Yes
No
Is block data
read completed?
Yes
Read data from FIFO
Set the RD_CONTI bit to 1

Figure 19.11 Operational Flow for Commands with Read Data

Rev. 3.00 Jan 25, 2006 page 668 of 872
REJ09B0286-0300
Command sequence start
Execute CMD16
Set the number of transfer bytes
(block size) to TBCR
Execute CMD18M
Is CTERI or
CRCERI interrupt
detected?
No
No
Is CRPI interrupt
detected?
Read response register
Response
status?
Is DTI
interrupt detected?
Is next
No
block read?
Set the RD_CONTI bit to 1
Set the CMDOFF bit to 1
Execute CMD12M
Command sequence end
: Set block length
: Execute multiblock data read
Yes
Yes
Error
No error
Is DTERI or
CRCERI interrupt
detected?
Yes
Yes
Set the CMDOFF bit to 1
Execute CMD12M
Command sequence
abnormal end
No
Yes
Set the CMDOFF bit to 1

Advertisement

Table of Contents
loading

Table of Contents