Altera cyclone V Technical Reference page 1003

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

Advertisement

cv_5v4
2016.10.28
1. Set the
wait_prvdata_complete
2. Set the
stop_abort_cmd
The STOP_TRANSMISSION command is a non-data transfer command.
Related Information
Non-Data Transfer Commands
Refer to this section for information on the STOP_TRANSMISSION command.
ABORT
The ABORT command can only be used with SDIO cards. To abort the function that is transferring data,
program the ABORT function number in the ASx[2:0] bits at address 0x06 of the card common control
register (CCCR) in the card device, using the IO_RW_DIRECT (CMD52) command. The CCCR is
located at the base of the card space 0x00 – 0xFF.
Note: The ABORT command is a non-data transfer command.
Related Information
Non-Data Transfer Commands
Refer to this section for information on the ABORT command.
Sending the ABORT Command
Perform the following steps to send the ABORT command to the SDIO card device:
1. Set the
cmdarg
Register Settings for SD/SDIO ABORT Command.
2. Send the IO_RW_DIRECT command by setting the following fields of the
• Set the command index to 0x52 (IO_RW_DIRECT).
• Set the
the data transfer.
• Set the
3. Wait for the
4. Read the response to the IO_RW_DIRECT command (R5) in the response registers for any errors.
For more information about response values, refer to the Physical Layer Simplified Specification, Version
3.01, available on the SD Association website.
Related Information
SD Association
To learn more about how SD technology works, visit the SD Association website (www.sdcard.org).
cmdarg Register Settings for SD/SDIO ABORT Command
Table 14-26: cmdarg Register Settings for SD/SDIO ABORT Command
Bits
31
30:28
SD/MMC Controller
Send Feedback
bit of the
in the
cmd
on page 14-47
on page 14-47
register to include the appropriate command argument parameters listed in cmdarg
bit of the
stop_abort_cmd
wait_prvdata_complete
bit in the
cmd
rintsts
Contents
R/​W flag
Function number
register to 0.
cmd
register to 1, which ensures that the CIU stops.
register to 1 to inform the controller that the host aborted
cmd
bit of the
register to 0.
cmd
register to change to 1.
1
0, for access to the CCCR in the card device
ABORT
register:
cmd
Value
Altera Corporation
14-57

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents