cancel
Showing results for 
Search instead for 
Did you mean: 

LSM9DS1 Library

JYUNWEI wu
Associate III

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?

2 REPLIES 2
Eleon BORLINI
ST Employee

​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

JYUNWEI wu
Associate III

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