
SD/SDIO/MMC card host interface (SDMMC)
RM0351
1564/1830
DocID024597 Rev 5
The Card Status size is 32 or 127 bits, depending on the response type.
The most significant bit of the card status is received first. The SDMMC_RESP4 register
LSB is always 0b.
45.8.7
SDMMC data timer register (SDMMC_DTIMER)
Address offset: 0x24
Reset value: 0x0000 0000
The SDMMC_DTIMER register contains the data timeout period, in card bus clock periods.
A counter loads the value from the SDMMC_DTIMER register, and starts decrementing
when the data path state machine (DPSM) enters the Wait_R or Busy state. If the timer
reaches 0 while the DPSM is in either of these states, the timeout status flag is set.
Note:
A data transfer must be written to the data timer register and the data length register before
being written to the data control register.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
CARDSTATUSx[31:16]
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
CARDSTATUSx[15:0]
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
Bits 31:0
CARDSTATUSx:
see
.
Table 295. Response type and SDMMC_RESPx registers
Register
Short response
Long response
SDMMC_RESP1
Card Status[31:0]
Card Status [127:96]
SDMMC_RESP2
Unused
Card Status [95:64]
SDMMC_RESP3
Unused
Card Status [63:32]
SDMMC_RESP4
Unused
Card Status [31:1]0b
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
DATATIME[31:16]
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
DATATIME[15:0]
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
Bits 31:0
DATATIME:
Data timeout period
Data timeout period expressed in card bus clock periods.