Table 102. Command Format; Figure 186. Sdio Command Transfer - ST STM32F102 Series Reference Manual

Hide thumbs Also See for STM32F102 Series:
Table of Contents

Advertisement

SDIO interface (SDIO)

Figure 186. SDIO command transfer

SDIO_CK
SDIO_CMD
Command format

Table 102. Command format

Bit position
47
46
[45:40]
[39:8]
[7:1]
0
The SDIO supports two response types. Both use CRC error checking:
48 bit short response
136 bit long response
Note:
If the response does not contain a CRC (CMD1 response), the device driver must ignore the
CRC failed status.
420/690
Command
State
Idle
Hi-Z
Controller drives
Command: a command is a token that starts an operation. Command are sent
from the host either to a single card (addressed command) or to all connected
cards (broadcast command are available for MMC V3.31 or previous). Commands
are transferred serially on the CMD line. All commands have a fixed length of 48
bits. The general format for a command token for MultiMediaCards, SD-Memory
cards and SDIO-Cards is shown in
extension of MMC commands V4.2, and so have the same format.
The command path operates in a half-duplex mode, so that commands and
responses can either be sent or received. If the CPSM is not in the Send state, the
SDIO_CMD output is in the Hi-Z state, as shown in
on SDIO_CMD are synchronous with the rising edge of SDIO_CK.
the command format.
Width
1
1
6
32
7
1
Response: a response is a token that is sent from an addressed card (or
synchronously from all connected cards for MMC V3.31 or previous), to the host
as an answer to a previously received command. Responses are transferred
serially on the CMD line.
Response
Send
Wait
Receive
Hi-Z
Card drives
Table
102. CE-ATA commands are an
Value
0
1
-
-
-
1
at least 8 SDIO_CK cycles
Command
Idle
Send
Hi-Z
Controller drives
Figure 186 on page
420. Data
Table
Description
Start bit
Transmission bit
Command index
Argument
CRC7
End bit
RM0008
ai14707
shows

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Stm32f101 seriesStm32f103 series

Table of Contents