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:
/* Wait until the new transfer is queued. */
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?