Response Formats; Table 149. Lock Card; Table 150. Application-Specific Commands - ST STM32F40 Series Reference Manual

Hide thumbs Also See for STM32F40 Series:
Table of Contents

Advertisement

RM0090
Table 148. I/O mode commands (continued)
CMD
Type
Argument
index
CMD40 bcr
[31:0] stuff bits
CMD41 Reserved

Table 149. Lock card

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

Table 150. 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
28.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:
Response
Abbreviation
format
R5
GO_IRQ_STATE Places the system in the interrupt mode.
Response
Abbreviation
format
R1b
LOCK_UNLOCK
Response
Abbreviation
format
R1
APP_CMD
Doc ID 018909 Rev 4
Secure digital input/output interface (SDIO)
Description
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.
880/1422

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Stm32f41 seriesStm32f42 seriesStm32f43 seriesRm0090

Table of Contents

Save PDF