Texas Instruments TMS320DM644x manual MMC Command Register Mmccmd, Dmatrig, Dclr

Models: TMS320DM644x

1 61
Download 61 pages 29.83 Kb
Page 52
Image 52

www.ti.com

Registers

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.

When the ARM 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 Figure 31 and Table 19.

The MMC command register (MMCCMD) is shown in Figure 30 and described in Table 18.

Figure 30. 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 18. MMC Command Register (MMCCMD) Field Descriptions

Bit

Field

Value

Description

31-17

Reserved

0

Reserved

16

DMATRIG

 

DMA transfer event generation enable.

 

 

0

DMA transfer event generation is disabled.

 

 

1

DMA transfer event generation is enabled.

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.

1Insert 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.

52

Multimedia Card (MMC)/Secure Digital (SD) Card Controller

SPRUE30B –September 2006

Submit Documentation Feedback

Page 52
Image 52
Texas Instruments TMS320DM644x manual MMC Command Register Mmccmd Field Descriptions, Dmatrig, Dclr