Hi,Can you tel me please how to turn off , by clearing the CYCLIC bit in the FLAGS register of the DMA ,
if you can give me a comand for bash like echo 0> .../iio:device4/.....
THX in advance
I branched this into a new discussion.
When you are using the Linux images the cyclic mode is off by default. It can be enabled by creating a buffer which has the cyclic flag set to true using iio_device_create_buffer(). It is not possible to enable or disable cyclic mode via sysfs.
In older versions of the image cyclic mode was always enabled and it was not possible to disable it, if you are still using an older version please upgrade to the latest.
Hi,thanks for your answer, and for the new topic.Is the only way to do that , by using iio_device_create_buffer()? if yes is a good idee to try to write my own program that will do that without using libio... thx in advance
Using libiio is the recommended way to do this. There is a low level interface that is used internally by libiio to configure, but we do not recommend to directly use that since it is a bit more complicated to use and we can't guarantee future binary compatibility for this interface, whereas if you are using libiio you applications will continue to work even with future kernel versions.
Retrieving data ...