Skip to main content
Application NoteNxp

NXP AN4460: Using the Xtrinsic FXOS8700CQ Command Line Interface Software

Application note detailing CLI software for the FXOS8700CQ sensor using the MC9S08QE8 MCU on the RD4247FXOS8700 toolbox platform for register access and data streaming.

View application note

Overview

This application note describes the command line interface (CLI) driver for the Xtrinsic FXOS8700CQ 6-axis accelerometer and magnetometer. The software is designed for use with the RD4247FXOS8700 sensor toolbox platform featuring the MC9S08QE8 microcontroller. It enables users to communicate with the sensor via a virtual serial port over USB using standard terminal programs. Key capabilities include reading and modifying device registers, viewing operating modes (Hybrid, Accel Only, or Mag Only), and streaming XYZ data as signed counts or physical units. The document outlines hardware programming procedures via PE Micro USB multilink and CodeWarrior, terminal configuration (115200 baud), and specific CLI commands for data acquisition through polling, interrupts, or FIFO buffers.

Use Cases

  • Sensor evaluation and debugging
  • Firmware development for HCS08 microcontrollers
  • Real-time data monitoring for motion sensing applications
  • Configuring and testing FXOS8700CQ register settings
  • Developing interface drivers for 6-axis sensors

Topics

FXOS8700CQ
MC9S08QE8
RD4247FXOS8700
Command Line Interface
Sensor Toolbox
Accelerometer
Magnetometer
CodeWarrior
Register Read
Data Streaming
High-Pass Filter
I2C

Referenced Parts

FXOS8700CQ

Freescale Semiconductor

The FXOS8700CQ command line interface driver provides an easy way to communicate with the FXOS8700CQ

MC9S08QE8

Freescale Semiconductor

** using the MC9S08QE8 **

NXP AN4460: Using the Xtrinsic FXOS8700CQ Command Line Interface Software | Design Resources