Skip to main content
Application NoteNxp

Using the Xtrinsic FXOS8700CQ Accelerometer and Magnetometer Vector-Magnitude Function

Application note for the NXP FXOS8700CQ detailing vector-magnitude functions for motion detection, tilt sensing, and magnetic jamming alerts with implementation examples.

View application note

Overview

AN4458 describes the implementation and configuration of the vector-magnitude function within the NXP FXOS8700CQ 6-axis sensor. The document explains how the device uses internal logic to raise event flags when the difference between current sensor readings and programmable reference vectors exceeds a defined threshold. It covers technical mathematical models for detecting linear acceleration and changes in tilt angle using the accelerometer, as well as identifying magnetic jamming using the magnetometer. The note includes signal processing block diagrams and a Python code example for configuring a tilt-threshold interrupt.

Use Cases

  • Detection of linear acceleration exceeding a threshold
  • Detection of change of tilt angle exceeding a threshold
  • Detection of magnetic jamming
  • Smart cover and holster sensing
  • Inertial motion detection

Topics

FXOS8700CQ
vector magnitude
accelerometer
magnetometer
tilt detection
motion detection
magnetic jamming
linear acceleration
threshold detection
6-axis sensor

Referenced Parts

FXOS8700CQ

NXP

This application note demonstrates the FXOS8700CQ vector-magnitude function for both the accelerometer and magnetometer with use-case examples.