Secure digital input/output interface (SDIO)
argument can vary according to the type of response: the software will distinguish the type
of response according to the sent command. CE-ATA devices send only short responses.
22.9.5
SDIO command response register (SDIO_RESPCMD)
Address offset: 0x10
Reset value: 0x0000 0000
The SDIO_RESPCMD register contains the command index field of the last command
response received. If the command response transmission does not contain the command
index field (long or OCR response), the RESPCMD field is unknown, although it must
contain 111111b (the value of the reserved field from the response).
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
Bits 31:6
Bits 5:0 RESPCMD: Response command index
Read-only bit field. Contains the command index of the last command response received.
22.9.6
SDIO response 1..4 register (SDIO_RESPx)
Address offset: (0x10 + (4 × x)); x = 1..4
Reset value: 0x0000 0000
The SDIO_RESP1/2/3/4 registers contain the status of a card, which is part of the received
response.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
r
r
r
r
r
r
r
Bits 31:0 CARDSTATUSx: see
The Card Status size is 32 or 127 bits, depending on the response type.
Register
SDIO_RESP1
SDIO_RESP2
SDIO_RESP3
SDIO_RESP4
The most significant bit of the card status is received first. The SDIO_RESP3 register LSB is
always 0b.
601/1128
Reserved
Reserved, must be kept at reset value.
r
r
r
r
r
r
Table
Table 167. Response type and SDIO_RESPx registers
Card Status[31:0]
Unused
Unused
Unused
CARDSTATUSx
r
r
r
r
r
r
r
167.
Short response
DocID13902 Rev 15
9
8
7
6
5
r
9
8
7
6
5
r
r
r
r
r
r
r
Long response
Card Status [127:96]
Card Status [95:64]
Card Status [63:32]
Card Status [31:1]0b
RM0008
4
3
2
1
0
RESPCMD
r
r
r
r
r
4
3
2
1
0
r
r
r
r
r
Need help?
Do you have a question about the STM32F101 series and is the answer not in the manual?
Questions and answers