ADIS16489
Recommended for New Designs
The ADIS16489 is a complete inertial system that includes a triaxis gyroscope, a triaxis accelerometer, and a barometer. Each inertial sensor in the ADIS16489...
Datasheet
ADIS16489 on Analog.com
Hello,
what is the correct way to connect the ADIS16489 to the Raspberry Pi 4 using the EVAL-ADISIMU1-RPIZ board to read data from the ADIS16489?
This is what I tried:
I loaded the ADI Kuiper Linux image on a microSD card (2023_r2 Image, wiki.analog.com/.../release_notes). Next, I tried to configure the Raspberry Pi with the required overlay by adding the following line in the /boot/config.txt file:
dtoverlay=adis16489
Then, I rebooted the Rasperry Pi and tried with iio_info and the ADI IIO Oscilloscope to connect to the sensor which did not work. I guess that the overlay configuration is wrong but I do not know what to change.
This is the output of iio_info:
analog@analog:~ $ iio_info
iio_info version: 0.26 (git tag:bdd5c000)
Libiio version: 0.26 (git tag: bdd5c00) backends: local xml ip usb serial
IIO context created with local backend.
Backend version: 0.26 (git tag: bdd5c00)
Backend description string: Linux analog 6.1.54-v7l+ #1 SMP Tue Nov 5 15:29:09 UTC 2024 armv7l
IIO context has 4 attributes:
hw_carrier: Raspberry Pi 4 Model B Rev 1.5
dtoverlay: vc4-kms-v3d,adis16489
local,kernel: 6.1.54-v7l+
uri: local:
IIO context has 2 devices:
hwmon0: cpu_thermal
1 channels found:
temp1: (input)
2 channel-specific attributes found:
attr 0: crit value: 110000
attr 1: input value: 35537
No trigger on this device
hwmon1: rpi_volt
1 channels found:
in0: (input)
1 channel-specific attributes found:
attr 0: lcrit_alarm value: 0
No trigger on this device
Thank you for your help!
Hi,
The 2023_r2 image doesn't include support for ADIS16489. The support was added only recently: iio: imu: adis16480: add devices to adis16480 driver · analogdevicesinc/linux@6fbf150
Are you familiar with the process of building a Linux kernel image for Raspberry Pi?
Thanks,
Dragos
Hi,
Thank you for your answer!
I am not familiar with the process and I would greatly appreciate it if you could provide me some information. Thank you!
I use this guide to achieve what you want: https://github.com/amiclaus/linux_noos_guides/blob/master/linux_guide.md
It goes through the process of building the linux kernel, modules and device tree and copying them to the raspberry pi. It's an unofficial guide that that I use.
You'll also need writing a device tree, see the yml for more info: github.com/.../adi,adis16480.yaml, just make sure to change the compatible string to "adi,adis16489"
Thank you - I’ll try it out!
just make sure to use the rpi-6.1.y branch and cherry-pick the commit mentioned above:
github.com/.../6fbf150823a1ccb84eeb7c4f21e9cdc55693d462
As a follow-up to this reply, does the 2023_r2 image include support for ADIS16495-1. I'm also a novice with these systems, and I'm getting the same error as OP. I was also guessing that "dtoverlay=adis16495" was my issue, but I'm not sure how to address it. Do I need to also build a fresh kernel image or should I be able to use the 2023_r2 image?