RS_SDIO controller
RM0082
720/844
Doc ID 018672 Rev 1
32.7.19 NIRQSTATEN
register
The NIRQSTATEN bit assignments are given in
[03]
CMDIDXERR 1’h0
RW1C
Occurs if a Command Index error occurs in the
Command Response.
1’b0 - No Error
1’b1 - Error
[02]
CMDEBERR
1’h0
RW1C
Occurs when detecting that the end bit of a
command response is 0.
1’b0 - No Error
1’b1 - End Bit Error Generated
[01]
CMDCRCER
R
1’h0
RW1C
Command CRC Error is generated in two cases:
If a response is returned and the Command Time-
out Error is set to logic ‘0’, this bit is set to logic ‘1’
when detecting a CRT error in the command
response.
The HC detects a CMD line conflict by monitoring
the CMD line when a command is issued. If the HC
drives the CMD line to logic ‘1’ level, but detects
logic ‘0’ level on the CMD line at the next SDCLK
edge, then the HC shall abort the command (Stop
driving CMD line) and set this bit to logic ‘1’. The
Command Timeout Error shall also be set to logic
‘1’ to distinguish CMD line conflict.
1’b0 - No Error
1’b1 - CRC Error Generated
[00]
CMDTOERR
1’h0
RW1C
Occurs only if the no response is returned within 64
SDCLK cycles from the end bit of the command. If
the HC detects a CMD line conflict, in which case
Command CRC Error shall also be set. This bit
shall be set without waiting for 64 SDCLK cycles
because the command will be aborted by the HC.
1’b0 - No Error
1’b1 - Timeout
Table 640.
Relation between command CRC error end time out error
CMDCRCERR
CMDTOERR
Kind of error
0
0
No Error
0
1
Response Timeout Error
1
0
Response CRC Error
1
1
CMD Line Conflict
Table 639.
ERRIRQSTAT register bit assignments (continued)
Bit
Name
Reset
value
Type
Description