Sdio Argument Register (Sdio_Arg); Sdio Command Register (Sdio_Cmd) - ST STM32F423 Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F423:
Table of Contents

Advertisement

Secure digital input/output interface (SDIO)
31.8.3

SDIO argument register (SDIO_ARG)

Address offset: 0x08
Reset value: 0x0000 0000
The SDIO_ARG register contains a 32-bit command argument, which is sent to a card as
part of a command message.
31
30
29
rw
rw
rw
15
14
13
rw
rw
rw
Bits 31:0 CMDARG: Command argument
Command argument sent to a card as part of a command message. If a command contains
an argument, it must be loaded into this register before writing a command to the command
register.
31.8.4

SDIO command register (SDIO_CMD)

Address offset: 0x0C
Reset value: 0x0000 0000
The SDIO_CMD register contains the command index and command type bits. The
command index is sent to a card as part of a command message. The command type bits
control the command path state machine (CPSM).
31
30
29
Res.
Res.
Res.
15
14
13
Res.
Res.
Res.
Bits 31:12 Reserved, must be kept at reset value.
Bit 11 SDIOSuspend: SD I/O suspend command
Bit 10 CPSMEN: Command path state machine (CPSM) Enable bit
Bit 9 WAITPEND: CPSM Waits for ends of data transfer (CmdPend internal signal).
1070/1324
28
27
26
25
rw
rw
rw
rw
12
11
10
9
rw
rw
rw
rw
28
27
26
Res.
Res.
Res.
Res.
12
11
10
SDIO
CPSM
WAIT
Res.
Suspend
EN
PEND
rw
rw
If this bit is set, the command to be sent is a suspend command (to be used only with SDIO
card).
If this bit is set, the CPSM is enabled.
If this bit is set, the CPSM waits for the end of data transfer before it starts sending a
command. This feature is available only with Stream data transfer mode
SDIO_DCTRL[2] = 1.
24
23
22
CMDARG[31:16]
rw
rw
rw
8
7
6
CMDARG[15:0]
rw
rw
rw
25
24
23
22
Res.
Res.
Res.
9
8
7
6
WAIT
WAITRESP
INT
rw
rw
rw
rw
RM0430 Rev 8
21
20
19
18
rw
rw
rw
rw
5
4
3
2
rw
rw
rw
rw
21
20
19
18
Res.
Res.
Res.
Res.
5
4
3
2
CMDINDEX
rw
rw
rw
rw
RM0430
17
16
rw
rw
1
0
rw
rw
17
16
Res.
Res.
1
0
rw
rw

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Table of Contents