Post Go back to editing

Cannot switch measurements to body frame

Category: Software
Product Number: ADIS16480

Hello, 

I am working with the ADIS16480 IMU and a Raspberry Pi 4 connected via the EVAL-ADISIMU1-RPIZ board.

We tried following the tutorials on your website but we had some issues with the overlay file that was supposed to be readily available in the Kuiper OS. We managed to modify the overlay file and read accelerometer, gyro and magnetometer data using pyADI-iio. 

we noticed that the accelerometer and magnetometer readings are expressed in the navigation frame by default buyyy we need them in the body frame. We are aware of the change required to make this switch, but we are facing some issues because the iio driver for this device does not allow reading or writing registers directly. 

Sincr the overlay file disables direct communication with the device via SPI, preventing us from using for example spidev, we had to remove the overlay and try direct SPI communication. However, no matter what register we tried reading, we always got as zeros as response.

We are sure that the device works from our tests with iio, but we ran out of ideas on what to try next for switching to the body frame. Is there anything you can suggest trying next?

thank you in advance.