Peripheral - Secure Digital and MultiMediaCard (SDMMC)

SDMMC
Secure Digital and MultiMediaCard
SDMMC
Secure Digital and MultiMediaCard
Highlights
Secure Digital/ MultiMediaCard interface
(SDMMC) provides an interface between
SD/SDIO/MMC cards and the AHB bus.
The SDMMC module is able to transfer a
maximum of 24 MB/sec for SD cards
and 48 MB/sec for MMC cards.
Key Feature
Customer Benefits
Compliant with the SD and MMC
standards
Software compatibility, easy to port
existing code to XMC4000 device
Supports read wait control and
suspend/resume operation
Simpler handling of overrun and
underrun events
2014-07-01
Copyright © Infineon Technologies AG 2014. All rights reserved.
Page 2
SDMMC
Compliant with the SD and MMC standards
XMC4000 supported SD and MMC standards
 SD card host controller version 2.0
 SD physical layer specification version 2.0
 SDIO card specification version 2.0
 SD memory card security specification version 1.01
 MMC specification version 3.31, 4.2 and 4.4
 Fully compatible with earlier versions of MMC
 Supports SD, SDIO, SDHC and MMC cards at up to 48 MHz
Source: https://www.sdcard.org
2014-07-01
Copyright © Infineon Technologies AG 2014. All rights reserved.
Page 3
SDMMC
Supports read wait control and suspend/resume operation
 Supports read wait control and Suspend/Resume operation
Read operation
Read/ Write suspend
SDMMC
Data
FIFO
SD2.0/
SDIO2.0/
MMC4.4
Device
Read wait
SDMMC
Suspend
SD2.0/
SDIO2.0/
MMC4.4
Device
Read/ Write operation
SDMMC
FIFO full
2014-07-01
read
wait
SD2.0/
SDIO2.0/
MMC4.4
Device
SDMMC
Copyright © Infineon Technologies AG 2014. All rights reserved.
Resume
SD2.0/
SDIO2.0/
MMC4.4
Device
Page 4
SDMMC
System Integration
XMC4100
XMC4200
XMC4400
XMC4500
●
 Interconnection to PORTS
 Target applications


Connectivity

Human Machine Interface

General Purpose
Interconnection to Nested Vector Interrupt
Controller (NVIC)

2014-07-01
Trigger interrupt if any interrupt bits
are set in the interrupt status register

SDCD signal indicates card detection

SDWC signal indicates SD card read
protection

RST signal triggers hardware reset to
card

BUS_POWER signal controls power
supply to the card

LED signal (LED light) indicates that
card is being accessed

CLK signal indicates clock supplied to
the card, or feedback clock from the
pad

DATA signal transmits data to the card,
or receives data from the card

CMD signal sends command in the cmd
line, and receives response from the
SD/MMC card
Copyright © Infineon Technologies AG 2014. All rights reserved.
Page 5
SDMMC
Table of contents
 SD/SDIO/MMC details
 SDMMC use-cases and benefits
2014-07-01
Copyright © Infineon Technologies AG 2014. All rights reserved.
Page 6
SDMMC
SD/SDIO/MMC details
 SD/ SDIO transmission details

Transfers data in 1 bit and 4 bit SD modes

Cyclic redundancy check CRC7 for command and CRC16 for data
integrity
 MMC Card Interface
 Supports MMC Plus and MMC Mobile
 MMC Card detection for insertion/removal
 Error Correction Codes (ECC)
 Miscellaneous
 Two 512 byte buffer for data transfers between core and cards
 Handles FIFO overrun and underrun conditions

Software support by DAVETM Apps and Low-level driver, including
FAT32 file system for direct PC to XMC4000 file exchange
2014-07-01
Copyright © Infineon Technologies AG 2014. All rights reserved.
Page 7
SDMMC
Use cases and benefits
Typical use cases
 Memory Extension
 Data Logging
 Firmware update
 Data transfer PC ↔ Application
SD & MMC benefits
 Simpler than USB
 Mass storage in BGA and small card
 Easier support of flash storage (erase and lock command)
 Can support up to 24MB/s (4 data lines, SD card), and 48MB/s
(8 data lines, MMC card)
2014-07-01
Copyright © Infineon Technologies AG 2014. All rights reserved.
Page 8