©Copyright
SDIO Simplified Specification Version 2.00
Bits | Identifier | Type | Value |
| Description | Clear |
|
|
|
|
|
| Condition |
IO_CURRENT_STATE | S | 00=DIS | DIS=Disabled: | B | ||
|
|
| 01=CMD | Initialize, Standby and Inactive |
| |
|
|
| 02=TRN | States (card not selected) |
| |
|
|
| 03=RFU | CMD=DAT lines free: |
| |
|
|
|
| 1. | Command waiting (No |
|
|
|
|
|
| transaction suspended) |
|
|
|
|
| 2. | Command waiting (All |
|
|
|
|
|
| CMD53 transactions |
|
|
|
|
|
| suspended) |
|
|
|
|
| 3. Executing CMD52 in CMD |
| |
|
|
|
|
| State |
|
|
|
|
| TRN=Transfer: |
| |
|
|
|
| Command executing with data |
| |
|
|
|
| transfer using DAT[0] or DAT[3:0] |
| |
|
|
|
| lines |
| |
3 | ERROR | E R | ’0’= no error | A general or an unknown error | C | |
|
| E R X | ’1’= error | occurred during the operation. |
| |
|
|
|
| Type “E R” shall be used for |
| |
|
|
|
| CMD52 |
| |
|
|
|
| Type “E R X” shall be used for |
| |
|
|
|
| CMD53 |
| |
2 | RFU | Fixed at 0 | Reserved for Future Use | C | ||
1 | FUNCTION_NUMBER | E R | ’0’= no error | An invalid function number was | C | |
|
|
| ’1’= error | requested |
| |
0 | OUT_OF_RANGE | E R | ’0’= no error | The command’s argument was out | C | |
|
|
| ’1’= error | of the allowed range for this card. |
|
Table
5.2.2R5, IO_RW_DIRECT Response (SPI mode)
The SDIO card’s response to CMD52 in the SPI mode is shown in Figure
0 0 0 R/W Data (8 Bits)
1 = in idle state RFU (always 0)
1 = illegal command
1 = COM CRC error
1 = Function number error RFU (always 0)
1 = parameter error Start Bit (always 0)
Figure 5-3 IO_RW_DIRECT Response in SPI Mode
Note the read/write (R/W) data is identical to the read/write data described for the SD R5 response (see 5.2.1). Parameter error status in SPI mode corresponds to OUT_OF_RANGE and ERROR in the SD mode response. In the case of CMD53, Data Error Token should also be used to indicate OUT_OF_RANGE and ERROR.
23