Agilex™ 7 Hard Processor System Technical Reference Manual

ID 683567
Date 8/13/2024
Public
Document Table of Contents

16.5.6.2.1. Sending the ABORT Command

Perform the following steps to send the ABORT command to the SDIO card device:

  1. Set the cmdarg register to include the appropriate command argument parameters listed in cmdarg Register Settings for SD/SDIO ABORT Command.
  2. Send the IO_RW_DIRECT command by setting the following fields of the cmd register:
    • Set the command index to 0x52 (IO_RW_DIRECT).
    • Set the stop_abort_cmd bit of the cmd register to 1 to inform the controller that the host aborted the data transfer.
    • Set the wait_prvdata_complete bit of the cmd register to 0.
  3. Wait for the cmd bit in the rintsts register to change to 1.
  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.