Start
Set the SD_SYSCONFIG[1]
SOFTRESET bit to 0x1
Read the
SD_SYSSTATUS[0]
RESETDONE bit
RESETDONE = 0x1?
End
No
Yes
Low-Level Programming Models
18.4.2.2 SD Soft Reset Flow
shows the soft reset process of MMC/SD/SDIO controller.
Figure 18-33. MMC/SD/SDIO Controller Software Reset Flow
18.4.2.3 Set SD Default Capabilities
Software must read capabilities (in boot ROM for instance) and is allowed to set (write) SD_CAPA[26:24]
and SD_CUR_CAPA[23:0] registers before the MMC/SD/SDIO host driver is started.
18.4.2.4 Wake-Up Configuration
details SD controller wake-up configuration.
Table 18-18. MMC/SD/SDIO Controller Wake-Up Configuration
Step
Access Type
Register/Bit Field/Programming Model
Configure wake-up bit (if necessary).
W
SD_SYSCONFIG[2] ENAWAKEUP
Enable wake-up events on SD card interrupt (if
W
SD_HCTL[24] IWE
necessary).
SDIO Card onlyEnable card interrupt (if necessary).
W
SD_IE[8] CIRQENABLE
3385
SPRUH73H – October 2011 – Revised April 2013
Multimedia Card (MMC)
Copyright © 2011–2013, Texas Instruments Incorporated