Secure digital input/output interface (SDIO)
RM0090
1018/1731
DocID018909 Rev 11
Figure 330. Command path state machine (CPSM)
When the Wait state is entered, the command timer starts running. If the timeout is reached
before the CPSM moves to the Receive state, the timeout flag is set and the Idle state is
entered.
Note:
The command timeout has a fixed value of 64 SDIO_CK clock periods.
If the interrupt bit is set in the command register, the timer is disabled and the CPSM waits
for an interrupt request from one of the cards. If a pending bit is set in the command register,
the CPSM enters the Pend state, and waits for a CmdPend signal from the data path
subunit. When CmdPend is detected, the CPSM moves to the Send state. This enables the
data counter to trigger the stop command transmission.
Note:
The CPSM remains in the Idle state for at least eight SDIO_CK periods to meet the N
CC
and
N
RC
timing constraints. N
CC
is the minimum delay between two host commands, and N
RC
is
the minimum delay between the host command and the card response.
Idle
Pend
Send
Wait
Receive
Last Data
CPSM
disa
b
led
Ena
b
led and
command start
CPSM disa
b
led or
no response
Wait for response
Response
started
Response received or
disa
b
led or command
CRC failed
CPSM Disa
b
led or
command timeout
CPSM Ena
b
led and
pending command
ai14806
b
Wait_CPL
Response Received in CE-ATA
mode and no interrupt and
wait for CE-ATA Command
Completion signal ena
b
led
Response Received in CE-ATA mode and
no interrupt and wait for CE-ATA
Command Completion signal disa
b
led
CE-ATA Command
Completion signal
received or
CPSM disa
b
led or
Command CRC failed
On reset