19.4
MCIF Activation
The MMC is an external storage media that can be disconnected. The MCIF controls data transfer
with the MMC, however, it cannot control insertion and ejection of the MMC successfully.
Firmware should be used to control insertion and ejection of the MMC by using an external
interrupt and general ports of this LSI.
19.4.1
Initial Status
The power supplied to the MMC is turned on or off by general port output of this LSI.
Inputs/outputs of the input/output pins such as MCCLK, MCCMD/MCTxD, MCDAT/MCRxD,
MCCSA/MCDATDIR, and MCCSB/MCCMDDIR are enabled/disabled by the MMCPE bit in
IOMCR. When the MMCPE bit is set to 1, the CLKON bit should be cleared to 0 so that the
transfer clock is applied after the other inputs/outputs are stabilized.
19.4.2
Activation Procedure
When MMC insertion is detected, the MCIF should be activated by the following procedures:
MMC Mode:
• Enable power supply to the MMC by general port output.
• Enable input/output signals by setting the MMCPE bit to 1.
• Start transfer clock application by setting the CLKON bit to 1.
SPI Mode:
• Enable power supply to the MMC by general port output.
• Specify bits for SPCNUM and CHIPSA in IOMCR according to the number of MMC slots and
inserted MMCs.
• Enable input/output signals by setting the MMCPE bit to 1.
• Start transfer clock application by setting the CLKON bit to 1.
Section 19 Multimedia Card Interface (MCIF)
Rev. 3.00 Jan 25, 2006 page 655 of 872
REJ09B0286-0300