Skip to main content
Visitor II
May 27, 2019
Question

LSM9DS1 Library

  • May 27, 2019
  • 2 replies
  • 1458 views

Who knows where can get LSM9DS1 Library for STM32?

I ever find the X-CUBE-MEMS Library, but I didn't find LSM9DS1 library. And then, If it can use, but its magnetometer different to X-NUCLEO-IKS01A3

of LIS2MDL. How should modify by its library?

    This topic has been closed for replies.

    2 replies

    ST Employee
    May 31, 2019

    ​Hi, especially for the accelerometer and magnetometer components of LSM9DS1 (eCompass), you could use the LSM303AGR library of  X-CUBE-MEMS as starting point, taking as reference the lsm9ds1_STdC github libraries for the raw data acquisition part. Are you using a specific hardware reference design provided by ST to test the LSM9DS1? Regards

    Visitor II
    September 9, 2019

    Thanks a lot, I had already solved it by your recommendation.