I am not able to read back data from the buffer memory of IIO:device 5. Is there a shell programming example that you may have to read back capture data that I can try?
Did you set a buffer length and enable the buffer afterwards?
A simple shell script example for reading a few bytes is:
echo $LENGTH > /sys/bus/iio/devices/iio:device5/buffer/length
echo 1 > /sys/bus/iio/devices/iio:device5/buffer/enable
dd if=/dev/iio:device5 bs=$LENGTH count=1 | hexdump
echo 0 > /sys/bus/iio/devices/iio:device5/buffer/enable
Note that the device currently one supports a one-shot mode. So if you want to read more bytes you'll have to run the sequence again.
Thanks a lot Lars!
Hello I am trying to capture 5M samples. However, I am only able to capture 128k samples. After 128K samples, all the trailing values are 0s. Can you tell me what what is the largest capture that I can take?
I think the limit on the published design is 128k (was an artificial limit in the DMA engine) - I think that has been resolved - but I don't think it has been pushed out yet.
Thanks Robin. When do you think i will be pushed out?
The sample count limitation has already been addressed.
However before we create new images we need to finalize on some other enhancements.
I expect this being done anytime next week.
Hi -- I have two questions:
1 -- how do I capture data from both ADCs?
2 -- in general, where can I find a writeup of all such registers for the FMCOMMS1-EBZ (e.g., offset and calibration for each ADC, Rx and Tx LO frequencies, etc.)
On the engineerzone, new questions get new threads. Since this questions has been marked correct - it's difficult for us to follow non-related followups.
Retrieving data ...