Table 179. Response Type And Sdio_Respx Registers; Sdio Command Response Register (Sdio_Respcmd) - STMicroelectronics STM32F405 Reference Manual

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

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.
31.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 Reserved, must be kept at reset value
Bits 5:0 RESPCMD: Response command index
31.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.
1056/1731
Reserved
Read-only bit field. Contains the command index of the last command response received.
r
r
r
r
r
r
Table

Table 179. Response type and SDIO_RESPx registers

Card Status[31:0]
Unused
Unused
Unused
DocID018909 Rev 11
CARDSTATUSx
r
r
r
r
r
r
r
179.
Short response
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
RM0090
4
3
2
1
0
RESPCMD
r
r
r
r
r
4
3
2
1
0
r
r
r
r
r

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F405 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF