Figure 185. Command Path State Machine (Cpsm) - ST STM32F102 Series Reference Manual

Hide thumbs Also See for STM32F102 Series:
Table of Contents

Advertisement

RM0008

Figure 185. Command path state machine (CPSM)

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.
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
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
SDIO interface (SDIO)
Wait_CPL
Response Received in CE-ATA
mode and no interrupt and
wait for CE-ATA Command
Completion signal enabled
Receive
Response
started
ai14806b
and
CC
is
RC
419/690

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F102 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f101 seriesStm32f103 series

Table of Contents