Figure 19.16 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
Is block data
write completed?
Yes
Write data to FIFO
Set the DATAEN bit to 1

Figure 19.16 Operational Flow for Commands with Write Data

Rev. 3.00 Jan 25, 2006 page 674 of 872
REJ09B0286-0300
Command sequence start
Execute CMD16
Set the number of transfer
bytes (block size) to TBCR
Execute CMD25M
Is CTERI or
CRCERI interrupt
detected?
No
Is CRPI
interrupt detected?
Read response register
Response
status?
Set the DATAEN bit to 1
No
Is DTI
interrupt detected?
No
Is DPRI
interrupt detected?
Is next
No
block read?
Set the DATAEN bit to 1
Set the CMDOFF bit to 1
Execute CMD12M
Command sequence end
: Set block length
: Execute multiblock data write
Yes
No
Yes
Error
No error
Is DTERI or
CRCERI interrupt
detected?
Yes
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