Registers
1309
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Multimedia Card (MMC)/Secure Digital (SD) Card Controller
26.4.13 MMC Command Register (MMCCMD)
NOTE:
Writing to the MMC command register (MMCCMD) causes the MMC controller to send the
programmed command. Therefore, the MMC argument register (MMCARGHL) must be
loaded properly before a write to MMCCMD.
The MMC command register (MMCCMD) specifies the type of command to be sent and defines the
operation (command, response, additional activity) for the MMC controller. The content of MMCCMD is
kept after the transfer to the transmit shift register. The MMC command register (MMCCMD) is shown in
and described in
.
When the CPU writes to MMCCMD, the MMC controller sends the programmed command, including any
arguments in the MMC argument register (MMCARGHL). For the format of a command (index, arguments,
and other bits), see
and
Figure 26-29. MMC Command Register (MMCCMD)
31
24
Reserved
R-0
23
17
16
Reserved
DMATRIG
R-0
R/W-0
15
14
13
12
11
10
9
8
DCLR
INITCK
WDATX
STRMTP
DTRW
RSPFMT
BSYEXP
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
7
6
5
0
PPLEN
Reserved
CMD
R/W-0
R-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 26-18. MMC Command Register (MMCCMD) Field Descriptions
Bit
Field
Value
Description
31-17
Reserved
0
Reserved
16
DMATRIG
Data transfer triggering. (Read back as 0.)
0
Data transfer has not been triggered.
1
Data transfer is triggered.
15
DCLR
Data receive/transmit clear. Use this bit to clear the data receive ready (DRRDY) bit and the data
transmit ready (DXRDY) bit in the MMC status register 0 (MMCST0) before a new read or write
sequence. This clears any previous status.
0
Do not clear DRRDY and DXRDY bits in MMCST0.
1
Clear DRRDY and DXRDY bits in MMCST0.
14
INITCK
Initialization clock cycles.
0
Do not insert initialization clock cycles.
1
Insert initialization clock cycles; insert 80 CLK cycles before sending the command specified in the CMD
bits. These dummy clock cycles are required for resetting a card after power on.
13
WDATX
Data transfer indicator.
0
There is no data transfer.
1
There is a data transfer associated with the command.