AnsweredAssumed Answered

Transferring data to the processor

Question asked by joaomilheiro on May 11, 2018
Latest reply on Jul 19, 2018 by DragosB

Hello there,

 

 

 

So I am using the PicoZed SDR 2x2 with the PicoZed BreakOut Carrier, am I trying to transfer by own generated data to the processor. Basically I fetch the samples at the output of the util_ad9361_adc_fifo and insert them into my system, which will process the data and give at the output some std_logic that I connected to the leds of the breakout carrier.

 

I didn't modify anyting from the base project for the ad9361 provided for this fpga and when I lunch the SDK and run the adc_capture script it doesn´t run.

 

After some testing if find out that I get stuck at the folowing loop:

 

 adc_dma_write(AXI_DMAC_REG_START_TRANSFER, 0x1);
/* Wait until the new transfer is queued. */
do {
   adc_dma_read(AXI_DMAC_REG_START_TRANSFER, &reg_val);
}
while(reg_val == 1);

 

I cant find out why is that. My system works just fine because I can test it with the received signal and looking at the leds. 

 

I was trying to use the the DMAC from the ADC to transfer the that to the processor. Instead of the adc_pack values I inserted my own. Since mys system works with the adc clock it shouldn't interfere with the regular working of the ad9361 project.

 

Anyone has a clue I this happens? Is there a better way to transfer my that to the processor?

Outcomes