GD32F20x User Manual
642
R5b
For SD I/O only. The SDIO card's response to CMD52 and CMD53 is R5. If the communication
between the card and host is in the 1-bit or 4-bit SD mode, the response shall be in a 48-bit
response (R5).
Table 24-20. Response R5 for SD I/O
Bit position
47
46
[45:40]
[39:24]
[23:16]
[15:8]
[7:1]
0
Width
1
1
6
16
8
8
7
1
Value
‘0’
‘0’
‘11020X’
‘0’
x
x
x
‘1’
description
start
bit
transmission
bit
CMD52/53 Stuff Bits
Response
Flags
Read or
Write Data
CRC7
end
bit
R6 (Published RCA response)
Code length is 48 bit. The bits [45:40] indicate the index of the command to be responded to
(CMD3). The 16 MSB bits of the argument field are used for the Published RCA number.
Table 24-21. Response R6
Bit position
47
46
[45:40]
[39:8] Argument field
[7:1]
0
Width
1
1
6
16
16
7
1
Value
‘0’
‘0’
‘000011’ x
x
x
‘1’
description
start
bit
transmission
bit
CMD3
New published RCA
of the card
card
status
bits:23,22,19,12:0
CRC7
end
bit
R7 (Card interface condition)
For SD memory only. Code length is 48 bits. The card support voltage information is sent by
the response of CMD8. Bits 19-16 indicate the voltage range that the card supports. The card
that accepted the supplied voltage returns R7 response. In the response, the card echoes
back both the voltage range and check pattern set in the argument.
Table 24-22. Response R7
Bit position
47
46
[45:40]
[39:20]
[19:16]
[15:8]
[7:1]
0
Width
1
1
6
20
4
8
7
1
Value
‘0’
‘0’
‘001000’
‘00000h’
x
x
x
‘1’
description
start
bit
transmission
bit
CMD8
Reserved
bits
Voltage
accepted
echo-back of
check pattern
CRC7
end
bit
24.5.4.
Data packets format
There are 3 data bus mode, 1-bit, 4-bit and 8-bit width. 1-bit mode is mandatory, 4-bit and 8-
bit mode is optional. Although using 1-bit mode, DAT3 also need to notify card current working
mode is SDIO or SPI, when card reset and initialize.
Содержание GD32F20 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F20x ARM Cortex M3 32 bit MCU User Manual Revision 2 2 Oct 2019 ...
Страница 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Страница 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Страница 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Страница 385: ...GD32F20x User Manual 385 ...
Страница 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...