Connect the Sensor Demonstration Kit to the PC via the USB cable between the OpenSDA USB port on the board and the USB connector on the PC.
All the standard sensor demonstration kits should work ‘Out of Box’ with the STB-CE software. These standard kits do not require any jumper changes. In case of custom sensor kits, there are a few jumper modifications recommended.
Find the complete list of all the sensor demo kits with the appropriate jumper settings here.
Kinetis Freedom MCU boards are supplied with OpenSDA firmware pre-loaded.
For a smooth ‘Out of Box Sensor Demonstration’ with STB-CE, make sure that the latest version of the default OpenSDA bootloader and Firmware application is on the Freedom development board. This allows debugging, flash programming and serial communication over a USB cable.
The default OpenSDA firmware for all Freedom based sensor demonstration kits used with STB-CE are as follows:
Obtain the latest OpenSDA drivers for FRDM boards from the link below.
Locate the section "Download – OpenSDA Bootloader and Application" and select your FRDM Board from the dropdown list. Strictly follow the provided instructions to program the board.For Windows 10 systems, the older versions of the OpenSDA drivers could get corrupted when the board is plugged on a Windows 10 machine. As a result, many boards might get not detected as an MSD or a COM port on Win 10. The latest versions of the OpenSDA software are compatible with Windows 10 and can be obtained from the link above. The current FRDM-K64F, FRDM-K22F, FRDM-KL25Z and RD-KL25-AGMP01 boards come with an older version of OpenSDA drivers from the factory and require a mandatory OpenSDA update.
The output data from the provided example applications is provided over the MCU UART. This requires that the driver for the board’s virtual COM port is installed on the PC. The board MUST be plugged into the PC before the driver installer is run.
If you have not installed already an ARM IDE toolchain, download and Install the Windows drivers corresponding to the default OpenSDA Application selected above:
Once the Windows Serial Port Drivers are installed on the PC, determine the port number of the board’s virtual COM port by opening the device manager and looking under the "Ports" group.
The demonstration kit is now ready to communicate with the PC.
If the users have an earlier version of the tool, choosing to Install available updates would download the latest projects, plugins and installer updates from the NXP server.
STB-CE enables Out of Box Sensor Demonstrations and Evaluations on all the available NXP sensor demonstration kits. The ISSDK firmware and the GUI project are auto-loaded providing a plug and play experience.
Click on the Sensor Toolbox-CE icon on your desktop. Once the window opens, click on ‘Out of Box Sensor Demonstrations’
On following the prompts accurately, the appropriate ISSDK firmware will be autoloaded(if required) to the MCU and the corresponding sensor GUI will auto load.
For the chosen example demonstration kit FRDM-K64-AGM01, the AGM01 sensor board has a 6-axis (Accel, Mag) FXOS8700 sensor and 3- axis FXAS21002 gyroscope sensor. STB-CE currently provides one out of box demonstrations for each sensor.
Take the FXOS8700 6-Axis (Accel, Mag) Demo as an example:
On following appropriate prompts, the ISSDK firmware for FXOS8700 demo will get loaded to the K64F MCU and the appropriate GUI will launch. If the demo kit already has the appropriate firmware, FXOS8700 6-axis (Accel, Mag) Demo will automatically launch without any firmware download.
The GUI project window comprises two different screens - form(s) and the Register screens. Therefore, the user will see multiple tabs on launching the GUI, as shown in the images below.
For the FXOS8700 demo example, the Forms comprise the Accelerometer and the Magnetometer GUI as shown below:
Tab 1: Accelerometer demo
Tab 2: Magnetometer demo
Here are some key things that can be observed from the above sensor demonstration with STB-CE:
Data Streaming: On clicking Start on the first tab, the sensor starts streaming acceleration data on the graph at a pre-configured firmware setting of ODR = 100Hz and Range = ±2g. The user can also switch to the magnetometer tab and observe the magnetometer streaming data at a pre-configured ODR of 80Hz.
Sensor Events: Each of the embedded blocks in the accelerometer is enabled with their corresponding settings in the firmware. This enables the user to observe events such as Orientation(Portrait/Landscape), Free-fall, Tap and Vector Magnitude and in real time, along with data streaming.
Data Logging: The user can log both the accelerometer and the magnetometer data to an a.csv file to their desired location by simply clicking on the respective ‘Record’ button. This allows the user to perform post-processing/analysis on sensor data.
Similarly, all the other available out of box sensor demos provide demo features like Streaming, Logging and Sensor Event detection.
Apart from sensor demonstrations at pre-configured firmware settings, each GUI in this tool allows a user to make sensor configuration changes conveniently.
This feature allows a user to make sensor configuration changes in the Form(s) in a GUI. This enables a user to make quick changes to critical sensor settings and then stream or log data to see the updated results.
As shown in the image below, in the FXOS8700 demo, the user has the facility to change the power modes, range, ODR and enable/disable events (once in Standby Mode) and see the updated results. For example, the streaming data would have an observable noise difference in a High-Resolution mode as compared to the low power mode of the sensor.
With complete access to the sensor register map with descriptions, this tool provides an easy and intuitive interface for detailed register level evaluation. It enables quick read and writes to single/multiple registers or parameters with ease. It also allows saving user specific register configurations and loading it later for use. The register operations include:
The image below shows the register screen for the FXOS8700 demo:
Apart from Out of Box Sensor Demonstrations, this tool also supports running standalone STB-CE GUI projects. A standalone project is provided by NXP as a separate package(.stbpkg). To successfully run the custom GUI project, the MCU must have the appropriate firmware loaded.
For more details, please find the User Guide in the Documentation tab.