Intel® PXA26x Processor Family Developer’s Manual 15-5
MultiMediaCard Controller
The MMCLK, MMCCS0, and MMCCS1 signals are routed through alternate functions withi n the
GPIO. Refer to Section4.1, “General-Purpose Input/Output” for a description of the process used
to assign these signals to a specific GPIO. Even though there are several GPIO assigned to each
signal, each signal must be programmed to one of the possible GPIOs. Refer to Section4.1.2,
“GPIO Alternate Functions” for a complete description of the GPIO alternate functions.
15.2.2 MultiMediaCard Controller Reset
The MMC controller can only be reset by a hard or sof t re set o f the pro cessor. The ways to reset the
processor and the MMC controller can be found in Section2.7, “Reset”. All registers and FIFO
controls are set to their default values after any reset.
15.2.3 Card Initialization Sequence
After reset, the MMC card must be initialized by sending 80 clocks to it on th e MMCLK signal . To
initialize the MMC card, set the MMC_CMDAT[I NIT] bit to a 1. This sends 80 clocks before the
current command in the MMC_CMD register. This function is useful for acquiring new cards that
have been inserted on the bus. Chip selects are not asserted during the initialization sequence.
After the 80-clock initialization sequence, the software must continuously send CMD1 (see
Table15-19 for command definitions) by loading the appropriate command index into the
MMC_CMD register until the card indicates that the power-up sequence is complet e. The soft ware
can then assign an address to the card or put it into SPI mode.
15.2.4 MMC and SPI Modes
After reset, the MMC card is in the MMC mode. The card may remain in MMC mode or be
configured to SPI mode by setting the MMC_SPI register bits. T he following sections briefly
describe each mode as it pertains to the MMC controller.

15.2.4.1 MMC Mode

In MMC mode, the MMCMD and MMDAT signals are bidi rectional and require external pullups.
The command and response tokens are sent and received via the MMCMD signal and data is read
and written via the MMDAT signal.
After an MMC card is powered on, it is assigned a default relativ e card address (RCA) of 0x0001.
The software assigns different addresses to each card during the initialization sequence described
in Section 15.2.3, “Card Initialization Sequence”. A card is then addressed by its new relative
Table 15-4. MMC Signal Description
Signal Name Input/Output Description
MMCLK Output Clock signal to MMC
MMCMD BiDirectional Command line
MMDAT BiDirectional D a ta line
MMCCS0 Output Chip Select 0 (used only in SPI mode)
MMCCS1 Output Chip Select 1 (used only in SPI mode)