Closed gmsanchez closed 2 years ago
Hello, sorry for such a long delay. I have referred to the official specification. and it seems a mistake on the default value of WHO_AM_I reg. I will fix it and thanks for your information.
Hi
Thanks for the fix. May I ask if the LSM9DS1 is supposed to work while connected to the SPI interface? I keep getting errors while trying to use the IMU in this way.
Hi, I am trying to use RTIMULib2 on a Raspberry Pi model 3B+ running Ubuntu 20.04 with an SPI attached LSM9DS1 IMU. After compiling and installing the library, I get this output whenever I run
RTIMULibDrive
:The modified parts of
RTIMULib.ini
are:If the IMU is connected on the I2C bus, RTIMULib works correctly.
Using AccelGyroMag.py and modifying lsm9ds1.py on lines 34 and 35, where SPI device is 0 for Accelerometer and Gyroscope and 1 for the Magnetometer, works. So I am assuming it is not a SPI port configuration issue.
If there is some information missing just let me know and I add as needed.
Thanks in advance!