cancel
Showing results for 
Search instead for 
Did you mean: 

Is there calibration module in the STMems_Android_Sensor_HAL_Input package ?

RChen.1654
Associate II

The LSM303AGR chip is used in Android device. 

I use STMems_Android_Sensor_HAL_Input sensor HAL from https://www.st.com/content/st_com/en/products/embedded-software/mems-and-sensors-software/drivers-for-mems/androidhalinput.html. 

Is there calibration module in the STMems_Android_Sensor_HAL_Input package to handle the hard-iron or soft-iron calibration ?

I see ST_MagCalibration_API_Init and ST_MagCalibration_API_Run APIs used but no API body is found in this package.

1 REPLY 1
RChen.1654
Associate II

In the README.md, it says that STM proprietary libraries can do runtime compensation. How do I get these STM proprietary libraries ?

### MAGCALIB:

> The STM Magnetometer Calibration library provides an accurate magnetometer Hard Iron (HI) and Soft Iron (SI) runtime compensation