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 />

By using these commands without including the voltage range as the operand, the SDIO<br />

card host can query each card and determine the common voltage range before placing outof-range<br />

cards in the inactive state. This query is used when the SDIO card host is able to<br />

select a common voltage range or when the user requires notification that cards are not<br />

usable.<br />

28.4.4 Card identification process<br />

The card identification process differs for MultiMediaCards and SD cards. For<br />

MultiMediaCard cards, the identification process starts at clock rate Fod . The SDIO_CMD<br />

line output drivers are open-drain and allow parallel card operation during this process. The<br />

registration process is accomplished as follows:<br />

1. The bus is activated.<br />

2. The SDIO card host broadcasts SEND_OP_COND (CMD1) to receive operation<br />

conditions.<br />

3. The response is the wired AND operation of the operation condition registers from all<br />

cards.<br />

4. Incompatible cards are placed in the inactive state.<br />

5. The SDIO card host broadcasts ALL_SEND_CID (CMD2) to all active cards.<br />

6. The active cards simultaneously send their CID numbers serially. Cards with outgoing<br />

CID bits that do not match the bits on the command line stop transmitting and must wait<br />

for the next identification cycle. One card successfully transmits a full CID to the SDIO<br />

card host and enters the Identification state.<br />

7. The SDIO card host issues SET_RELATIVE_ADDR (CMD3) to that card. This new<br />

address is called the relative card address (RCA); it is shorter than the CID and<br />

addresses the card. The assigned card changes to the Standby state, it does not react<br />

to further identification cycles, and its output switches from open-drain to push-pull.<br />

8. The SDIO card host repeats steps 5 through 7 until it receives a timeout condition.<br />

For the SD card, the identification process starts at clock rate Fod, and the SDIO_CMD line<br />

output drives are push-pull drivers instead of open-drain. The registration process is<br />

accomplished as follows:<br />

1. The bus is activated.<br />

2. The SDIO card host broadcasts SD_APP_OP_COND (ACMD41).<br />

3. The cards respond with the contents of their operation condition registers.<br />

4. The incompatible cards are placed in the inactive state.<br />

5. The SDIO card host broadcasts ALL_SEND_CID (CMD2) to all active cards.<br />

6. The cards send back their unique card identification numbers (CIDs) and enter the<br />

Identification state.<br />

7. The SDIO card host issues SET_RELATIVE_ADDR (CMD3) to an active card with an<br />

address. This new address is called the relative card address (RCA); it is shorter than<br />

the CID and addresses the card. The assigned card changes to the Standby state. The<br />

SDIO card host can reissue this command to change the RCA. The RCA of the card is<br />

the last assigned value.<br />

8. The SDIO card host repeats steps 5 through 7 with all active cards.<br />

Doc ID 018909 Rev 3 858/1416

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

Saved successfully!

Ooh no, something went wrong!