Step 1:

Zynq UltraScale+ Device Technical Reference Manual (UG1085)

Document ID
Release Date
2.4 English

Ensure that the DMA is not in a busy state by reading the STATE field of ZDMA_CH_STATUS and ensuring that it is not 10. In case DMA is in the PAUSE state, follow the steps to bring it out of the PAUSE state as described in Channel Paused.