Nxp Semiconductors UM10237 用户手册

下载
页码 792
UM10237_2
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 02 — 19 December 2008 
551 of 792
 
1.
Basic configuration
The SD/MMC is configured using the following registers:
1. Power: In the PCONP register (
), set bit PC_MCI.
Remark: On reset, the SD/MMC is disabled (PCMCI = 0).
2. Clock: In PCLK_SEL1 select PCLK_MCI (see 
3. Pins: Select SD/MMC pins and their modes in PINSEL0 to PINSEL4 and PINMODE0 
to PINMODE4 (see 
). 
4. Interrupts: Interrupts are enabled in the VIC using the VICIntEnable register 
).
2.
Introduction
The Secure Digital and Multimedia Card Interface (MCI) is an interface between the 
Advanced Peripheral Bus (APB) system bus and multimedia and/or secure digital memory 
cards. It consists of two parts:
The MCI adapter block provides all functions specific to the Secure Digital/MultiMedia 
memory card, such as the clock generation unit, power management control, 
command and data transfer.
The APB interface accesses the MCI adapter registers, and generates interrupt and 
DMA request signals.
3.
Features of the MCI
The following features are provided by the MCI:
Conformance to Multimedia Card Specification v2.11.
Conformance to Secure Digital Memory Card Physical Layer Specification, v0.96.
Use as a multimedia card bus or a secure digital memory card bus host. It can be 
connected to several multimedia cards, or a single secure digital memory card.
DMA supported through the General Purpose DMA Controller.
4.
SD/MMC card interface pin description
 
UM10237
Chapter 21: LPC24XX SD/MMC card interface
Rev. 02 — 19 December 2008
User manual
Table 481. SD/MMC card interface pin description
Pin Name
Type
Description
MCICLK
Output
Clock output
MCICMD
Input
Command input/output.
MCIDAT[3:0]
Output
Data lines. Only MCIDAT[0] is used for Multimedia cards.
MCIPWR
Output
Power Supply Enable for external SD/MMC power supply.