SBAU260 April   2016

 

  1.   Delta-Sigma ADC EvaluaTIon Software User Manual
    1.     Trademarks
    2. Glossary and Abbreviations
      1. 1.1 Abbreviations
      2. 1.2 Glossary
    3. Installation
      1. 2.1 Core Application Installation
      2. 2.2 Device Package
      3. 2.3 Driver Installation
        1. 2.3.1 Automatic Installation
        2. 2.3.2 Manual Driver Installation
          1. 2.3.2.1 Automated Manual Driver Installation
          2. 2.3.2.2 Manual Driver Installation
    4. Software Startup
      1. 3.1 Startup Screen (No Hardware Connected)
      2. 3.2 Startup Screen (Hardware Connected)
    5. Application Window
      1. 4.1 Application Menu
      2. 4.2 Main Display Area
      3. 4.3 Status Bar
    6. File Menu
      1. 5.1 Master Log Browser
      2. 5.2 About
        1. 5.2.1 Software User Guide
        2. 5.2.2 Application Support
          1. 5.2.2.1 Email Address
          2. 5.2.2.2 Attachments
          3. 5.2.2.3 Subject
          4. 5.2.2.4 Message
            1. 5.2.2.4.1 Sending the Email
      3. 5.3 Options
        1. 5.3.1 General Options
          1. 5.3.1.1 User Directory Controls
          2. 5.3.1.2 Register Update Operation
          3. 5.3.1.3 Console Tab Enable
        2. 5.3.2 Log Settings Options
          1. 5.3.2.1 Log Newline Inclusion
          2. 5.3.2.2 Log Settings
        3. 5.3.3 Command Delay Timing Options
        4. 5.3.4 Default Delay for Commands
        5. 5.3.5 COMMANDLIST Command Delay
        6. 5.3.6 REGMAP Command Delay
    7. Device Tab
      1. 6.1 Device Tab Menu
        1. 6.1.1 Register Map Menu Group
          1. 6.1.1.1 Save
          2. 6.1.1.2 Load
          3. 6.1.1.3 Save Header
        2. 6.1.2 Application Clients Menu Group
          1. 6.1.2.1 Tools Menu
          2. 6.1.2.2 Additional Interfaces
          3. 6.1.2.3 Data Analysis
        3. 6.1.3 Documentation Menu Group
      2. 6.2 Operation
        1. 6.2.1 Register Map Table
        2. 6.2.2 Register Controls
        3. 6.2.3 Hardware Controls
        4. 6.2.4 Refresh/Sync and Write Defaults Controls
        5. 6.2.5 Register Decode and Information
        6. 6.2.6 Synchronous Manual Write
    8. Script Tab
      1. 7.1 Script Tab Menu
        1. 7.1.1 Script File IO Menu Group
          1. 7.1.1.1 Save
          2. 7.1.1.2 Import
          3. 7.1.1.3 New
          4. 7.1.1.4 Rescan
        2. 7.1.2 Available Scripts Menu Group
          1. 7.1.2.1 Pre-Defined
          2. 7.1.2.2 User
        3. 7.1.3 Available Clients Menu Group
        4. 7.1.4 Documentation Menu Group
      2. 7.2 Operation
        1. 7.2.1 Script Information
        2. 7.2.2 Script Controls
          1. 7.2.2.1 Run Operation
          2. 7.2.2.2 Step Operation
          3. 7.2.2.3 Reset Button
        3. 7.2.3 Script Editing
          1. 7.2.3.1  Enabling Script Editing
          2. 7.2.3.2  Arrow Buttons
          3. 7.2.3.3  Available Commands
          4. 7.2.3.4  Available Command Help
          5. 7.2.3.5  Command Message Field
          6. 7.2.3.6  Command Description Field
          7. 7.2.3.7  Clear Button
          8. 7.2.3.8  Add New Button
          9. 7.2.3.9  Update Button
          10. 7.2.3.10 Delete Button
        4. 7.2.4 Activity Log
    9. Console Tab
      1. 8.1 Console Tab Menu
        1. 8.1.1 Available Clients Group
        2. 8.1.2 Devices
        3. 8.1.3 Documentation Group
      2. 8.2 Operation
        1. 8.2.1 Command Controls
          1. 8.2.1.1 Device Commands
          2. 8.2.1.2 Command to Send Field
          3. 8.2.1.3 Send Command
        2. 8.2.2 Activity Log
    10. Data Analysis Tool and Data Acquisition
      1. 9.1 Data Acquisition Process
        1. 9.1.1 Begin the Collection Process
        2. 9.1.2 Viewing the Data
      2. 9.2 Data Analysis Tool
        1. 9.2.1 General Controls Region
          1. 9.2.1.1 Channel Selection
          2. 9.2.1.2 EVM Parameters
          3. 9.2.1.3 Collect Controls
        2. 9.2.2 File Menu
          1. 9.2.2.1 About
          2. 9.2.2.2 Options
        3. 9.2.3 Data Inspector Tab
          1. 9.2.3.1 Data Display
          2. 9.2.3.2 Menu
            1. 9.2.3.2.1 Save Data As... Menu Option
        4. 9.2.4 Data Analysis Tab
          1. 9.2.4.1 Available Analysis Tools
          2. 9.2.4.2 Time Domain Analysis
            1. 9.2.4.2.1 Time Domain Options
            2. 9.2.4.2.2 Time Domain Graph
        5. 9.2.5 Log
    11. 10 Master Log Browser
      1. 10.1 Filtering the Log
      2. 10.2 Saving the Log
      3. 10.3 Creating Scripts From the Master Log
  2. AFrequently Asked Questions (FAQs)
    1. A.1 What if the hardware is not recognized by the software?
    2. A.2 I don't see any way to collect data! How can I do this?
    3. A.3 Can I manually enter commands in the software?
    4. A.4 Are there any additional analysis available, such as FFT or histogram?
    5. A.5 I created a script but it does not appear in the menu item?
  3. BScripts
    1. B.1 Device Script Generic Rules
    2. B.2 Device Script Node Description
    3. B.3 Device Script Example
  4. CRegister Map Files
    1. C.1 Register Map Files
    2. C.2 Register Map Settings File
    3. C.3 Register Map Header File
  5. DData File – Standard File Format
    1. D.1 Standard File Example

