
Public Version
www.ti.com
MMC/SD/SDIO Register Manual
Table 24-51. MMCHS_CMD
Address Offset
0x10C
Physical Address
0x4809 C10C
Instance
MMCHS1
0x480A D10C
MMCHS3
0x480B 410C
MMCHS2
Description
Command and transfer mode register
MMCi.
[31:16] = the command register
MMCi.
[15:0] = the transfer mode.
This register configures the data and command transfers. A write into the most significant byte send the
command. A write into MMCi.
[15:0] registers during data transfer has no effect.
This register shall be used for any card.
Type
RW
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
INDX
Reserved
DP
DE
BCE
CICE
DDIR
ACEN
CCCE
MSBS
Reserved
Reserved
Reserved
RSP_TYPE
CMD_TYPE
Bits
Field Name
Description
Type
Reset
31:30
Reserved
Reserved bit field. Do not write any value
R
0x0
29:24
INDX
Command index Binary encoded value from 0 to 63 specifying the
RW
0x00
command number send to card
0x0:
CMD0 or ACMD0
0x1:
CMD1 or ACMD1
0x3F:
CMD63 or ACMD63
23:22
CMD_TYPE
Command type.
RW
0x0
This register specifies three types of special command: Suspend,
Resume and Abort. These bits shall be set to 0b00 for all other
commands.
0x0:
Others Commands
0x1:
Upon CMD52 "Bus Suspend" operation
0x2:
Upon CMD52 "Function Select" operation
0x3:
Upon CMD12 or CMD52 "I/O Abort" command
21
DP
Data present select.
RW
0
This register indicates that data is present and mmci_dat line shall
be used. It must be set to 0 in the following conditions:
- Command using only mmci_cmd line
-Command with no data transfer but using busy signal on
mmci_dat[0]
-Resume command
0x0:
Command with no data transfer
0x1:
Command with data transfer
20
CICE
Command Index check enable.
RW
0
This bit must be set to 1 to enable index check on command
response to compare the index field in the response against the
index of the command. If the index is not the same in the response
as in the command, it is reported as a command index error
(MMCi.
[19] CIE bit set to1) Note: The CICE bit
cannot be configured for an Auto CMD12, then index check is
automatically checked when this command is issued.
0x0:
Index check disable
0x1:
Index check enable
3437
SWPU177N – December 2009 – Revised November 2010
MMC/SD/SDIO Card Interface
Copyright © 2009–2010, Texas Instruments Incorporated