Steps for a Non-DMA Data Transaction

Zynq UltraScale+ Device Technical Reference Manual (UG1085)

Document ID
UG1085
Release Date
2023-12-21
Revision
2.4 English

1.Set the value corresponding to the executed data byte length of one block to the block size register.

2.Set the value corresponding to the executed data block count to the block count register.

3.Set the value corresponding to the issued command to the argument register.

4.Set the value to multi or single block select and block count enable.

5.Set the value corresponding to the issued command to the data transfer direction, auto CMD12 enable, and DMA enable.

6.Set the value corresponding to the issued command in the command register. When writing the upper byte of the command register, the SD command is issued.

7.Wait for the command complete interrupt.

8.Write a 1 to the command complete in the normal interrupt status register to clear this bit.

9.Read the response register and get the necessary information in accordance with the issued command.

10.When this sequence is used for writing to a card, go to step 11. When reading from a card, go to step 15.

11.Wait for a buffer write ready interrupt.