R01UH0823EJ0100 Rev.1.00 Page 1464 of 1823
Jul 31, 2019
RX23W Group 40. SD Host Interface (SDHIa)
Figure 40.16 shows an example of entering the read wait state and then issuing the SDIO none abort command
(CMD52) during the IO_RW_EXTENDED command (CMD53/Multi-block read).
Figure 40.16 Entering the Read Wait State and Then Issuing the SDIO None Abort Command (CMD52) During
the IO_RW_EXTENDED Command (CMD53/Multi-Block Read)
Figure 40.17 shows an example of SDIO abort (CMD52) issued during IO_RW_EXTENDED command (CMD53/
Multi-block read) sequence.
Figure 40.17 SDIO Abort (CMD52) Issued During IO_RW_EXTENDED Command (CMD53/Multi-Block Read)
Sequence
SDIMSK1 = 0000 FFFEh
SDIMSK2 = 0000 7F80h
SDSTS1 = 0000 FFFEh Clear the flags.
SDARG = Argument field value
SDIOMD = 0000 0205h
Error (communication error or timeout)
Read the SDRSP10 register Check the response.
Was CMD52 issued?
SDIOMD = 0000 0001h
SDIMSK1 = 0000 FFFBh
SDIMSK2 = 0000 7E80h
Error processing
(clear the interrupt flags)

(SDHI exits read wait state)
A
Yes
No
Start
Did a response end
or error occur?
Did an
access end or error
occur?
Response end, various error flags,
RWREQ clear
Clear the interrupt flags Access end, various error flags
No
Yes
No
Yes
End
SDIMSK2 = 0000 FFFBh
SDARG = Argument field value
SDIOMD = 0000 0101h
Start
B