Figure 19.25 Operational Flow For Commands With Write 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)
Is FFI
No
interrupt detected?
Yes
No
Does block
data write end?
Yes
Write data to FIFO
Set the DATAEN bit to 1

Figure 19.25 Operational Flow for Commands with Write Data

Rev. 3.00 Jan 25, 2006 page 686 of 872
REJ09B0286-0300
Command sequence start
Set the number of transfer
bytes (block size) to TBCR
Execute CMD16
Execute CMD24
Is CTERI
interrupt detected?
No
Is CRPI
No
interrupt detected?
Yes
Read response register
Response
status?
No error
Set the DATAEN bit to 1
No
Is DTI
interrupt detected?
Yes
No
Is DPRI
interrupt detected?
Yes
Command sequence end
: Set block length
: Execute single-block data write
Yes
Error
Set the CMDOFF bit to 1
Is CTERI or
CRCERI interrupt
detected?
Yes
Command sequence
abnormal end
No

Advertisement

Table of Contents
loading

Table of Contents