Data Transfer Commands - Altera cyclone V Technical Reference

Hard processor system
Hide thumbs Also See for cyclone V:
Table of Contents

Advertisement

cv_5v4
2016.10.28
Parameter
cmd_index
send_initialization
stop_abort_cmd
response_length
response_expect
Table 14-21: User Selectable
Parameter
wait_prvdata_complete
check_response_crc

Data Transfer Commands

Data transfer commands transfer data between the memory card and the controller. To issue a data
command, the controller requires a command argument, total data size, and block size. Data transferred to
or from the memory card is buffered by the controller FIFO buffer.
Confirming Transfer State
Before issuing a data transfer command, software must confirm that the card is not busy and is in a
transfer state, by performing the following steps:
SD/MMC Controller
Send Feedback
Value
Command
Set this parameter to the command number. For
Index
example, set to 8 for the SD/SDIO SEND_IF_
COND (CMD8) command.
0 or 1
1 for card reset commands such as the SD/SDIO
GO_IDLE_STATE command
0 otherwise
0 or 1
1 for a command to stop data transfer, such as the
SD/SDIO STOP_TRANSMISSION command
0 otherwise
0 or 1
1 for R2 (long) response
0 for short response
0 or 1
0 for commands with no response, such as SD/
SDIO GO_IDLE_STATE, SET_DSR (CMD4), or
GO_INACTIVE_STATE (CMD15).
1 otherwise
Value
1
Before sending a command on the command line,
the host must wait for completion of any data
command already in process. Altera recommends
that you set this bit to 1, unless the current
command is to query status or stop data transfer
when transfer is in progress.
1 or 0
1 if the response includes a valid CRC, and the
software is required to crosscheck the response
CRC bits.
0 otherwise
Data Transfer Commands
Comment
Comment
Altera Corporation
14-49

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents