AnsweredAssumed Answered

iio_buffer_refill() return buffer filled with zeros

Question asked by quest on Jul 13, 2018
Latest reply on Jul 17, 2018 by larsc

After iio_buffer_destroy() -> iio_device_create_buffer() (in order to change buffer size) first (or several first 1..7) iio_buffer_refill() returns right data size but buffer contains zeros only (or (in case of increasing buff size) second part of the buffer contains zeros).

Data from adc output is not zero (on the dmac input). DMAC input is in FIFO mode.


Linux version: linux_xcomm_zynq 4.6.0

libiio version: 0.7