Getting started with MotionAC accelerometer calibration library in X-CUBE-MEMS1 expansion for STM32Cube

This is a user manual for MotionAC accelerometer calibration library in X-CUBE-MEMS1 expansion for STM32Cube.


Getting started with MotionAC accelerometer calibration library in X-CUBE-MEMS1 expansion for STM32Cube - cover page
Brand
STMicroelectronics
Document type
User Manual
Language
English
Pages
17
File format
PDF
File size
888 KB
Published
20 October, 2023
Updated
20 October, 2023
MD5 checksum
A0E379CAE9706ABB828A8AD53F9D89C5

About this manual

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.

What's inside

  • MotionAC Overview
  • MotionAC Library Description
  • MotionAC APIs
  • Calibration Process
  • Algorithm Performance
  • Sample Application
  • Unicleo-GUI Application

Specifications

Offset Compensationup to 0.2 g
Scale Factor Compensationrange from 0.8 to 1.2 in every direction
Update Frequencyfrom 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

Frequently asked questions

What are the calibration modes available?

The library supports dynamic calibration and 6-point calibration modes.

How do I retrieve calibration parameters?

Use the MotionAC_GetCalParams function to retrieve offset and scale factor coefficients and calibration quality factor.

Download PDF (888 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →