Start
Read the MMCi.MMCHS_STAT[2]
BGE bit
Start a write or a read data
transfer
Set the MMCi.MMCHS_HCTL[16]
SBGR bit to 0x1 in order to stop at
block gap request
Read the MMCi.MMCHS_STAT[1]
TC bit
Read the BS bit from the card
BGE = 0x1
Yes
Transaction stopped at
block gap
No
TC = 0x1
Yes
Data transfer complete
Send a suspend command
(CMD52 with the correct
argument)
No
No transfer
completed
Read the MMCi.MMCHS_STAT[1]
TC bit
TC = 0x1
Yes
Data transfer complete
No
No transfer
completed
Clear SBGR and set CR in
MMCi.MMCHS_HCTL register with the
same write action
End
BS = 0x1
Read the BR bit from the card
BR = 0x1
Yes
Yes
Send a cancel suspend
command
Read the BS bit from the card
BS = 0x1
Yes
Save the MMCi.MMCHS_BLK register
No
Clear the MMCi.MMCHS_HCTL[16]
SBGR bit
No
No
This value will be restored
during the resume flow
(see the corresponding flowchart)
mmchs-038
Public Version
MMC/SD/SDIO Basic Programming Model
www.ti.com
Figure 24-41. MMC/SD/SDIO Controller Suspend Flow
24.5.2.6.2 Resume Flow
describes the resume flow for SDIO cards.
3406
MMC/SD/SDIO Card Interface
SWPU177N – December 2009 – Revised November 2010
Copyright © 2009–2010, Texas Instruments Incorporated