
Software Examples
7
SBOU174 – June 2017
Copyright © 2017, Texas Instruments Incorporated
BOOSTXL-TMP107 User's Guide
3
Software Examples
lists the software examples.
Table 2. Software Examples
Demonstration Name
LaunchPad™ Required
Description
More Details
LibraryTestBench
N/A
Evaluate TMP107 library on your development PC.
OutOfBox_MSP-EXP430FR6989
MSP-EXP430FR6989
Demonstrates reading TMP107 temperatures and
displaying them on LCD.
OutOfBox_MSP-EXP430F5529LP
MSP-EXP430F5529LP
Demonstrates reading TMP107 temperatures and printing
them to UART.
displays the IDE minimum requirements for MSP-EXP430F5529LP.
Table 3. IDE Minimum Requirements for MSP-EXP430F5529LP
Code Composer Studio IDE
IAR Embedded Workbench IDE
v6.1 or later
7.10 or later
3.1
LibraryTestBench
This section describes the functionality and structure of the LibraryTestBench demonstration included in
TMP107-Firmware-Library.
3.1.1
Source File Structure
lists the source files and folders.
Table 4. Source File and Folders
Name
Description
how-to-compile.txt
A hint as to how the test bench can be used
tb_tmp107.c
Test bench which demonstrates select library features
tmp107.c
TMP107 library
tmp107.h
TMP107 library header
3.1.2
Operation
This demonstration is intended to be compiled and run on your development PC. The tb_tmp107.c file
contains the main() program loop which contains calls to the TMP107 Library (tmp107.c.) Library functions
which would normally access the hardware, instead print to console the packets that are sent to the
hardware. This demonstration can be used to:
•
Evaluate or test features of the TMP107 Library
•
Generate command data to be sent by the bus master to the TMP107
•
Convert temperature data to Celsius
•
Encode and decode bus addresses