Datasheet

Table Of Contents
Value Description
0
No error
1
Error
Bit 3 – CMDIDX Command Index Error
This bit is set to 1 if a Command Index error occurs in the command response.
This bit can only be set to 1 if EISTER.CMDIDX is set to 1. An interrupt can only be generated if
EISIER.CMDIDX is set to 1.
Writing this bit to 1 clears this bit.
Value Description
0
No error
1
Error
Bit 2 – CMDEND Command End Bit Error
This bit is set to 1 when detecting that the end bit of a command response is 0.
This bit can only be set to 1 if EISTER.CMDEND is set to 1. An interrupt can only be generated if
EISIER.CMDEND is set to 1.
Writing this bit to 1 clears this bit.
Value Description
0
No error
1
Error
Bit 1 – CMDCRC Command CRC Error
The Command CRC Error is generated in two cases.
If a response is returned and Command Timeout Error (CMDTEO) is set to 0 (indicating no command
timeout), this bit is set to 1 when detecting a CRC error in the command response.
The peripheral detects a CMD line conflict by monitoring the CMD line when a command is issued. If the
peripheral drives the CMD line to 1 level, but detects 0 level on the CMD line at the next SDCLK edge,
then the peripheral aborts the command (stops driving the CMD line) and sets this bit to 1. CMDTEO is
also set to 1 to indicate a CMD line conflict (refer to Table 40-2).
This bit can only be set to 1 if EISTER.CMDCRC is set to 1. An interrupt can only be generated if
EISIER.CMDCRC is set to 1.
Writing this bit to 1 clears this bit.
Bit 0 – CMDTEO Command Timeout Error
This bit is set to 1 only if no response is returned within 64 SDCLK cycles from the end bit of the
command. If the peripheral detects a CMD line conflict, in which case Command CRC Error (CMDCRC)
is also set to 1 (refer to Table 40-2), this bit is set without waiting for 64 SDCLK cycles because the
command is aborted by the peripheral.
This bit can only be set to 1 if EISTER.CMDTEO is set to 1. An interrupt can only be generated if
EISIER.CMDTEO is set to 1.
Writing this bit to 1 clears this bit.
Table 40-2. CMD Error Types
CMDCRC CMDTEO Types of error
0 0 No error
0 1 Response timeout error
1 0 Response CRC error
SAM D5x/E5x Family Data Sheet
SD/MMC Host Controller ...
© 2019 Microchip Technology Inc.
Datasheet
DS60001507E-page 1353