Im using the ADIS16488 with an EVAL-ADISIMU1-RPIZ connected to a Raspberry Pi running latest Kuiper Linux to collect data from the sensor. I'm having some issues with buffered data acquisition. Any attempts I've made to read buffered data using the ADI IIO Oscilloscope application, or by directly triggering the buffer manually results in an invalid argument error. Directly polling channel values through the file system using cat seems to be working correctly.
dtoverlay=adis16480,device=adis16488
-
The IMU is detected correctly by the IIO subsystem.
-
All expected channels (accelerometer, gyroscope, magnetometer, pressure, etc.) are present.
-
The ADI IIO Oscilloscope Text Monitor updates continuously and displays valid live sensor data.
-
Reading channel values directly through sysfs also works correctly
-
The Graph tab in the ADI IIO Oscilloscope does not acquire data. Pressing Collect results in: Error: Unable to create buffer:
Invalid argument -
Using
iio_readdevalso fails with: Error: Unable to create buffer:Invalid argument -
The device exposes a
scan_elementsdirectory containing the expected scan channels (in_accel_*,in_anglvel_*, etc.). -
current_triggeris empty:cat /sys/bus/iio/devices/iio:device0/trigger/current_triggerreturns no value. -
Attempting to enable buffered capture manually also fails with: error invalid argument
echo 1 | sudo tee .../scan_elements/in_anglvel_x_en echo 1 |sudo tee .../buffer/enable
