h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 707

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
19.4
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
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
When MMC insertion is detected, the MCIF should be activated by the following procedures:
MMC Mode:
SPI 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.
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.
MCIF Activation
Activation Procedure
Initial Status
Section 19 Multimedia Card Interface (MCIF)
Rev. 3.00 Jan 25, 2006 page 655 of 872
REJ09B0286-0300

Related parts for h8s-2158