
GD32F403xx User Manual
511
Note:
1.CMD1, CMD11, CMD14, CMD19, CMD20, CMD23, CMD26, CMD39 and CMD40 are
only available for MMC.CMD5, CMD32-34, CMD50, CMD52, CMD53, CMD57 and ACMDx
are only available for SD card. CMD60, CMD61 are only available for CE-ATA device.
2. All the ACMDs shall be preceded with APP_CMD command (CMD55).
3. CMD8 has different meaning for MMC and SD memory.
Detailed command description
The following tables describe in detail all bus commands. The responses R1-R7 are defined
in
. The registers CID, CSD and DSR are described in
. The card
shall ignore stuff bits and reserved bits in an argument.
Table 20-4. Basic commands (class 0)
Cmd
index
type
argument
Response
format
Abbreviation
Description
CMD0
bc
[31:0] stuff bits
-
GO_IDLE_STATE
Resets all cards to idle state
CMD1
bc
[31:0]
OCR
without busy
R3
SEND_OP_CON
D
Asks the card, in idle state, to
send its Operating Conditions
Register
contents
in
the
response on the CMD line.
CMD2
bcr
[31:0] stuff bits
R2
ALL_SEND_CID
Asks any card to send the CID
numbers on the CMD line (any
card that is connected to the host
will respond)
CMD3
bcr
[31:0] stuff bits
R6
SEND_RELATIVE
_ADDR
Ask the card to publish a new
relative address (RCA)
CMD4
bc
[31:16] DSR
[15:0] stuff bits
-
SET_DSR
Programs the DSR of all cards
CMD5
bcr
[31:25]reserved
bits
[24]S18R
[23:0] I/O OCR
R4
IO_SEND_OP_C
OND
Only for I/O cards. It is similar to
the operation of ACMD41 for SD
memory cards, used to inquire
about the voltage range needed
by the I/O card.
ACMD6
M
+
ACMD13
M
+
ACMD22
M
+
ACMD23
M
+
ACMD41
M
+
ACMD42
M
+
ACMD51
M
+
Содержание GD32F403 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F403xx Arm Cortex M4 32 bit MCU User Manual Revision 2 6 Jul 2022 ...
Страница 177: ...GD32F403xx UserManual 177 Peripheral Channel 0 Channel 1 Channel 2 Channel 3 Channel 4 SDIO SDIO ...
Страница 217: ...GD32F403xx UserManual 217 ensures that no conversion is in progress ...