STMicro's MC and EC library calibrates for LSM9DS1 but not for LIS2MDL. Why?
Using STMicro's MC and EC middle ware libraries for a tilt compensating compass.
Libraries working with a LSM9DS1 (acc, gyro & mag).
Libraries not working with an LSM6DSO (acc & gyro) & LIS2MDL (mag).
I have traced this back to the STMicro's middle ware returning ALL ZEROs compensation values for the LIS2MDL magnetometer. In other words, the library, for some reason never calibrates the LIS2MDL!
These 2 projects are running nearly the same code. The LIS2MDL produces what appears to be reasonable raw magnetometer values. So why is the STMicro's MC / EC Middle Ware Libraries returning all zeros calibration values?
-thanks