Register Map Header File

The register map settings file is provided for use when developing your own code. The file can be included in your project to use the settings from the evaluation software.

The first section contains #defines that provide constants for:

  • total register count
  • register address (referenced by device register name appended with "_ADDRESS)
  • register value and setting (reference by device register name appended with "_VALUE") (writable registers only)

The second section contains a struct definition and an array of the structs that contain the register address and value for each of the writeable registers:

/* ADS131A0x Register Settings Export */ /******************************************************************************/ /* This file contains the register map settings stub */ // General defines #define ADS131A0x_REGISTER_COUNT 17 /* Register #define values (register address and value) */ /******************************************************************************/ /* This section contains the defines for register address and register settings */ /* Register address defines - All registers */ #define ID_MSB_ADDRESS 0x00 #define ID_LSB_ADDRESS 0x01 #define STAT_1_ADDRESS 0x02 #define STAT_P_ADDRESS 0x03 #define STAT_N_ADDRESS 0x04 #define STAT_S_ADDRESS 0x05 #define ERROR_CNT_ADDRESS 0x06 #define STAT_M2_ADDRESS 0x07 #define A_SYS_CFG_ADDRESS 0x0B #define D_SYS_CFG_ADDRESS 0x0C #define CLK1_ADDRESS 0x0D #define CLK2_ADDRESS 0x0E #define ADC_ENA_ADDRESS 0x0F #define ADC1_ADDRESS 0x11 #define ADC2_ADDRESS 0x12 #define ADC3_ADDRESS 0x13 #define ADC4_ADDRESS 0x14 /* Register value defines - Only writeable registers*/ #define A_SYS_CFG_VALUE 0x60 #define D_SYS_CFG_VALUE 0x3C #define CLK1_VALUE 0x08 #define CLK2_VALUE 0x86 #define ADC_ENA_VALUE 0x00 #define ADC1_VALUE 0x00 #define ADC2_VALUE 0x00 #define ADC3_VALUE 0x00 #define ADC4_VALUE 0x00 /* Register array constant and structure */ /******************************************************************************/ /* This section contains the structure definition and array of structures containing writable register settings*/ struct registerData { int address, int value } const registerData ADS131A0x_Registers[] = { { 0x000B, 0x0060 }, // A_SYS_CFG { 0x000C, 0x003C }, // D_SYS_CFG { 0x000D, 0x0008 }, // CLK1 { 0x000E, 0x0086 }, // CLK2 { 0x000F, 0x0000 }, // ADC_ENA { 0x0011, 0x0000 }, // ADC1 { 0x0012, 0x0000 }, // ADC2 { 0x0013, 0x0000 }, // ADC3 { 0x0014, 0x0000 }, // ADC4 };