FXLS8964AF/FXLS8974CF Hands-on Training using Sensors Development Ecosystem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FXLS8964AF/FXLS8974CF Hands-on Training using Sensors Development Ecosystem

FXLS8964AF/FXLS8974CF Hands-on Training using Sensors Development Ecosystem

Objective:

 

In this hands-on training, you will learn how to:

  • Accelerate your low-power motion sensor evaluation/development using NXP’s sensor development ecosystem tools.
  • Leverage FXLS896xAF (Gemini) and FXLS8974CF (Timandra) evaluation boards to execute out-of-box sensor evaluation GUI.
  • Configure sensor registers (bit-fields), run self-test, measure offset & noise, visualize sensor data and perform quick sensor evaluation.
  • Get more information on sensor development ecosystem offering from NXP.

 

Prerequisite:

 

This training assumes following prior prerequisites actions to be completed:

 

Prepare Your Setup:

 

Step#1:

Install FreeMASTER Run-Time Debugging Tool

  • Download FreeMASTER Run-Time Debugging Tool
  • Install the tool following installer instructions.
  • Double click on installed FreeMASTER application to launch.
  • Once you launch the FreeMASTER application then you would see FreeMASTER welcome page

FreeMASTER Welcome PageFreeMASTER Welcome Page

Step#2:

Install FreeMASTER Sensor Tool

  • Download FreeMASTER Sensor Tool
  • Install the tool following installer instructions.
  • After successful installation, check installation directory:

C:\nxp\FreeMASTER_Sensor_Tool, lets identify installation folder as <FreeMASTER sensor tool directory>

  • <FreeMASTER sensor tool directory> contains out-of-box demonstration GUI projects that can be opened in FreeMASTER.

 

Step#3:

Connect Sensor Evaluation Kit:

  • Check and confirm FRDM-STBI-A8974 or FRDM-STBA-A8964 Sensor shield board settings as described below:
    • Since the examples use I2C1, Pins 2-3 of SW2 on FRDM-STBA-A8964 should be connected.
    • SW1 Pins 2-3 should be connected to select default operating mode i.e. "ACCEL NORMAL" mode.
  • Connect the FRDM-STBI-A8974 or FRDM-STBA-A8964 Sensor shield board FRDM-K22F MCU. Connect FRDM-K22F to the training PC via the USB cable between the OpenSDA USB port on the board and the USB connector on the PC.

Connect Sensor Eval KitConnect Sensor Eval Kit

  • Check whether you see a virtual mass storage drive on your PC with name “FRDM-K22FD”.

Picture3.jpg

 

Execute Hands-on Demo:

 

  1. Go to <FreeMASTER sensor tool directory>\sensors\fxls8974cf or <FreeMASTER sensor tool directory>\sensors\fxls86xaf
  2. Drag & drop “frdmk22f_a89xx_i2c_project.bin” available to “FRDM-K22FD” virtual mass drive on your training PC.
  3. Once the board is programmed (bin copied successfully), disconnect and connect the USB cable between the OpenSDA USB port on the board and the USB connector on the PC.
  4. Launch FreeMASTER tool and click on “Connection Wizard”. Follow the instructions described below.FreeMASTER Connection WizardFreeMASTER Connection Wizard
  5. The FreeMASTER tool identified the COM port and detected the board.
  6. Click on “Open an Existing Project”.Open Existing ProjectOpen Existing Project
  7. Browse to <FreeMASTER sensor tool directory>\sensors\fxls8974cf or <FreeMASTER sensor tool directory>\sensors\fxls86xaf
  8. Open the “FRDMK22F-A8974_FXLS8974CF_Demo.pmpx” or “FRDMK22F-A896x_FXLS896x_Demo.pmpx” project.
  9. This will open the out-of-box sensor demo project.Out-of-Box Sensor Demo ProjectOut-of-Box Sensor Demo Project
  10. Perform register read, write, read all action on “Register Page” tab. Try modifying bit-fields of register e.g. SENS_CONFIG1 bits 1 & 2 to change the full-scale range in real-time.
  11. Select SENS_CONFIG1 on register page, click on bit 1 & 2 to toggle the bit values and click on “Write” to apply the register update.
  12. Go back to control page “Accelerometer Demo” tab and see the full-scale range value changed to align the SENS_CONFIG1 register modification (changed from ±4g to ±16g in example show below).Sensor Register PageSensor Register Page
  13. Play with all the features of the sensor out-of-box demo.
  14. Visualize data streaming by clicking on “DataStreaming”.Oscilloscope Date StreamingOscilloscope Date Streaming

 

Learn More:

 

Learn more about sensor development ecosystem: 

  • Sensor Development Ecosystem comprises of
    • Sensor Evaluation Boards,
    • IoT Sensors SDK and
    • Sensors Evaluation/Development Tools

Sensor Development EcosystemSensor Development Ecosystem

  • Use the Sensor Development Ecosystem to migrate through each phase of product development with ease.

Picture_2.jpg

Labels (2)
No ratings
Version history
Last update:
‎06-14-2022 02:32 PM
Updated by: