29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Secure digital input/output interface (SDIO)<br />

RM0008<br />

Table 140.<br />

CMD<br />

index<br />

Type<br />

I/O mode comm<strong>and</strong>s (continued)<br />

Argument<br />

Response<br />

format<br />

Abbreviation<br />

Description<br />

CMD40 bcr [31:0] stuff bits R5 GO_IRQ_STATE Places the system in the interrupt mode.<br />

CMD41<br />

Reserved<br />

Table 141.<br />

Lock card<br />

CMD<br />

index<br />

Type<br />

Argument<br />

Response<br />

format<br />

Abbreviation<br />

Description<br />

CMD42 adtc [31:0] stuff bits R1b LOCK_UNLOCK<br />

Sets/resets the password or locks/unlocks<br />

the card. The size of the data block is set<br />

by the SET_BLOCK_LEN comm<strong>and</strong>.<br />

CMD43<br />

...<br />

CMD54<br />

Reserved<br />

Table 142.<br />

CMD<br />

index<br />

Application-specific comm<strong>and</strong>s<br />

Type<br />

Argument<br />

Response<br />

format<br />

Abbreviation<br />

Description<br />

CMD55<br />

ac<br />

[31:16] RCA<br />

[15:0] stuff bits<br />

R1<br />

APP_CMD<br />

Indicates to the card that the next comm<strong>and</strong><br />

bits is an application specific comm<strong>and</strong> rather<br />

than a st<strong>and</strong>ard comm<strong>and</strong><br />

CMD56<br />

adtc<br />

[31:1] stuff bits<br />

[0]: RD/WR<br />

Used either to transfer a data block to the card<br />

or to get a data block from the card for general<br />

purpose/application-specific comm<strong>and</strong>s. The<br />

size of the data block shall be set by the<br />

SET_BLOCK_LEN comm<strong>and</strong>.<br />

CMD57<br />

...<br />

CMD59<br />

Reserved.<br />

CMD60<br />

...<br />

CMD63<br />

Reserved for manufacturer.<br />

20.5 Response formats<br />

All responses are sent via the MCCMD comm<strong>and</strong> line SDIO_CMD. The response<br />

transmission always starts with the left bit of the bit string corresponding to the response<br />

code word. The code length depends on the response type.<br />

A response always starts with a start bit (always 0), followed by the bit indicating the<br />

direction of transmission (card = 0). A value denoted by x in the tables below indicates a<br />

variable entry. All responses, except for the R3 response type, are protected by a CRC.<br />

Every comm<strong>and</strong> code word is terminated by the end bit (always 1).<br />

There are five types of responses. Their formats are defined as follows:<br />

490/995 Doc ID 13902 Rev 9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!