Software Examples
9
SLAU666B – June 2016 – Revised May 2018
Copyright © 2016–2018, Texas Instruments Incorporated
BOOSTXL-SENSORS Sensors BoosterPack Plug-in Module
3.1
BOOSTXL-SENSORS_SensorGUI_MSP432P401R
This section describes the functionality and structure of the BOOSTXL-
SENSORS_SensorGUI_MSP432P401R demo that is included in the
, or more easily accessible through the SimpleLink MSP432™ SDK (see
).
3.1.1
Source File Structure
The project is split into multiple files (see
). This makes it easier to navigate and reuse parts of it
for other projects.
Table 10. Source File and Folders
Name
Description
msp432_startup_ccs.c
SimpleLink MSP432 MCU family interrupt vector table for CGT
Library: driverlib
Device driver library (
src/bme280.c
Driver for communicating with the environmental sensor
src/bme280_support.c
Support driver for communicating with the environmental sensor
src/bmi160.c
Driver for communicating with the IMU and magnetometer sensors
src/bmi160_support.c
Support driver for communicating with the IMU and magnetometer sensors
src/demo_sysctl.c
Delay function for MSP432 MCU
src/i2c_driver.c
Driver for I
2
C communication with the sensors
src/main.c
The main function of the demo, interrupt service routines, global variables, and more
src/opt3001.c
Driver for communicating with the ambient light sensor
src/tmp007.c
Driver for communicating with the infrared temperature sensor
src/uart_driver.c
Driver for UART communication with the PC GUI
3.1.2
Working With the GUI
The Sensor GUI allows for quick visualizations of the sensors data and testing of applications.
3.1.2.1
Getting Started
1. Download the
, and extract its contents.
2. Launch BOOSTXL-SENSET.
3. Plug your MSP432P401R LaunchPad development kit with Sensors BoosterPack plug-in module into a
USB port. And click the
icon in the lower left corner of the GUI.
•
If needed, go to "Options" and select the proper COM Port for the Application UART and the baud
rate as 115200 (see
NOTE:
For Windows, you can find the port number by opening Device Manager and looking for
"XDS110 Class Application/User UART" under "Ports (COM & LPT)". It will be listed as
COM
nn
, where
nn
is the number of the port.