09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

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.

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

Command path<br />

The command path unit sends commands to and receives responses from the cards.<br />

Figure 315. SDIO adapter command path<br />

To control unit<br />

Adapter registers<br />

CMD<br />

Argument<br />

To APB2 interface<br />

CMD<br />

Status<br />

flag<br />

Response<br />

registers<br />

Control<br />

logic<br />

Shift<br />

register<br />

Command<br />

timer<br />

ai15900<br />

● Command path state machine (CPSM)<br />

– When the command register is written to and the enable bit is set, command<br />

transfer starts. When the command has been sent, the command path state<br />

machine (CPSM) sets the status flags and enters the Idle state if a response is not<br />

required. If a response is required, it waits for the response (see Figure 316 on<br />

page 849). When the response is received, the received CRC code and the<br />

internally generated code are compared, and the appropriate status flags are set.<br />

CRC<br />

SDIO_CMDin<br />

SDIO_CMDout<br />

Doc ID 018909 Rev 3 848/1416

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

Saved successfully!

Ooh no, something went wrong!