R1 (Normal Response Command); R1B; R2 (Cid, Csd Register); R3 (Ocr Register) - ST STM32F101 series Reference Manual

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

Advertisement

RM0008
22.5.1

R1 (normal response command)

Code length = 48 bits. The 45:40 bits indicate the index of the command to be responded to,
this value being interpreted as a binary-coded number (between 0 and 63). The status of the
card is coded in 32 bits.
Bit position
47
46
[45:40]
[39:8]
[7:1]
0
22.5.2

R1b

It is identical to R1 with an optional busy signal transmitted on the data line. The card may
become busy after receiving these commands based on its state prior to the command
reception.
22.5.3

R2 (CID, CSD register)

Code length = 136 bits. The contents of the CID register are sent as a response to the
CMD2 and CMD10 commands. The contents of the CSD register are sent as a response to
CMD9. Only the bits [127...1] of the CID and CSD are transferred, the reserved bit [0] of
these registers is replaced by the end bit of the response. The card indicates that an erase
is in progress by holding MCDAT low. The actual erase time may be quite long, and the host
may issue CMD7 to deselect the card.
Bit position
135
134
[133:128]
[127:1]
0
22.5.4

R3 (OCR register)

Code length: 48 bits. The contents of the OCR register are sent as a response to CMD1.
The level coding is as follows: restricted voltage windows = low, card busy = low.
Secure digital input/output interface (SDIO)

Table 160. R1 response

Width (bits
1
0
1
0
6
X
32
X
7
X
1
1

Table 161. R2 response

Width (bits
1
0
1
0
6
'111111'
127
X
1
1
DocID13902 Rev 15
Value
Start bit
Transmission bit
Command index
Card status
CRC7
End bit
Value
Start bit
Transmission bit
Command index
Card status
End bit
Description
Description
592/1128
612

Advertisement

Table of Contents
loading

This manual is also suitable for:

Stm32f107 seriesStm32f102 seriesStm32f103 seriesStm32f105 seriesStm32f101 series

Table of Contents