NXP FRDMSTBC-A8471

This is your ecosystem for the NXP FXLS8471Q 3-axis linear accelerometer. The Sensor Shield Development Board enables sensor evaluation and it is compatible with most NXP Freedom boards.

Hello World

Import programFRDMSTBC-A8471_SensorShield_HelloWorld

SPI Accelerometer Hello World program

Library

Import libraryFXLS8471

SPI accelerometer library

Pinout

Notes

FXLS8471 Features

  • 1.95 V to 3.6 V VDD supply voltage, 1.62 V to 3.6 V VDDIO voltage
  • ±2 g/±4 g/±8 g dynamically selectable acceleration full-scale ranges
  • Output Data Rates (ODR) from 1.563 Hz to 800 Hz
  • Low noise: typically 99 μg/Hz in low-noise mode @ 200-Hz bandwidth
  • 14-bit ADC resolution: 0.244 mg/LSB in ±2 g, full-scale range
  • Embedded programmable acceleration event functions: — Freefall and Motion Detection — Transient Detection — Vector-Magnitude Change Detection — Pulse and Tap Detection (Single and Double) — Orientation Detection (Portrait/Landscape)
  • Programmable automatic ODR change using Auto-Wake and return to Sleep functions to save power.
  • 192-byte FIFO buffer, capable of storing up to 32 samples of X/Y/Z data
  • Supports 4-wire SPI interface at up to 1 MHz; I2C Normal (100 kHz) and Fast Modes (400 kHz)
  • Integrated accelerometer self-test function

The Hello World program for FRDMSTBC-A8471 is based on FRDM-KL25Z. It streams accelerometer data to a serial terminal.

FRDM KL25Z Description & Pinout

The FRDM-KL25Z has been designed by Freescale in collaboration with mbed for prototyping all sorts of devices, especially those requiring the size and price point offered by Cortex-M0+ and the power of USB Host and Device. It is packaged as a development board with connectors to break out to strip board and breadboard, and includes a built-in USB FLASH programmer.

FRDM-KL25Z pin map

It is based on the Freescale KL25Z, with a 32-bit ARM Cortex-M0+ core running at 48MHz. It includes 128KB FLASH, 16KB RAM and lots of interfaces including USB Host, USB Device, SPI, I2C, ADC, DAC, PWM, Touch Sensor and other I/O interfaces.

FRDM-KL25Z sensormap

Pin names



Firmware

Step 1: FRDM-KL25Z FirmwareUpdate

A new interface firmware image is necessary to mbed-enable Freescale FRDM boards


Quick Start Guide

Step 3: Downloading and running the Hello World program

1. Save a program binary (.bin) to the FRDM Platform

Download the binary after compiling the Hello World program. Save the program binary file to your mbed Microcontroller Disk, just like you would with a normal USB disk. The Status LED will flash as the PC writes the file to the Microcontroller disk.

2. Press the Reset Button

When the Reset Button in pressed, the program on the mbed Microcontroller Disk will be loaded in to the Microcontroller FLASH memory. The Status LED will flash as this happens.

3. Stream Data!

The Microcontroller is now running the program; If you reset the Microcontroller, or disconnect and reconnect the power, the program will simply restart. Use serial terminal like putty and configure the corresponding serial port (Check Device Manager under Control Panel as shown in the figure below) for a baud rate of 9600. Press reset button on the board to start streaming data.

K64F Pinout

250 K64F Pinout

Schematics


Data Sheets

Where to Buy


You need to log in to post a discussion