AnsweredAssumed Answered

FMCOMMS1 + VC707, adc_capture fail

Question asked by Constantine on Jan 12, 2017
Latest reply on Jan 18, 2017 by rejeesh

Hello,

Using VC707+FMCOMMS1, generated bit file, launched SDK and now try to run example main

 

But design fails on adc_capture function

     /* Wait until the current transfer is completed. */
     do {
          reg_val = Xil_In32(baddr + AXI_DMAC_REG_IRQ_PENDING);
     }
     while(reg_val != (AXI_DMAC_IRQ_SOT | AXI_DMAC_IRQ_EOT));

no-OS/test.c at master · analogdevicesinc/no-OS · GitHub 

reg_val always 1

#define AXI_DMAC_IRQ_SOT                    (1 << 0) //1
#define AXI_DMAC_IRQ_EOT                    (1 << 1) //2

 

What may be the reason DMA transaction fails?

Outcomes