Min (always zero) value from LSM9DS1 magnetometer looks suspicious.
I have 2 LSM9DS1 9 axis chips and after waving them around I have the following min / max magnetometer values:
chip1:
X max/min: 657/-396
Y max/min: 598/-417
Z max/min: 377/-654
chip2:
X max/min: 533 -515
Y max/min: 788/-284
Z max/min: 0/-1213
...that last Z max/min on chip2 looks bad. How does it look to others? Are these chips (roughly) calibrated at the factory? Is there a setting inside the chip that can fix this - if it is a problem?
-thanks
