Functional Description
18.3.9 Transfer or Command Status and Error Reporting
Flags in the MMC/SD/SDIO host controller show status of communication with the card:
•
A timeout (of a command, a data, or a response)
•
A CRC
Error conditions generate interrupts. See
and register description for more details.
Table 18-14. CC and TC Values Upon Error Detected
Error hold in the
SD_STAT Register
CC
TC
Comments
29
BADA
No dependency with CC or TC.
BADA is related to the register accesses. Its assertion is not dependent of
the ongoing transfer.
28
CERR
1
CC is set upon CERR.
22
DEB
1
TC is set upon DEB.
21
DCRC
1
TC is set upon DCRC.
20
DTO
DTO and TC are mutually exclusive.
DCRC and DEB cannot occur with DTO.
19
CIE
1
CC is set upon CIE.
18
CEB
1
CC is set upon CEB.
17
CCRC
1
CC can be set upon CCRC - See CTO comment
16
CTO
CTO and CC are mutually exclusive.
CIE, CEB and CERR cannot occur with CTO.
CTO can occur at the same time as CCRC it indicates a command abort
due to a contention on CMD line. In this case no CC appears.
SD_STAT[21] DCRC event can be asserted in the following conditions:
•
Busy timeout for R1b, R5b response type
•
Busy timeout after write CRC status
•
Write CRC status timeout
•
Read data timeout
•
Boot acknowledge timeout
3370
Multimedia Card (MMC)
SPRUH73H – October 2011 – Revised April 2013
Copyright © 2011–2013, Texas Instruments Incorporated