reg_command (SDIO) Register - UG1087

Zynq UltraScale+ Devices Register Reference (UG1087)

Document ID
UG1087
Release Date
2024-03-13
Revision
1.10

reg_command (SDIO) Register Description

Register Namereg_command
Offset Address0x000000000E
Absolute Address 0x00FF16000E (SD0)
0x00FF17000E (SD1)
Width16
TyperwNormal read/write
Reset Value0x00000000
DescriptionController Commands.

reg_command (SDIO) Register Bit-Field Summary

Field NameBitsTypeReset ValueDescription
command_cmdindex13:8rwNormal read/write0x0Write the command number used with:
* CMD [0:63].
* ACMD [0:63].
command_cmdtype 7:6rwNormal read/write0x0Assert a special command type; there are three types: suspend, resume, and abort.
Suspend Command:
If the Suspend command succeeds, the controller assumes the SD I/O has been released and that it is possible to issue the next command using the SD_DAT signals. The controller de-asserts Read Wait for read transactions and stops checking busy for write transactions. The Interrupt cycle starts in 4-bit mode. If the Suspend command fails, the controller maintain its current state. and the controller shall restart the transfer by setting Continue Request in the Block Gap Control Register.
Resume Command:
The SDIO controller re-starts the data transfer by restoring the registers in the range of 000-00Dh. The controller checks for busy before starting write transfers.
Abort Command:
* If this command is set when executing a read transfer, the controller stops adding content to the receive buffer. * If this command is set when executing a write transfer, the controller stops driving the SD_DAT signals.
After issuing the Abort command, the controller should issue a software reset.
00: Normal
01: Suspend
10: Resume
11: Abort
command_datapresent 5rwNormal read/write0x0This bit is set to 1 to indicate that data is present and shall be transferred using the DAT line. If is set to 0 for the following:
1. Commands using only CMD line (ex. CMD52).
2. Commands with no data transferbut using busy signal on DAT[0]line (R1b or R5b ex. CMD38).
3. Resume Command.
0 Data not Present
1 Data present
command_indexchkena 4rwNormal read/write0x0If this bit is set to 1, the HC shall check the index field in the response to see if it has the same value as the command index. If it is not, it is reported as a Command Index Error. If this bit is set to 0, the Index field is not checked.
0 Disable
1 Enable
command_crcchkena 3rwNormal read/write0x0If this bit is set to 1, the HC shall check the CRC field in the response. If an error is detected, it is reported as a Command CRC Error. If this bit is set to 0, the CRC field is not checked.
0 Disable
1 Enable
command_responsetype 1:0rwNormal read/write0x0Response Type Select.
00 No Response
01 Response Length 136
10 Response Length 48
11 Response Length 48 check busy after response