Skip to main content
Visitor II
January 20, 2020
Question

Is there calibration module in the STMems_Android_Sensor_HAL_Input package ?

  • January 20, 2020
  • 1 reply
  • 595 views

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.

    This topic has been closed for replies.

    1 reply

    Visitor II
    January 30, 2020

    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