Software Examples
www.ti.com
20
SLAU597E–March 2015–Revised January 2018
Submit Documentation Feedback
Copyright © 2015–2018, Texas Instruments Incorporated
MSP432P401R SimpleLink™ Microcontroller LaunchPad™ Development Kit
(MSP
‑
EXP432P401R)
3 Software Examples
Table 4 lists the software examples that are included with the MSP‑EXP432P401R LaunchPad
development kit. These examples can be downloaded with the SimpleLink MSP432 SDK.
Table 4. Software Examples
Demo Name BoosterPack Required Description More Details
Out-of-Box Software Example N/A
The out-of-box demo programmed on the
LaunchPad development kit from the factory.
Section 3.1
BOOSTXL-K350QVG-S1
Graphics Library Example
BOOSTXL-K350SVG-S1
A simple example showing how to use MSP
Graphics Library (grlib) to display graphics
primitives and images and implement
touchscreen functionality
Section 3.2
430BOOST-SHARP96
Graphics Library Example
430BOOST-SHARP96
A simple example showing how to use MSP
Graphics Library (grlib) to display graphics
primitives and images
Section 3.3
BOOSTXL-
BATPAKMKII_FuelGauge_
MSP432P401R
BOOSTXL-BATPAKMKII
Demonstrates how to initialize bq27441-G1 fuel
gauge configurations and how to control and
read data registers
Section 3.4
BOOSTXL-
SENSORS_SensorGUI_
MSP432P401R
BOOSTXL-SENSORS
Demonstrates how to sample data from the five
onboard digital sensors and communicate that
over UART in a JSON payload
Section 3.5
BOOSTXL-SENSORS_TI-
RTOS_SensorGUI_
MSP432P401R
BOOSTXL-SENSORS
Demonstrates how to sample data from the five
onboard digital sensors and communicate that
over UART in a JSON payload using TI-RTOS
Section 3.6
To use any of the software examples with the LaunchPad development kit, you must have an integrated
development environment (IDE) that supports the MSP432P401R device (see Table 5).
Table 5. IDE Minimum Requirements for MSP‑‑EXP432P401R
Code Composer Studio™ IDE IAR Embedded Workbench® IDE Keil® µVision® MDK-ARM
v6.1 or later v7.10 or later v5 or later
For more details on how to get started quickly and where to download the latest TI, IAR, and Keil IDEs,
see Section 4.
3.1 Out-of-Box Software Example
This section describes the functionality and structure of the out-of-box software that is preloaded on the
EVM. The source code can be found in the SimpleLink MSP432 SDK.
The out-of-box software extends a basic blink LED example to allow users to control the blink rate and
color of an RGB LED on the MSP432 LaunchPad development kit.
This software example is created to work with TI-RTOS or FreeRTOS, with a POSIX layer to make it
compatible with both kernels. There are many advantages to using a Real Time Operating System over
bare-metal code. An RTOS manages many aspects of the system, which allows a developer to focus on
the application. Typically, an RTOS is used when the application needs to do more than a few simple
actions.
This Out-of-Box example is intentionally designed to be much simpler than what would typically be
expected of an RTOS project. The purpose of this design is to provide the user with a very simple and
straight-forward example of how to use an RTOS kernel. Using an RTOS kernel in this example requires
more overhead in memory than bare-metal code, but it allows the user more modularity and flexibility
when adding peripherals or modules. This becomes particularly useful with more complex systems such
as when using connectivity devices. For more information, go to the MSP432 SimpleLink Academy
training on TI Resource Explorer.