65.14.45 SDMMC e.MMC Control 1 Register

Name: SDMMC_MC1R
Offset: 0x204
Reset: 0x00
Property: Read/Write

Bit 76543210 
 FCDRSTNBOOTAOPDDDR CMDTYP[1:0] 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0000000 

Bit 7 – FCD e.MMC Force Card Detect

When using e.MMC, the user can set this bit to 1 to bypass the card detection procedure using the SDMMC_CD signal.

0 (DISABLED): e.MMC Forced Card Detect is disabled. The SDMMC_CD signal is used and debounce timing is applied.

1 (ENABLED): e.MMC Forced Card Detect is enabled.

Bit 6 – RSTN e.MMC Reset Signal

This bit controls the e.MMC reset signal.

ValueDescription
0

Reset signal is inactive.

1

Reset signal is active.

Bit 5 – BOOTA e.MMC Boot Acknowledge Enable

This bit must be set according to the value of BOOT_ACK in the Extended CSD Register (see “Embedded MultiMedia Card (e.MMC) Electrical Standard 4.51” ).

When this bit is set to 1, the SDMMC waits for boot acknowledge pattern from the e.MMC before receiving boot data.

If the boot acknowledge pattern is wrong, the BOOTAE status flag rises in SDMMC_EISTR if BOOTAE is set in SDMMC_EISTER. An interrupt is generated if BOOTAE is set in SDMMC_EISIER.

If the no boot acknowledge pattern is received, the DATTEO status flag rises in SDMMC_EISTR if DATTEO is set in SDMMC_EISTER. An interrupt is generated if DATTEO is set in SDMMC_EISIER.

Bit 4 – OPD e.MMC Open Drain Mode

This bit sets the command line in open drain.

ValueDescription
0

The command line is in push-pull.

1

The command line is in open drain.

Bit 3 – DDR e.MMC HSDDR Mode

This bit selects the High Speed DDR mode.

The clock divider (DIV) in SDMMC_CCR must be set to a value different from 0 when DDR is 1.

ValueDescription
0

High Speed DDR is not selected.

1

High Speed DDR is selected.

Bits 1:0 – CMDTYP[1:0] e.MMC Command Type

ValueNameDescription
0 NORMAL The command is not an e.MMC specific command.
1 WAITIRQ This bit must be set to 1 when the e.MMC is in Interrupt mode (CMD40). See “Interrupt Mode” in the “Embedded MultiMedia Card (e.MMC) Electrical Standard 4.51” .
2 STREAM This bit must be set to 1 in the case of Stream Read(CMD11) or Stream Write (CMD20). Only effective for e.MMC up to revision 4.41.
3 BOOT Starts a Boot Operation mode at the next write to SDMMC_CR. Boot data are read directly from e.MMC device.