UM10237_2 © NXP B.V. 2008. All rights reserved.
User manual Rev. 02 — 19 December 2008 555 o f 792
NXP Semiconductors UM10237
Chapter 21: LPC24XX SD/MMC card interface
When the WAIT state is entered, the command timer starts running. If the timeout1 is
reached before the CPSM moves to the RECEIVE state, the timeout flag is set and the
IDLE2 state is entered.
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 dat a
path subunit. When CmdPend is detected, the CPSM moves to the SEND state. This
enables the data counter to trigger the stop command transmission.
Figure 21–108 shows the MCI command transfer.
Fig 107. Command path state machine
IDLE
PEND
SEND WAIT
RECEIVE
Enabled and
Pending command
Disabled
Enabled and
command start
LastData
Wait for
response
Disabled or
no response
Disabled
or timeout
Response
started
Response received
or disabled or
command CRC failed
1. The time out period has a fixed value of 64 MCICLK clocks period.
2. The CPSM remains in the IDLE state for at least eight MCICLK periods to meet N cc and Nrc timing constraints.
Fig 108. MCI command transfer
MCICLK
State
MCICMD
COMMAND RESPONSE COMMAND
IDLE SEND WAIT RECEIVE IDLE SEND
HI-Z controller drives HI-Z card drives HI-Z controller drives
min 8
MCICLK