RM0033 Rev 9 741/1381
RM0033 Secure digital input/output interface (SDIO)
791
Command path
The command path unit sends commands to and receives responses from the cards.
Figure 292. SDIO adapter command path
• Command path state machine (CPSM)
– When the command register is written to and the enable bit is set, command
transfer starts. When the command has been sent, the command path state
machine (CPSM) sets the status flags and enters the Idle state if a response is not
required. If a response is required, it waits for the response (see Figure 293 on
page 742). When the response is received, the received CRC code and the
internally generated code are compared, and the appropriate status flags are set.
ai15900b
Adapter registers
CMD
Status
flag
CRC
Shift
register
CMD
To control unit
SDMMC_CMDin
SDMMC_CMDout
To APB2 interface
Control
logic
Command
timer
Argument
Response
registers