AM263x MCU+ SDK  08.05.00
MMCSD

Note
EMMC Flash card is not available in AM263x board.

Multi-Media Card Secure Digital (MMCSD) peripheral is a driver which provides an interface with storage devices which follows MMC/SD/SDIO protocol. The driver supports single bit, four bit data lines to communicate with the connected media. The MMCSD controller provides accessibility to external MMC/SD/SDIO devices using a programmed IO method. There is only one MMCSD module inside the SOC - MMCSD0.

Features Supported

  • 64-bit data, address width System Bus Interface
  • SD command/response sets as defined in the SD Physical Layer specification v2.00
  • Operating voltage range VCC = 3.3 V
  • High-speed MMCSD protocol, Clock frequency : 0-200MHz

SysConfig Features

Note
It is strongly recommend to use SysConfig where it is available instead of using direct SW API calls. This will help simplify the SW application and also catch common mistakes early in the development cycle.

Features not Supported

  • No integrated DMA Controller support
  • MMCSD instance does not support DDR mode

Example Usage

Include the below file to access the APIs

#include <stdio.h>
#include <drivers/mmcsd.h>

Instance Open Example

MMCSD_Params mmcsdParams;
MMCSD_Params_init(&mmcsdParams);
gMmcsdHandle = MMCSD_open(0, &mmcsdParams);
DebugP_assert(gMmcsdHandle != NULL);

Instance Close Example

MMCSD_close(gMmcsdHandle);

API

APIs for MMCSD

MMCSD_open
MMCSD_Handle MMCSD_open(uint32_t index, const MMCSD_Params *openParams)
This function opens a given MMCSD peripheral.
MMCSD_Params
Definition: mmcsd/v1/mmcsd.h:422
MMCSD_Params_init
void MMCSD_Params_init(MMCSD_Params *mmcsdParams)
Initialize data structure with defaults.
mmcsd.h
MMCSD_close
void MMCSD_close(MMCSD_Handle handle)
Function to close a MMCSD peripheral specified by the MMCSD handle.
DebugP_assert
#define DebugP_assert(expression)
Function to call for assert check.
Definition: DebugP.h:159