40.8.6 SDHC_Command Register

Table 40-7. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Grey cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
KWrite to clearSSoftware settable bit
Name: CR
Offset: 0x0E
Reset: 0x0000
Property: -

Bit 15141312111098 
   CMDIDX[5:0] 
Access R/WR/WR/WR/WR/WR/W 
Reset 000000 
Bit 76543210 
 CMDTYP[1:0]DPSELCMDICENCMDCCEN RESPTYP[1:0] 
Access R/WR/WR/W-R/WR/WR/W 
Reset 0000000 

Bits 13:8 – CMDIDX[5:0] Command Index

This bit shall be set to the command number (CMD0-63, ACMD0-63) that is specified in bits 45-40 of the Command-Format in the “Physical Layer Simplified Specification V3.01”, “SDIO Simplified Specification V3.00”, and “Embedded MultiMedia Card (e.MMC) Electrical Standard 4.51”.

Bits 7:6 – CMDTYP[1:0] Command Type

ValueNameDescription
0NORMAL

Other commands

1SUSPEND

CMD52 to write “Bus Suspend” in the Card Common Control Registers (CCCR) (for SDIO only)

2RESUME

CMD52 to write “Function Select” in the Card Common Control Registers (CCCR) (for SDIO only)

3ABORT

CMD12, CMD52 to write “I/O Abort” in the Card Common Control Registers (CCCR) (for SDIO only)

Bit 5 – DPSEL Data Present Select

This bit is set to 1 to indicate that data is present and shall be transferred using the DAT lines. It is set to 0 for the following:
  1. Commands using only CMD line (Ex. CMD52)
  2. Commands with no data transfer but using Busy signal on DAT[0] line (Ex. CMD38)
  3. Resume command
ValueDescription
0

No data present

1

Data present

Bit 4 – CMDICEN Command Index Check Enable

If this bit is set to 1, the peripheral checks the Index field in the response to see if it has the same value as the command index. If it has not, it is reported as a Command Index Error (CMDIDX) in SDHC_EISTR. If this bit is set to 0, the Index field of the response is not checked.

ValueNameDescription
0DISABLEDThe Command Index Check is disabled.
1ENABLEDThe Command Index Check is enabled.

Bit 3 – CMDCCEN Command CRC Check Enable

If this bit is set to 1, the peripheral checks the CRC field in the response. If an error is detected, it is reported as a Command CRC Error (CMDCRC) in SDHC_EISTR. If this bit is set to 0, the CRC field is not checked. The position of the CRC field is determined according to the length of the response.

ValueNameDescription
0DISABLEDThe Command CRC Check is disabled.
1ENABLEDThe Command CRC Check is enabled.

Bits 1:0 – RESPTYP[1:0] Response Type

This field is set according to the response type expected for the command index (CMDIDX).

ValueNameDescription
0NORESP

No Response

1RL136

Response Length 136

2RL48

Response Length 48

3RL48BUSY

Response Length 48 with Busy