We are trying to adopt example
with our bitstream.
We decided to test only TX, so almost every element with RX has been commented and not compiled.
We succesfully activated all 4 channels (we see full 64 bits with our data inside FPGA via debgug with JTAG):
((int16_t*)p_dat) = d/256 + d; // Real (I)
((int16_t*)p_dat) = 256*6 + 7; // Imag (Q)
((int16_t*)p_dat) = 256*8 + 9; // Real (I)
((int16_t*)p_dat) = 256*10 + 11; // Imag (Q)
We tested different sizes of
txbuf = iio_device_create_buffer(tx, 1024*1024, false);
(from 8, 32 to 32x1024).
Our problem is that function iio_buffer_push returns negative value (-110) everytime after fourth execution.
Three calls of iio_buffer_push are ok (without relation to size of data), call number 4 is not correct.
Is there any relation between AXI_AD9361_DAC_DMA settings and our problems?
We use libiio v14.