09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

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

Table 146. I/O mode commands (continued)<br />

CMD<br />

index<br />

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

CMD41 Reserved<br />

Type Argument<br />

Table 147. Lock card<br />

CMD<br />

index<br />

Type Argument<br />

Response<br />

format<br />

Response<br />

format<br />

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

CMD43<br />

...<br />

CMD54<br />

Reserved<br />

Table 148. Application-specific commands<br />

CMD<br />

index<br />

CMD55 ac<br />

CMD56 adtc<br />

CMD57<br />

...<br />

CMD59<br />

CMD60<br />

...<br />

CMD63<br />

Type Argument<br />

Reserved.<br />

[31:16] RCA<br />

[15:0] stuff bits<br />

[31:1] stuff bits<br />

[0]: RD/WR<br />

Reserved for manufacturer.<br />

Response<br />

format<br />

28.5 Response formats<br />

R1 APP_CMD<br />

Abbreviation Description<br />

Abbreviation Description<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 command.<br />

Abbreviation Description<br />

Indicates to the card that the next command<br />

bits is an application specific command rather<br />

than a standard command<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 commands. The<br />

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

SET_BLOCK_LEN command.<br />

All responses are sent via the MCCMD command 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 command code word is terminated by the end bit (always 1).<br />

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

Doc ID 018909 Rev 3 876/1416

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

Saved successfully!

Ooh no, something went wrong!