29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

RM0008<br />

By using these comm<strong>and</strong>s without including the voltage range as the oper<strong>and</strong>, the SDIO<br />

card host can query each card <strong>and</strong> 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 />

20.4.4 Card identification process<br />

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

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

line output drivers are open-drain <strong>and</strong> 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 comm<strong>and</strong> line stop transmitting <strong>and</strong> must wait<br />

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

card host <strong>and</strong> 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 <strong>and</strong><br />

addresses the card. The assigned card changes to the St<strong>and</strong>by state, it does not react<br />

to further identification cycles, <strong>and</strong> 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 F od , <strong>and</strong> 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) <strong>and</strong> 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 <strong>and</strong> addresses the card. The assigned card changes to the St<strong>and</strong>by state. The<br />

SDIO card host can reissue this comm<strong>and</strong> 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 />

For the SD I/O card, the registration process is accomplished as follows:<br />

472/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!