Texas Instruments BOOSTXL-TMP107 Скачать руководство пользователя страница 10

temp 0: 24.000000

temp 1: 23.984375

temp 2: 24.234375

Software Examples

www.ti.com

10

SBOU174 – June 2017

Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

BOOSTXL-TMP107 User's Guide

3.3

OutOfBox_MSP-EXP430F5529LP

This section describes the functionality and structure of OutOfBox_MSP-EXP430F5529LP demonstration
that is included in TMP107-Firmware-Library.

3.3.1

Source File Structure

Table 6

lists the source files and folders.

Table 6. Source File and Folders

Name

Description

driverlib

Device drive library

.project

CCS project files

hal.c

Hardware abstraction layer for the TMP107 library

hal.h

Hardware abstraction layer header for the TMP107 library

main.c

Main source file of the demonstration

tmp107.c

TMP107 library

tmp107.h

TMP107 library header

3.3.2

Operation

This demonstration uses the MSP application UART to report temperature data to the PC. The MSP
application UART is a virtual COM port that is made available by the LaunchPad. Monitor this COM port
using a terminal application, such as PuTTy. See

Figure 8

for an example of MSP application UART

output. The demonstration begins by querying the TMP107 bus for the last device in the bus. If the
number of devices on the bus has recently changed, or if new TMP107 devices are being used, hold the
pushbutton S1 to initialize the bus addresses instead. After either LastDevice query or AddressInit occurs,
a global read operation is then performed on the bus to retrieve temperature data from all TMP107
devices. This temperature data is then printed to the MSP application UART, and LED1 flashes to indicate
how many TMP107 devices were found.

Figure 8. Example Output from MSP Application UART

Содержание BOOSTXL-TMP107

Страница 1: ...ne 2017 BOOSTXL TMP107 User s Guide The BOOSTXL TMP107 BoosterPack see Figure 1 is an easy to use plug in module that adds high accuracy temperature sensors to your LaunchPad development kit Two of th...

Страница 2: ...re and TI Resource Explorer 11 4 4 TI E2E Community 11 5 Schematics 12 List of Figures 1 BOOSTXL TMP107 1 2 BOOSTXL TMP107 Overview 3 3 BoosterPack Pinout 4 4 J3 Header 5 5 Breakable PCB 5 6 Console O...

Страница 3: ...ors quantity 3 One temperature sensor on the main section of the PCB Two temperature sensors on perforated sections of the PCB Choice of three driver circuits for software evaluation Utilizes universa...

Страница 4: ...the breakable sections of the PCB Each device independently measures and reports temperature on the bus which can support up to 32 TMP107 devices 2 1 3 Communication Modes Pin Header J3 The TMP107 on...

Страница 5: ...ntation Feedback Copyright 2017 Texas Instruments Incorporated BOOSTXL TMP107 User s Guide Figure 4 J3 Header 2 1 4 Breakable PCB The BOOSTXL TMP107 PCB features perforations that allow sections to be...

Страница 6: ...ncluding schematics layout bill of materials BOM Gerber files and documentation are available on the BOOSTXL TMP107 download page 2 3 2 Software All design files including TI TXT object code firmware...

Страница 7: ...ter 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 Tabl...

Страница 8: ...n can also be used to check your understanding of the TMP107 The output of the demonstration is shown in Figure 6 Figure 6 Console Output From Compiled LibraryTestBench Demonstration 3 2 OutOfBox_MSP...

Страница 9: ...ast device in the bus If the number of devices on the bus has recently changed or if new TMP107 devices are being used hold the pushbutton S1 to initialize the bus addresses instead After either LastD...

Страница 10: ...7 library tmp107 h TMP107 library header 3 3 2 Operation This demonstration uses the MSP application UART to report temperature data to the PC The MSP application UART is a virtual COM port that is ma...

Страница 11: ...collection of code examples software libraries data sheets and other design resources for all MSP devices delivered in a convenient package essentially everything developers need to become MSP experts...

Страница 12: ...In I2S_SCLK 28 Analog_Out I2S_SDout 29 Analog_Out I2S_SDin 30 J1 SSQ 110 03 T D 1 2 3 4 5 6 J3 10k R2 V 1 R1 2 I O1 3 ALERT1 4 GND 5 ALERT2 6 I O2 7 R2 8 U2 TMP107BIDR NC 1 2 3 4 5 U1 SN74LVC1G07DBVR...

Страница 13: ...set forth above or credit User s account for such EVM TI s liability under this warranty shall be limited to EVMs that are returned during the warranty period to the address designated by TI and that...

Страница 14: ...the antenna types listed in the user guide with the maximum permissible gain and required antenna impedance for each antenna type indicated Antenna types not included in this list having a gain great...

Страница 15: ...t the EVM user guide prior to connecting any load to the EVM output If there is uncertainty as to the load specification please contact a TI field representative During normal operation even with the...

Страница 16: ...OST OF REMOVAL OR REINSTALLATION ANCILLARY COSTS TO THE PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES RETESTING OUTSIDE COMPUTER TIME LABOR COSTS LOSS OF GOODWILL LOSS OF PROFITS LOSS OF SAVINGS LOSS OF...

Страница 17: ...TI Resource NO OTHER LICENSE EXPRESS OR IMPLIED BY ESTOPPEL OR OTHERWISE TO ANY OTHER TI INTELLECTUAL PROPERTY RIGHT AND NO LICENSE TO ANY TECHNOLOGY OR INTELLECTUAL PROPERTY RIGHT OF TI OR ANY THIRD...

Страница 18: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Texas Instruments BOOSTXL TMP107...

Отзывы: