Figure 215. Command Path State Machine (Cpsm) - ST STM32F101 series Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F101 series:
Table of Contents

Advertisement

Secure digital input/output interface (SDIO)
Last Data
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
N
timing constraints. N
RC
the minimum delay between the host command and the card response.
563/1128

Figure 215. Command path state machine (CPSM)

On reset
CPSM Enabled and
pending command
CPSM
disabled
Pend
Enabled and
command start
CPSM disabled or
no response
Send
Wait for response
Response Received in CE-ATA mode and
no interrupt and wait for CE-ATA
Command Completion signal disabled
is the minimum delay between two host commands, and N
CC
DocID13902 Rev 15
CE-ATA Command
Completion signal
received or
CPSM disabled or
Command CRC failed
Idle
Response received or
disabled or command
CRC failed
CPSM Disabled or
command timeout
Wait
Wait_CPL
Response Received in CE-ATA
mode and no interrupt and
wait for CE-ATA Command
Completion signal enabled
Receive
Response
started
ai14806b
RM0008
and
CC
is
RC

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F101 series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Stm32f107 seriesStm32f102 seriesStm32f103 seriesStm32f105 seriesStm32f101 series

Table of Contents