Hi,
I am using the AD9361 evaluation board (AD-FMCOMMS2-EBZ) with the ZC702. When I use the adc_capture function to capture data from the ADC, it works for the first time. However if I use the adc_capture function again, giving the same start_address, the old data is not overwritten. However if I specify a new start address while using adc_capture for the second time, data from the ADC is captured correctly and stored in the new address.
eg:
adc_capture(size, start_address1);
.....some code...
adc_capture(size, start_address1);
The above code does not overwrite the data from the first adc_capture.
adc_capture(size, start_address1);
.....some code...
adc_capture(size, start_address2);
However, the above code works correctly and I get the new ADC data in the memory from start_address2.
Can someone explain how I can get the data to be overwritten every time I use adc_capture with the same start address?
Regards,
Satwik