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

Figure 185. SDIO adapter comm<strong>and</strong> path<br />

To control unit<br />

Status<br />

flag<br />

Control<br />

logic<br />

Comm<strong>and</strong><br />

timer<br />

Adapter registers<br />

CMD<br />

SDIO_CMDin<br />

Argument<br />

CMD<br />

Shift<br />

register<br />

CRC<br />

SDIO_CMDout<br />

To AHB interface<br />

Response<br />

registers<br />

ai14805<br />

●<br />

Comm<strong>and</strong> path state machine (CPSM)<br />

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

transfer starts. When the comm<strong>and</strong> has been sent, the comm<strong>and</strong> path state<br />

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

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

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

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

462/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!