This is a user manual for MotionAC accelerometer calibration library in X-CUBE-MEMS1 expansion for STM32Cube.
This document provides detailed instructions for using the MotionAC middleware library, part of the X-CUBE-MEMS1 software expansion for STM32Cube. It supports accelerometer calibration on STM32 microcontrollers with ARM Cortex-M3, M4, or M7 architectures. The library offers dynamic and 6-point calibration modes and includes APIs for initialization, data update, and retrieving calibration parameters. Sample code and calibration procedures are included for practical implementation.
The manual also covers performance metrics for different microcontroller architectures and provides guidance on using the Unicleo-GUI application for real-time data visualization on compatible development boards.
| Offset Compensation | up to 0.2 g |
|---|---|
| Scale Factor Compensation | range from 0.8 to 1.2 in every direction |
| Update Frequency | from 20 to 100 Hz |
| Memory Requirements (Cortex-M3) | 12.8 kB code, 1.1 kB data |
| Memory Requirements (Cortex-M4) | 10.4 kB code, 1.1 kB data |
| Memory Requirements (Cortex-M7) | 10.0 kB code, 1.1 kB data |
The library supports dynamic calibration and 6-point calibration modes.
Use the MotionAC_GetCalParams function to retrieve offset and scale factor coefficients and calibration quality factor.