Response Formats; R1 (Normal Response Command); Table 122. Lock Card; Table 123. Application-Specific Commands - ST STM32F102 Series Reference Manual

Hide thumbs Also See for STM32F102 Series:
Table of Contents

Advertisement

SDIO interface (SDIO)

Table 122. Lock card

CMD
Type
Argument
index
CMD42 adtc
[31:0] stuff bits
CMD43
...
Reserved
CMD54

Table 123. Application-specific commands

CMD
Type
Argument
index
[31:16] RCA
CMD55
ac
[15:0] stuff bits
[31:1] stuff bits
CMD56
adtc
[0]: RD/WR
CMD57
...
Reserved.
CMD59
CMD60
...
Reserved for manufacturer.
CMD63
19.5

Response formats

All responses are sent via the MCCMD command line SDIO_CMD. The response
transmission always starts with the left bit of the bit string corresponding to the response
code word. The code length depends on the response type.
A response always starts with a start bit (always 0), followed by the bit indicating the
direction of transmission (card = 0). A value denoted by x in the tables below indicates a
variable entry. All responses, except for the R3 response type, are protected by a CRC.
Every command code word is terminated by the end bit (always 1).
There are five types of responses. Their formats are defined as follows:
19.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.
446/690
Response
Abbreviation
format
R1b
LOCK_UNLOCK
Response
Abbreviation
format
R1
APP_CMD
Description
Sets/resets the password or locks/unlocks
the card. The size of the data block is set
by the SET_BLOCK_LEN command.
Description
Indicates to the card that the next command
bits is an application specific command rather
than a standard command
Used either to transfer a data block to the card
or to get a data block from the card for general
purpose/application-specific commands. The
size of the data block shall be set by the
SET_BLOCK_LEN command.
RM0008

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