SBAA288A July   2018  – January 2019 ADS7142

 

  1.   TM4C1294 interface to ADS7142 software library
    1.     Trademarks
    2. 1 Introduction
    3. 2 Hardware
    4. 3 Software
      1. 3.1 Header Files
      2. 3.2 ADS7142 Device Functional Modes Overview
      3. 3.3 Software Functions
    5. 4 Using the Software
      1. 4.1 Prerequisites
      2. 4.2 Getting Started
      3. 4.3 Using the Library
    6. 5 Main Routines and Test Data
      1. 5.1 Manual Mode
      2. 5.2 Autonomous Mode With Pre-Alert
      3. 5.3 Autonomous Mode With Post-Alert
      4. 5.4 Autonomous Mode With Start Burst Data
      5. 5.5 Autonomous Mode With Stop Burst Data
      6. 5.6 High Precision Mode
    7. 6 References
  2.   Revision History

Using the Library

The project explorer in the Code Composer Studio should look like Figure 11 when the software is downloaded. There should be numerous main routine files that are not included in the current build. This directory appearance is normal, as only one routine should run at a given time.

Project-Explorer-Configuration.gifFigure 11. Project Explorer

Figure 12 shows how to change the current functional mode routine. The selected functional mode must be included in the current build before excluding the current one.

Include-File-in-Build.gifFigure 12. Including a File in the Project Build

Figure 13 shows how to exclude and swap a file for the desired one.

Exclude-file-from-Build.gifFigure 13. Excluding a File From the Project Build

When including the desired files for compilation, the user can build and run the project.