Altera Cyclone V Device Handbook page 734

Hide thumbs Also See for Cyclone V:
Table of Contents

Advertisement

11-56
The READ DMA EXT Command
• cmd register setting: data_expected bit set to 0
• cmdarg register settings:
• Bit [31] set to 0
• Bits [7:2] set to 128
• All other bits set to 0
• Task file settings:
• Command field of the ATA task file set to 0xEC
• Reserved fields of the task file set to 0
• bytcnt register and block_size field of the blksiz register: set to 16
The host controller uses the following settings for data retrieval (RW_BLK command):
• cmd register settings:
• ccs_expected set to 1
• data_expected set to 1
• cmdarg register settings:
• Bit [31] set to 0 (read operation)
• Bits [15:0] set to 1 (data unit count = 1)
• All other bits set to 0
• bytcnt register and block_size field of the blksiz register: set to 512
The READ DMA EXT Command
The READ DMA EXT command reads a number of logical blocks of data from the card device using the
Data-In data transfer protocol. The host uses a RW_REG command to issue the ATA command and the
RW_BLK command for the data transfer.
The WRITE DMA EXT Command
The WRITE DMA EXT command writes a number of logical blocks of data to the card device using the
Data-Out data transfer protocol. The host uses a RW_REG command to issue the ATA command and the
RW_BLK command for the data transfer.
The STANDBY IMMEDIATE Command
This ATA command causes the card device to immediately enter the most aggressive power management
mode that still retains internal device context. No data transfer (RW_BLK) is expected for this command.
For card devices that do not provide a power savings mode, the STANDBY IMMEDIATE command returns
a successful status indication. The host issues a RW_REG command for the ATA command, and the status
is retrieved with the SD/SDIO CMD39 or RW_REG command. Only the status field of the ATA task file
contains the success status; there is no error status.
The host controller uses the following settings while sending the RW_REG command for the STANDBY
IMMEDIATE ATA command:
Altera Corporation
cv_54011
2013.12.30
SD/MMC Controller
Send Feedback

Advertisement

Table of Contents
loading

Table of Contents