Texas Instruments | PGA300 GUI | User Guides | Texas Instruments PGA300 GUI User guides

Texas Instruments PGA300 GUI User guides
y
ar
in
SLDU022 User’s Manual
Pr
el
im
PGA300
Pressure and Temperature Sensor Signal Conditioner
Copyright © 2016, Texas Instruments Incorporated
 User’s Manual
May 2016
Revision History
Revision
Date
Descriptions/Comments
2.2
15 - Feb -2014
2.3
17 - Apr - 2014
2.4
30 - Sep - 2014
2.5
07 - Dec - 2014
2.6
27 - Jan - 2015
3.0
25 - Mar - 2015
3.1
20 - APR - 2015
3.2
11-May-2016
ar
31 -Jan - 2014
LA GUI Style Guide Updates
in
2.0
y
1.0
LabVIEW 2012 Migration, Aesthetic and
el
im
Functional Enhancements
Icon Changes
Guided Calibration and Accuracy verification
test
The PGA300 User’s Manual provides a general overview of the PGA300 Evaluation Module
(EVM) GUI which includes,
Description of the features of the GUI
•
Functions to be considered while using the GUI
•
Software Installations required
Pr
•
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 2
 User’s Manual
May 2016
CONTENTS
User’s Manual ............................................................................................................................................... 1
PGA300 ......................................................................................................................................................... 1
Revision History ............................................................................................................................................ 2
System Requirements ................................................................................................................. 10
1.2.
Installation Procedure ................................................................................................................. 10
y
1.1.
PGA300 – USER INTERFACE................................................................................................................. 27
ar
2.
GUI Software Installation .................................................................................................................... 10
2.1.
PGA300 GUI Overview ................................................................................................................ 29
2.2.
PGA300 Communication Interface ............................................................................................. 32
2.2.1.
2.3.
Overview of OWI Interface ................................................................................................. 33
Page Selection ............................................................................................................................. 34
2.3.1.
in
1.
Device Calibration ............................................................................................................... 34
OWI-Configuration ...................................................................................................... 35
2.3.1.2
EEPROM Config - Analog ............................................................................................. 36
2.3.1.3
ADC and DAC Calibration ............................................................................................ 39
2.3.1.4
EEPROM Config – Digital ............................................................................................. 56
2.3.1.5
Guided Calibration ...................................................................................................... 58
el
im
2.3.1.1
2.3.2.
Debug .................................................................................................................................. 84
2.3.2.1. ADC Settings ................................................................................................................ 84
2.3.2.2. DAC Settings ................................................................................................................ 85
2.3.2.3. ADC Graph................................................................................................................... 87
Pr
2.3.2.4. Bridge Configuration ................................................................................................... 88
2.3.2.5. EEPROM Page.............................................................................................................. 90
2.3.2.6. Calibration Demo ........................................................................................................ 94
2.3.2.7. Low Level Configuration Page ..................................................................................... 96
2.3.3.
2.4.
About Page ........................................................................................................................ 100
Menu Options ........................................................................................................................... 100
2.4.1.
File ..................................................................................................................................... 100
2.4.2.
Script ................................................................................................................................. 101
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 3
 User’s Manual
May 2016
2.4.2.1. Performing Macro Recording ........................................................................................... 101
2.4.3.
Handling Configuration File .............................................................................................................. 108
3.1.
EEPROM Registers..................................................................................................................... 110
3.2.
ADC & DAC Calibration.............................................................................................................. 111
3.3.
Calibration Coefficients ............................................................................................................. 115
Pr
el
im
in
ar
y
3.
Debug ................................................................................................................................ 108
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 4
 User’s Manual
May 2016
TABLE OF FIGURES
Fig 1: Setup.exe from Volume folder .......................................................................................................... 10
Fig 2: Installation Initialization .................................................................................................................... 11
Fig 3: License Agreement - GUI ................................................................................................................... 12
y
Fig 4: License Agreement - Python ............................................................................................................. 13
Fig 5: Destination Directory ........................................................................................................................ 14
ar
Fig 6: Start Installation ................................................................................................................................ 15
Fig 7: Installation in Progress ...................................................................................................................... 16
Fig 8: Python Installation ............................................................................................................................ 17
in
Fig 9: Python Installation Directory ............................................................................................................ 18
Fig 10: Python Customization ..................................................................................................................... 19
Fig 11: Python Installation Progress............................................................................................................ 20
el
im
Fig 12: Python Installation Complete .......................................................................................................... 21
Fig 13: USB2ANY Installation....................................................................................................................... 22
Fig 14: USB2ANY license Agreement .......................................................................................................... 23
Fig 15: USB2ANY Installation Folder ........................................................................................................... 24
Fig 16: USB2ANY Installation Complete ...................................................................................................... 25
Fig 17: Installation Complete ...................................................................................................................... 26
Fig 18: GUI Initializing ................................................................................................................................. 27
Pr
Fig 19: Update Registry ............................................................................................................................... 28
Fig 20: Device Communication Error .......................................................................................................... 28
Fig 21: Device mode selection .................................................................................................................... 31
Fig 22: Device Status ................................................................................................................................... 32
Fig 23: TEST_MUX_DAC_EN bit in ADC & DAC Calibration ......................................................................... 33
Fig 24: TEST_MUX_DAC_EN bit in low level configuration ......................................................................... 33
Fig 25: Interface Configuration ................................................................................................................... 35
Fig 26: POT Configuration ........................................................................................................................... 35
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 5
 User’s Manual
May 2016
Fig 27: EEPROM Config - Analog Page......................................................................................................... 36
Fig 28: EEPROM Register Selection ............................................................................................................. 38
Fig 29: Analog PADC Gain Calculation......................................................................................................... 39
Fig 30: ADC and DAC Calibration Page ........................................................................................................ 40
Fig 31: Mode Selection................................................................................................................................ 41
y
Fig 32: # Temperature Points Warning Pop-Up .......................................................................................... 42
Fig 33: ADC Calibration Mode Warning Pop-Up ......................................................................................... 43
ar
Fig 34: DAC Code Selection ......................................................................................................................... 44
Fig 35: Updating the Read values ............................................................................................................... 45
Fig 36: Editing DAC Code ............................................................................................................................. 45
Fig 37: Editing Desired Values ..................................................................................................................... 46
in
Fig 38: Calculate DAC Code ......................................................................................................................... 46
Fig 39: Completed DAC Table...................................................................................................................... 47
Fig 40: DAC Code Error Popup .................................................................................................................... 48
el
im
Fig 41: DAC Code out of range .................................................................................................................... 49
Fig 42: Ratiometric Calibration ................................................................................................................... 50
Fig 43: Raise VDD ........................................................................................................................................ 50
Fig 44: ADC Read Mode .............................................................................................................................. 51
Fig 45: ADC Table Selection......................................................................................................................... 52
Fig 46: ADC Capture .................................................................................................................................... 53
Fig 47: Calculate Coefficients ...................................................................................................................... 54
Pr
Fig 48: TC & NL Coefficient Table and Scaling Factors Table ...................................................................... 56
Fig 49: Filter Coefficient Table .................................................................................................................... 57
Fig 50: EEPROM Variables Table ................................................................................................................. 58
Fig 51: Calibration Settings File Editor ........................................................................................................ 60
Fig 52: Add or Remove Calibration Settings File ......................................................................................... 61
Fig 53: Calibration Settings File Editor Drop Down ..................................................................................... 62
Fig 54: Calibration Settings File Editor Text Box ......................................................................................... 62
Fig 55: Calibration Settings File Editor DAC Data ........................................................................................ 63
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 6
 User’s Manual
May 2016
Fig 56: Calibration Settings File Save and Load ........................................................................................... 64
Fig 57: Guided Calibration - Start ................................................................................................................ 65
Fig 58: POT Configuration ........................................................................................................................... 66
Fig 59: OWI Activation ................................................................................................................................ 67
Fig 60: Guided Calibration Initial Configuration.......................................................................................... 68
y
Fig 61: Guided Calibration Analog Settings................................................................................................. 69
Fig 62: Guided Calibration Temperature Setting ........................................................................................ 70
ar
Fig 63: Guided Calibration Pressure Setting ............................................................................................... 71
Fig 64: Guided Calibration VDD Data Collection ......................................................................................... 72
Fig 65: Guided Calibration DAC Data Collection ......................................................................................... 73
Fig 66: Guided Calibration ADC Data Collection ......................................................................................... 74
in
Fig 67: Guided Calibration Summary .......................................................................................................... 75
Fig 68 Edit DAC Code Dialog........................................................................................................................ 76
Fig 69: Guided Calibration Digital Settings.................................................................................................. 77
el
im
Fig 70: PGA300 Calibration Successful ........................................................................................................ 78
Fig 71: Accuracy Verification Test - Welcome Page .................................................................................... 79
Fig 72: Accuracy Verification Test- Settings Preview .................................................................................. 80
Fig 73: Accuracy Verification Test - Temperature Setting .......................................................................... 81
Fig 74: Accuracy Verification Test - Pressure Setting.................................................................................. 82
Fig 75: Accuracy Verification Test- Data Collection .................................................................................... 83
Fig 76: Accuracy Verification Test Summary ............................................................................................... 84
Pr
Fig 77: Temperature & Pressure Sensor Tab Selection............................................................................... 85
Fig 78: DAC Configuration ........................................................................................................................... 86
Fig 79: Configure DAC ................................................................................................................................. 86
Fig 80: DAC Gain Configuration................................................................................................................... 87
Fig 81: ADC Graph ....................................................................................................................................... 88
Fig 82: External Bridge Circuit ..................................................................................................................... 89
Fig 83: EEPROM Page .................................................................................................................................. 90
Fig 84: Selecting EEPROM Data File ............................................................................................................ 91
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 7
 User’s Manual
May 2016
Fig 85: EEPROM Data Loaded ..................................................................................................................... 92
Fig 86: EEPROM Read Data ......................................................................................................................... 92
Fig 87: EEPROM CACHE Read ...................................................................................................................... 93
Fig 88: Calibration Demo............................................................................................................................. 94
Fig 89: Low level Configuration ................................................................................................................... 96
y
Fig 90: Update Mode .................................................................................................................................. 97
Fig 93: Pending Changes Dialog Box ........................................................................................................... 97
ar
Fig 92: Register level value change ............................................................................................................. 97
Fig 93: Field level value change................................................................................................................... 98
Fig 94: Bit level value change ...................................................................................................................... 98
Fig 95: Save Config ...................................................................................................................................... 98
in
Fig 96: Load Config ...................................................................................................................................... 99
Fig 97: Low level page operations............................................................................................................... 99
Fig 98: About Page .................................................................................................................................... 100
el
im
Fig 99: File Menu ....................................................................................................................................... 101
Fig 100: Launch Window ........................................................................................................................... 101
Fig 101: Python Idle Window .................................................................................................................... 102
Fig 102: Start Recording ............................................................................................................................ 102
Fig 103: Macro Recording ......................................................................................................................... 103
Fig 104: Stop Recording ............................................................................................................................ 103
Fig 105: Finished Macro recording............................................................................................................ 104
Pr
Fig 106: Run Module ................................................................................................................................. 105
Fig 107: Save browser window ................................................................................................................. 106
Fig 108: Run saved Macro ......................................................................................................................... 107
Fig 109: Debug Menu ................................................................................................................................ 108
Fig 110: Operator Support File Selection .................................................................................................. 108
Fig 111: Load Configuration Menu & Dialog Box ...................................................................................... 109
Fig 112: Configuration File - EEPROM Registers ....................................................................................... 110
Fig 113: Restricted EEPROM Default Values ............................................................................................. 111
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 8
 User’s Manual
May 2016
Fig 114: Configuration File – Default DAC Codes ...................................................................................... 112
Fig 115: Configuration File – Coefficient Calculation ................................................................................ 113
Fig 116: Configuration File – Gain and Offset Settings ............................................................................. 114
Fig 117: Configuration File – Filter Coefficients ........................................................................................ 115
Pr
el
im
in
ar
y
Fig 118: Configuration File – TC and NL Coefficients ................................................................................ 116
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 9
 User’s Manual
May 2016
GUI Software Installation
1.
The PGA300 GUI allows the users to communicate to the PGA300 EVM.
The following section explains the location and the procedure for installing the software
properly.
System Requirements
ar
1.1.
y
Ensure that no USB connections are made to the EVM until the installation is completed.
Supported OS – Windows XP or higher
•
Recommended RAM memory - 4GB or higher
•
Recommended CPU Operating Speed – 3.3 GHz or higher
1.2.
Installation Procedure
in
•
The following procedure will help you install the PGA300 GUI
Pr
el
im
1. Double click on the Setup.exe from the Volume folder as shown in Fig.1.
Fig 1: Setup.exe from Volume folder
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 10
 User’s Manual
May 2016
el
im
in
ar
y
A screen shown in Fig 2: Installation Initialization will appear.
Pr
Fig 2: Installation Initialization
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 11
 User’s Manual
May 2016
2. The License Agreement for PGA300 GUI will appear as shown below in Fig 3: License
Agreement - GUI. Please read through the agreement carefully and enable the “I Accept
el
im
in
ar
y
the License Agreement” radio button and press the Next» button
Pr
Fig 3: License Agreement - GUI
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 12
 User’s Manual
May 2016
el
im
in
ar
y
The License Agreement for Python 2.7 will appear as shown below in Fig 4: License
Agreement - Python. Please read through the agreement carefully and enable the “I
accept the agreement” radio button and press the Next» button
Fig 4: License Agreement - Python
Pr
It is highly recommended to keep the default values as provided in the installer.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 13
 User’s Manual
May 2016
3. Set the destination directories for the PGA300 GUI installation and press the Next»
el
im
in
ar
y
button as shown in Fig 5: Destination Directory .
Pr
Fig 5: Destination Directory
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 14
 User’s Manual
May 2016
4. A screen as shown in Fig 6: Start Installation will appear. Click Next» to begin
el
im
in
ar
y
installation.
Pr
Fig 6: Start Installation
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 15
 User’s Manual
May 2016
5. The installer will begin self-extraction and proceed with the installation as shown in Fig
el
im
in
ar
y
7: Installation in Progress.
Pr
Fig 7: Installation in Progress
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 16
 User’s Manual
May 2016
6. Towards the end of PG300 GUI installation, Python installation will start. Select the
el
im
in
ar
y
required option and click on Next>> button
Pr
Fig 8: Python Installation
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 17
 User’s Manual
May 2016
el
im
in
ar
y
7. Select the installation folder for Python and click Next>> button
Pr
Fig 9: Python Installation Directory
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 18
 User’s Manual
May 2016
8. A dialog as shown in Fig 10: Python Customization will appear. Click Next>> button from
el
im
in
ar
y
the dialog
Pr
Fig 10: Python Customization
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 19
 User’s Manual
May 2016
9. Python installation will start. The progress will be shown as in Fig 11: Python Installation
el
im
in
ar
y
Progress
Pr
Fig 11: Python Installation Progress
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 20
 User’s Manual
May 2016
el
im
in
ar
y
10. After Python installation is finished, click on Finish button
Pr
Fig 12: Python Installation Complete
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 21
 User’s Manual
May 2016
11. The USB2ANY installation will start after Python installation is finished. From the dialog
el
im
in
ar
y
as shown in Fig 13: USB2ANY Installation click on Next>> button
Pr
Fig 13: USB2ANY Installation
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 22
 User’s Manual
May 2016
12. The License Agreement will appear as shown below in Fig 14: USB2ANY license
Agreement. Please read through the agreement carefully and enable the “I Accept the
el
im
in
ar
y
License Agreement” radio button and press the Next» button
Pr
Fig 14: USB2ANY license Agreement
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 23
 User’s Manual
May 2016
13. Set the destination directories for the PGA300 GUI installation and press the Next»
el
im
in
ar
y
button as shown in Fig 15: USB2ANY Installation Folder.
Pr
Fig 15: USB2ANY Installation Folder
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 24
 User’s Manual
May 2016
el
im
in
ar
y
14. After the installation is complete click on Finish button.
Pr
Fig 16: USB2ANY Installation Complete
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 25
 User’s Manual
May 2016
15. Screen as shown in Fig 17: Installation Complete will appear that denotes the end of the
el
im
in
ar
y
PGA300 GUI installation.
Fig 17: Installation Complete
The installer will also install Python 2.7, USB2ANY SDK along with the GUI installation.
Pr
The PGA300 GUI requires the following software to be installed before the GUI is
executed.
 National Instruments LabVIEW Run-Time Engine 2012 from the below link.
http://www.ni.com/download/labview-run-time-engine-2012/3433/en/
The PGA300 GUI executable has been built in LabVIEW 2012 (32-Bit) version and it expects the
LabVIEW Run-Time Engine version to be LabVIEW Run-Time Engine 2012 (32-Bit) Version.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 26
 User’s Manual
May 2016
2.
PGA300 – USER INTERFACE
This section gives a detailed description of the features of the PGA300 GUI.
The PGA300 GUI is an intuitive UI, for the PGA300 device and EVM that allows the user to read
y
and configure the registers of the PGA300 device and control some EVM components.
ar
It is advisable to launch the PGA300 GUI with administrator privileges
When the PGA300 GUI is launched, the following screen pops up indicating that the GUI is
Pr
el
im
in
initializing.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Fig 18: GUI Initializing
Page 27
 User’s Manual
May 2016
When the PGA300 GUI is launched for the first time, a pop-up window (as shown in Fig 19:
Update Registry) appears on the screen.
1. Press the YES button on the pop-up for the GUI to run as expected.
This updates the python installation path in the Windows registry, so that, when the
in
ar
y
macro window is launched from the GUI, the python IDLE IDE is called.
Fig 19: Update Registry
2. Once the PGA300 GUI is launched, it can be invoked in two different ways:
Interface Connected
•
Interface Disconnected
el
im
•
‘Interface Disconnected’ mode is invoked when the USB2ANY is not connected. When
the PGA300 GUI is loaded with no hardware interface connected, a message pops-up as
shown in Fig 20: Device Communication Error. This allows the user to either run the
Pr
PGA300 GUI in ‘Interface Disconnected’ mode or to terminate the usage.
Fig 20: Device Communication Error
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 28
 User’s Manual
May 2016
When the user continues in ‘Interface Disconnected’ mode, the checkbox at the top of
the GUI is set. This will show that the PGA300 GUI is running in ‘Interface Disconnected’
mode. When the GUI is in ‘Interface Disconnected’ mode the UI controls may appear to
2.1.
PGA300 GUI Overview
– Device Calibration
OWI Configuration

EEPROM Config – Analog

ADC and DAC Calibration

EEPROM Config – Digital

Guided Calibration
el
im
– Debug
in

ar
The PGA300 GUI consists of the following pages,
y
function as if the device is connected and will read simulated data.
ADC settings

DAC settings

ADC Graph

Bridge Configuration

EEPROM Page

Calibration demo

Low Level Configuration
Pr

DEVICE CALIBRATION
OWI-Configuration
–
Speed settings for OWI
–
Rloop resistance configuration
–
Additional voltage configuration
EEPROM Config - Analog
–
This page allows the user to write and read specific EEPROM register.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 29
 User’s Manual
May 2016
–
Analog P Gain can be calculated from this page.
ADC and DAC Calibration
–
The ADC and DAC Calibration page is used to calculate the TC & NL Compensation
coefficients.
–
The page provides options to perform DAC Code Calculation, ADC Capture and Calculate
y
coefficients.
EEPROM Config – Digital
This page allows the user to write and read calculated TC and NL Coefficients, Scaling
Factors and Filter Coefficients.
–
ar
–
EEPROM Variables can be read and written from this page.
in
Guided Calibration
This page allows the user to calibrate the device in sequence of steps.
–
Calibration can be verified using Accuracy verification test.
el
im
–
DEBUG
ADC Settings
– The ADC MUX settings page is used to control the MUX of the temperature and the
pressure ADC path.
–
The page has options to read the Temperature ADC and Pressure ADC and display the
Temperature and Voltage values.
Pr
DAC Settings
– The DAC settings page is used to control the DAC configurations.
–
User can read/write the DAC data and DAC Gain can be configured.
ADC Graph
–
The ADC Graph allows the user to configure the ADC settings for Capture.
–
It has options to perform continuous ADC capture with the configured settings.
Bridge Configuration
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 30
 User’s Manual
May 2016
–
The Bridge Configuration page is used to operate the Internal Bridge Circuit present in
the PGA300 EVM.
Calibration Demo
This page demonstrates the PGA300 Calibration process.
–
It automatically performs the Calibration and displays the results.
EEPROM Page
y
–
The EEPROM Page gives EEPROM access to user.
–
The page has options to load EEPROM, Read EEPROM, reading EEPROM Cache, updating
ar
–
EEPROM data from file, saving EEPROM data to file.
Low Level Configuration
The Low Level Configuration Page lists down all the registers that are present in the
PGA300 GUI.
–
in
–
This page can be used to write to and read from, the fields of the registers of the
el
im
PGA300 device.
The PGA300 resources could be accessed by the Compensation Mode or by the OWI Mode.
This can be controlled by selecting the microcontroller button at the top left corner of the
PGA300 GUI as shown in Fig 21: Device mode selection. OWI Mode can be activated by clicking
the Activate OWI button
Pr
Fig 21: Device mode selection
The microcontroller can be put into reset state by writing 1 to the MICRO_RESET bit in the
MICRO_INTERFACE_CONTROL register. Access to OWI Mode is enabled internally when
switching the interface mode to OWI. This in turn writes 3 to MICRO_INTERFACE_CONTROL
register. Disabling any of the bits that corresponds to the OWI Mode will result in disabling the
OWI.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 31
 User’s Manual
May 2016
2.2.
PGA300 Communication Interface
The Communication Interface is used to communicate (read and write) with the device’s
registers.
•
One-Wire Interface (OWI)
The PGA300 device operates using the One-Wire Interface (OWI) and acts as a slave device.
y
OWI activation
When OWI is successfully activated, the status will be shown at the top right corner of the GUI.
ar
The EEPROM has to be unlocked to perform read or write into EEPROM pages. Click on Unlock
EEPROM check box to access the EEPROM pages from the GUI and click on Activate OWI
in
button.
el
im
Fig 22: Device Status
When device is in write only mode, register read operations cannot be carried out. To restore
the device to Read & Write mode, the TEST_MUX_DAC_EN bit (Bit 0 of AMUX_CTRL register)
should be reset. This can be done by changing the value from the ‘ADC & DAC Calibration’ page
or the ‘Low Level Configuration’ page as shown in Fig 23: TEST_MUX_DAC_EN bit in ADC & DAC
Pr
Calibration or Fig 24: TEST_MUX_DAC_EN bit in low level configuration.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 32
ar
y
 User’s Manual
May 2016
Pr
el
im
in
Fig 23: TEST_MUX_DAC_EN bit in ADC & DAC Calibration
Fig 24: TEST_MUX_DAC_EN bit in low level configuration
2.2.1.
Overview of OWI Interface
• The OWI digital communication is a master-slave communication link in which the
PGA300 operates as a slave device only.
•
The master device controls when the data transmission begins and ends.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 33
 User’s Manual
May 2016
•
The slave device does not transmit data back to the master until it is commanded to do
so by the master. The VDD pin of PGA300 is used as OWI interface, so that when
PGA300 is embedded inside a system module, only two pins are needed (VDD and GND)
for communication.
•
The OWI master communicates with PGA300 by modulating the voltage on the VDD pin
No specific configuration is needed to write using the OWI.
–
Write the data in the format defined by the data sheet
OWI Read
ar
–
–
The following sequence is executed for the read operation
–
Check if the USB2ANY buffer has residual data and empty the buffer
–
Send the read command with the sync byte, read initialization and read response
el
im
•
OWI Write
in
•
y
while PGA300 communicates with the master by modulating current on VDD pin.
command as defined in the datasheet
–
Check for data in the buffer until it receives it
–
Read the data from the buffer and display it. This will read all data available in
the buffer. Ideally there should be only one byte of data
2.3.
Page Selection
Pr
2.3.1. Device Calibration
• The Device Calibration Page provides an abstract view of the device.
•
Different functions of the device are represented structurally.
•
Each control that is placed in the high level configuration page is linked to a register or a
field of the device.
•
The Device Calibration pages consist of various high level functions. Each section below
explains a different function of the PGA300 EVM.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 34
 User’s Manual
May 2016
2.3.1.1 OWI-Configuration
• The OWI-Configuration page contains the configuration parameters necessary for the
OWI communication protocols.
The default values are displayed when the GUI is loaded.
ar
y
•
Fig 25: Interface Configuration
The user has the provisions to change Baud rate for the OWI protocol.
•
The default settings for OWI is 4800 bps.
•
After the change is made, the Configure OWI button has to be clicked for the changes to
el
im
take effect.
in
•
•
The controls Rloop and Additional Voltage are used to configure the Potentiometers on
the EVM board. These Potentiometers are configured using I2C protocol. Select desired
Pr
values and click on Configure POT button for the configuration to take effect.
Fig 26: POT Configuration
OWI Configurations
OWI configuration involves 3 settings,
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 35
 User’s Manual
May 2016
25ms
Pr
el
im
in
2.3.1.2 EEPROM Config - Analog
Timeout
200ms
100ms
ar
BaudRate
<600 bps
600 to 4800
bps
>4800 bps
y
1. Setting the baud rate to the selected configuration.
2. Setting the receiver mode to 2.
a. Configures the communication to be half duplex.
b. USB2ANY transmits data with 2 stop bits but will accept data with single
stop bit.
3. Setting the USB2ANY internal timeout to make sure USB2ANY waits for enough
time to receive the data while at lower baud rates.
Fig 27: EEPROM Config - Analog Page
•
•
This page allows the user to write specific fields in the EEPROM.
The GUI provides ability to read the specific fields in the EEPROM.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 36
 User’s Manual
May 2016
The user can select the register by clicking on the Register Name. The Input data column when
clicked gives the drop down with the appropriate list of values for the respective fields. User
can select the values and write it to the EEPROM using Write Selected Button.
Select the Register Name – Cell turns Green
•
Click on the Input data column.
•
Select the Input Data from the drop down box – Cell turns Yellow indicating the value is
y
•
ar
not updated in the EEPROM
•
Write Selected button is enabled
•
Click on the Write Selected button to write the values into the EEPROM
in
The values can be read back by selecting the register and clicking the Read Selected button.
User can use the check box available on the Top left of the table to select/unselect all the
registers.
Select the Register Name to be read – Cell turns Green
•
Click on the Read Selected button to read the specific register – value gets displayed in
el
im
•
Pr
the Read Data column
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 37
el
im
in
ar
y
 User’s Manual
May 2016
Fig 28: EEPROM Register Selection
Analog PADC Gain
Pr
Analog P Gain can be calculated from this page. To calculate Analog PADC Gain,
•
Click on T1-P1 and click on Read ADC button
•
Click on T1-P2 and click on Read ADC button
•
Select a script file using the browse option. The script file is a python file and the name
of the selected file will be displayed below the Calculate PADC Gain button. This file has
the algorithm to calculate the P Gain. A python template and a sample script file is
provided in C:\Users\Public\Documents\Texas Instruments\PGA300\Configuration Files
folder.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 38
 User’s Manual
May 2016
•
Click on Calculate PADC Gain button to calculate the P Gain value. The P Gain value will
be updated in the P Gain indicator.
The status of the calculation will be updated below the description.
•
To write the P Gain value to EEPROM and the CSR register, click on the Write P Gain
button
Pr
el
im
in
ar
y
•
Fig 29: Analog PADC Gain Calculation
2.3.1.3 ADC and DAC Calibration
This page provides options to capture the ADC data, calculate DAC code and calculate the
coefficients. Each of the functionality is explained below in detail.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 39
el
im
in
ar
y
 User’s Manual
May 2016
Fig 30: ADC and DAC Calibration Page
•
DAC Code Calculation Table
The table will be populated from the configuration file based on the following Controls
o Mode selection
Pr
o # Temperature points
o ADC Calibration Mode
The Mode Selection control is used to switch between Voltage and Current mode.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 40
el
im
in
ar
y
 User’s Manual
May 2016
Fig 31: Mode Selection
The # Temperature Points can be selected based on the ADC Calibration Mode Control. It
should be either 1 or ‘n’ in #P-nT in ADC calibration Mode Control. If the user selects an invalid
Pr
combination, the GUI displays a POP-UP as shown below.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 41
el
im
in
ar
y
 User’s Manual
May 2016
Pr
Fig 32: # Temperature Points Warning Pop-Up
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 42
 User’s Manual
May 2016
When user changes the ADC Calibration mode to a mode that conflicts with #Temperature
el
im
in
ar
y
Points GUI throws a Pop-Up as shown in the below image.
Pr
Fig 33: ADC Calibration Mode Warning Pop-Up
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 43
 User’s Manual
May 2016
•
DAC Code Calculation
Selecting a DAC Code will highlight the cell in green colour and enable the Write DAC code
button as shown in the figure. On clicking the Write DAC Code button, the DAC Code is
Pr
el
im
in
ar
y
written into the DAC register and V_Read cell will be enabled.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Fig 34: DAC Code Selection
Page 44
el
im
in
ar
y
 User’s Manual
May 2016
Fig 35: Updating the Read values
The user can measure the voltage and enter it in the cell which is highlighted in yellow
color. Once the value is entered, the cell turns back to white color. User can edit the
Pr
DAC codes by double clicking the DAC Code cell.
Fig 36: Editing DAC Code
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 45
 User’s Manual
May 2016
Fig 37: Editing Desired Values
y
User can also edit the Desired_V values by clicking on it.
ar
Once all the DAC Codes are written and measured voltages are entered in the
corresponding cells, the Calculate DAC Code button gets enabled as shown in the below
Pr
el
im
in
image.
Fig 38: Calculate DAC Code
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 46
 User’s Manual
May 2016
Click the Calculate DAC Code button to calculate the codes and update it in the last
column in the DAC Code Calculation table. The DAC codes and desired values available
Pr
el
im
in
ar
y
are written back to the configuration file.
Fig 39: Completed DAC Table
The calculated DAC codes should lies between 0x0000 and 0x3FFF. When the values lies
outside of this range, Popup will be shown as shown in the figure Fig 40: DAC Code Error
Popup and the values lies outside the range will be indicated with red colors.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 47
in
ar
y
 User’s Manual
May 2016
el
im
Fig 40: DAC Code Error Popup
In the below figure Fig 41: DAC Code out of range, the read value for the DAC code 2700
is 4.5V and so the value calculated for 9.5V exceeds 0x3FFF and it is indicated in red
color. This indicates that calculated DAC codes are not proper and it needs to be
Pr
recalibrated.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 48
el
im
in
ar
y
 User’s Manual
May 2016
Pr
Fig 41: DAC Code out of range
Ratiometric Calibration
To perform ratiometric calibration, Click on Ratiometric Calibration check box and specify
the supply voltage. Then calculate the DAC codes. The DAC codes will be scaled based on
the supply voltage given. The ratiometric calibration is available only in the Voltage mode.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 49
el
im
in
ar
y
 User’s Manual
May 2016
Fig 42: Ratiometric Calibration
Raise VDD
Pr
The Raise VDD button will make the VDD line High or Low based on the value. If Raise
VDD is enabled, then VDD line will be raised to high. If Raise VDD is disabled, then the
VDD line will be pulled low.
Fig 43: Raise VDD
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 50
 User’s Manual
May 2016
PADC & TADC Table
Depending on the ADC Calibration Mode selected, the PADC and TADC data tables are
updated with the corresponding number of elements
The dropdown box below the capture iterations show in specifies whether the ADC
ar
y
values are to be Read From Register (PADC_DATA & TADC_DATA) or Read From FIFO
in
Fig 44: ADC Read Mode
Clicking a cell of the ADC Data table highlights it in green color and enables the Read
Pr
el
im
ADC Code button and Capture Iterations Control.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 51
el
im
in
ar
y
 User’s Manual
May 2016
Fig 45: ADC Table Selection
Clicking the Read ADC Code button reads the PADC and TADC values and updates it in
Pr
the corresponding cells.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 52
el
im
in
ar
y
 User’s Manual
May 2016
Fig 46: ADC Capture
•
Calculate Coefficients
Once both the DAC and ADC tables are populated, Calculate Coefficients button gets
Pr
enabled. User can click on the Calculate Coefficients button to calculate the coefficients
and populate the TC and NL Coefficients table in the EEPROM Config-Digital page. The
status below the Calculate Coefficients button will be updated based on the result of
the calculation.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 53
el
im
in
ar
y
 User’s Manual
May 2016
Fig 47: Calculate Coefficients
Pr
Coefficient calculations
•
The 2nd order TC compensation equation is as follows:
𝑫𝑫𝑫 = (𝒉𝟎 + 𝒉𝟏 𝑻𝑻𝑻𝑻 + 𝒉𝟐 𝑻𝑻𝑻𝑻𝟐 )
+ (𝒈𝟎 + 𝒈𝟏 𝑻𝑻𝑻𝑻 + 𝒈𝟐 𝑻𝑻𝑻𝑻𝟐 )𝑷𝑷𝑷𝑷
+ (𝒏𝟎 + 𝒏𝟏 𝑻𝑻𝑻𝑻 + 𝒏𝟐 𝑻𝑻𝑻𝑻𝟐 )𝑷𝑷𝑷𝑷𝟐
Where, P is PADC Value and T is the TADC value
•
The ADC values are normalized as follows.
o Pn = PADC/214
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 54
 User’s Manual
May 2016
•
o Tn = TADC/214
o Dn = DAC/214
Based on the normalization, the compensation equation becomes,
𝑫𝒏 = �𝒉𝟎𝟎 + 𝒉𝟏𝟏 𝑻𝒏 + 𝒉𝟐𝟐 𝑻𝒏 𝟐 �
+ �𝒈𝟎𝟎 + 𝒈𝟏𝟏 𝑻𝒏 + 𝒈𝟐𝟐 𝑻𝒏 𝟐 �𝑷𝒏
y
Store coefficients in EEPROM by multiplying the floating point version by 214
h0EE = round(h0n*214)
h1EE = round(h1n*214)
h2EE = round h2n*214)
g0EE = round(g0n*214)
g1EE = round(g1n*214)
g2EE = round(g2n*214)
n0EE = round(n0n*214)
n1EE = round(n1n*214)
n2EE = round(n2n*214)
Note that the normalization should be chosen such that each coefficient is 2 bytes in
width in order to fit each coefficient in 2 bytes in the EEPROM.
Pr
el
im
•
in
ar
•
+ �𝒏𝟎𝟎 + 𝒏𝟏𝟏 𝑻𝒏 + 𝒏𝟐𝟐 𝑻𝒏 𝟐 �𝑷𝒏 𝟐
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 55
 User’s Manual
May 2016
2.3.1.4 EEPROM Config – Digital
This page allows the user to write the TC & NL Coefficients, Scaling Factors, EEPROM Variables
and Filter Coefficients to the EEPROM.
TC & NL coefficients and Scaling Factors
Pr
el
im
in
ar
y
The TC & NL coefficients and scaling factors are populated after the coefficients are calculated
in the ADC and DAC Calibration Page. User can edit the TC & NL coefficient and Scaling Factor
values in the table.
Fig 48: TC & NL Coefficient Table and Scaling Factors Table
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 56
 User’s Manual
May 2016
Filter Coefficients
in
ar
y
The Filter Coefficients are populated based on the cut-off frequency. The user can edit the
coefficients values and Write to EEPROM and Read it back. The edited values are updated in the
configuration file.
Fig 49: Filter Coefficient Table
EEPROM Variables
el
im
EEPROM Variables table lists the available variables that can be configured to EEPROM. Write
or read the EEPROM variables,
•
•
•
•
Pr
•
Select a Variable from the table. The cell will be highlighted in green.
Click on Write Selected / Read Selected buttons to write the variable value into
EEPROM or read the variable value from EEPROM.
To change the value, click on the value in WriteData(Hex) column. In the edit box
that appears, enter the required value in hexadecimal format.
The cell will be highlighted in yellow which means that the value is not yet updated
in the device.
Click on Write selected to write the value into EEPROM.
To read/write all the variables, click on the check box at the top left corner. All the
registers will be highlighted in green. Now perform Read Selected or Write Selected
operation.
Click on Calculate CRC to calculate the CRC. GUI will read the EEPROM data to
calculate the CRC value and update it in the WriteData column
•
•
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 57
in
ar
y
 User’s Manual
May 2016
Fig 50: EEPROM Variables Table
el
im
2.3.1.5 Guided Calibration
Guided Calibration section helps the user to calibrate the PGA 300 device and verify the
calibration through a step by step process.
Instrument Requirements
Pr
1. Temperature instrument.
2. Pressure instrument.
3. DMM instruments.
By default the GUI will support following configuration
1. Temperature instrument - User has to change the temperature manually. GUI will
instruct the user with the temperature value to be set when necessary.
2. Pressure instrument - User has to change the pressure manually. GUI will instruct the
user with the pressure value to be set when necessary.
3. DMM instrument – Used for VDD and DAC measurements. User has to measure
manually and update the values in the GUI when necessary.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 58
 User’s Manual
May 2016
This section consists of two sub sections
1. Device Calibration.
2. Accuracy Verification test.
y
The following file is needed for calibrating the device.
A. Calibration Settings File
ar
1. Calibration Settings File
in
Calibration settings file is a configuration file that contains all the necessary settings for
calibrating the device and configuring the device. The GUI comes with some sample settings file
which the user can use to calibrate the device without any modifications. There is one sample
file for each mode and if the settings are to be changed then user can make a copy of the
configuration file and make the necessary changes.
el
im
Sample calibration settings file location: C:\Users\Public\Documents\Texas
Instruments\PGA300\Configuration Files\Calibration Setting Files
i.
Overview
The calibration settings file consists of three sections
Pr
1. GUI Settings
This section contains the settings to setup the calibration type and other setting that will
help to guide the user to set different temperature and pressure points and collect the
data at each calibration point. In this section user can also specify if only calibration is to
be done or only verification is to be done or do both.
2. Analog Settings
This section contains the settings to be applied to EEPROM of the device for proper
calibration of the device.
3. Digital Settings
This section contains the settings to be applied to the EEPROM that will ensure proper
functioning of the device after calibration.
4. Accuracy Verification Test Settings
This section contains the settings to verify if the device has been calibrated properly.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 59
 User’s Manual
May 2016
ii.
Calibration Settings File Editor
el
im
in
ar
y
GUI has internal editor to edit the calibration settings file as shown in Fig 51: Calibration
Settings File Editor. It is recommended for the user to use this editor since GUI might not
respond properly for any syntax errors in the calibration settings
Fig 51: Calibration Settings File Editor
Editing Calibration Settings File
Pr
iii.
1. Select the file to be loaded on the editor form the files list. For example in the above
figure Fig 51: Calibration Settings File Editor, Calibration Settings - 3P1T – Current
Mode.ini is selected form the list. The selected file name will be shown on the editor
section and the full path will be shown below the selection list.
2. To add a new settings file or remove an existing file, Add button or Remove button can
be used as highlighted in Fig 52: Add or Remove Calibration Settings File
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 60
el
im
in
ar
y
 User’s Manual
May 2016
Fig 52: Add or Remove Calibration Settings File
Pr
3. Select the settings to be edited and click on the setting value to be changed. A drop
down list will appear showing the list of available values that can be configured. Select
required value from the drop down as shown in Fig 53: Calibration Settings File Editor
Drop Down
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 61
ar
y
 User’s Manual
May 2016
Fig 53: Calibration Settings File Editor Drop Down
Pr
el
im
in
For some of the settings, drop down will not appear instead text entry box will appear
where the user can type the values. One such example is Pressure Points (4 Points)
Settings where the user has to type the pressure values separated by comma as shown
in Fig 54: Calibration Settings File Editor Text Box
Fig 54: Calibration Settings File Editor Text Box
For few settings, a popup will appear which will help the user to change the settings and
give the values. One such example is example DAC Data values. DAC data values will
contain the DAC codes and desired DAC output corresponding to the DAC code. To
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 62
 User’s Manual
May 2016
el
im
in
ar
y
change the values, click on the DAC Data value, a popup will appear as shown in Fig 55:
Calibration Settings File Editor DAC Data. On the popup, click on any of the value. A text
entry box will appear where the user can edit the Data.
Pr
Fig 55: Calibration Settings File Editor DAC Data
4. Once the required settings have been edited, click on save option below the editor. To
discard the changes and reload the original file, click on reload option below the editor.
A confirmation will be asked when reloading the file. The reload and save option are
highlighted in the figure Fig 56: Calibration Settings File Save and Load
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 63
el
im
in
ar
y
 User’s Manual
May 2016
Fig 56: Calibration Settings File Save and Load
B. Device Calibration
These sequence of steps will guide the user to calibrate a PGA300 device either in current mode
or voltage mode.
Calibration Procedure
Pr
i.
1. Go to Guided Calibration page. A page as shown in below figure will appear. Click on
Start» button to start the calibration
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 64
el
im
in
ar
y
 User’s Manual
May 2016
Fig 57: Guided Calibration - Start
Pr
2. The next page is the calibration file editor. Detailed information on this page has been
described in Calibration Settings File section on Page 59. After making the required
changes click on Next» button
3. The next page is POT configuration page. The default values will be loaded from the
calibration settings file loaded at the start of the calibration. If there are any changes to
the loaded values, the user can change the values in the corresponding edit box and
click on configure button to apply the values to the device.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 65
el
im
in
ar
y
 User’s Manual
May 2016
Fig 58: POT Configuration
Pr
4. The next page sends OWI activation pulse to the connected PGA300 device when
Activate OWI button is pressed. After sending activation pulse the GUI will read the
microcontroller status and update it in the GUI as shown in the figure below
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 66
el
im
in
ar
y
 User’s Manual
May 2016
Fig 59: OWI Activation
Notes:
The OWI activation is done using USB2ANY scripting.
Pr
5. The next page will configure the PGA300 device for calibration. As soon as the user
enters this page, GUI will start to prepare PGA300 device. The progress of the operation
will be shown at the bottom of the page. The below figure Fig 60: Guided Calibration
Initial Configuration shows the operations that are taking place in this step
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 67
el
im
in
ar
y
 User’s Manual
May 2016
Fig 60: Guided Calibration Initial Configuration
Notes:
Pr
In this step, settings from the Analog Settings section of Calibration Settings file will be
applied to the PGA300 device by writing the data to EEPROM and Device registers.
EEPROM Data is sent as a script containing the sequence of register writes with register
address and data to write. The data to be written to the EEPPROM will depend on the
previous EEPROM data in the device. After script has completed the Analog Settings will
be written to the device CSR registers.
6. Depending on if the PGAIN value is to be calibrated or a constant value is to be written,
the next page will either be Analog Calibration page or start with data collection. If
analog PGAIN is to be calibrated, then Analog calibration page will be appearing.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 68
el
im
in
ar
y
 User’s Manual
May 2016
Fig 61: Guided Calibration Analog Settings
Click on T1-P1 cell. The cell will turn into green
Click on Read PADC to read PADC Data from the device.
Click on T1-P2 cell. The cell will turn into green
Click on Read PADC to read the PADC data from the device
If the algorithm has to be changed then select the browse button and select a
Python file.
f. Then click on Calculate P Gain button
g. After calculating P Gain, click on Write P Gain button. This will write P Gain value
to EEPROM and CSR register in the PGA300 Device.
Pr
a.
b.
c.
d.
e.
7. From the next page Output data collection will start. This section consists of
a. VDD Data Collection
b. DAC Data Collection
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 69
 User’s Manual
May 2016
c. ADC Data collection
Note:
VDD data collection will be done only if calibration is in voltage mode and ratiometric.
Data collection consists of following steps
Pr
el
im
in
ar
y
a. Temperature Setting
This page will guide the user to set proper temperature for calibration. Set the
temperature manually and click on OK button.
Fig 62: Guided Calibration Temperature Setting
a. Pressure Setting
This page will guide the user to set proper pressure for calibration. Set the
pressure manually and click on OK button.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 70
el
im
in
ar
y
 User’s Manual
May 2016
Fig 63: Guided Calibration Pressure Setting
Pr
b. VDD Voltage Measurement
VDD Voltage measurement will be done only if the calibration is in voltage mode
and ratio metric. User needs to measure the VDD voltage manually from the
device and enter it in the numeric control. Next button will be disabled until the
user enters VDD data in the numeric control.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 71
el
im
in
ar
y
 User’s Manual
May 2016
Fig 64: Guided Calibration VDD Data Collection
Pr
c. DAC Data Measurement
This page sets a particular DAC value to the device and waits for the user to
enter the measured voltage/current. The DAC data to be set will be taken form
the Calibration Settings File.
a. User can change the DAC code in the numeric control if required.
b. Click on Write button. This will write the DAC data to the device.
c. Measure and enter the voltage or current form the device depends on
the mode configured in the Calibration Settings File.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 72
el
im
in
ar
y
 User’s Manual
May 2016
Fig 65: Guided Calibration DAC Data Collection
Pr
d. ADC Data Measurement
This page reads PADC and TADC data form the Device and displays the data in
the table.
PADC and TADC data can be read from register or from FIFO based on the
selection on ADC & DAC Calibration page. Click on the Read ADC button to read
the PADC and TADC data.
Note:
ADC data read from FIFO are done using scripting.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 73
el
im
in
ar
y
 User’s Manual
May 2016
Fig 66: Guided Calibration ADC Data Collection
The above four steps will be repeated till all the data required for calibration is
collected.
Pr
8. After all the data required for calibration is collected following parameters will be
calculated
a. TC and NL Coefficients
b. TADC Gain
c. PADC Gain
d. PADC Offset
e. TADC Offset
All these parameters will be calculated for the device and displayed on the table.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 74
el
im
in
ar
y
 User’s Manual
May 2016
Fig 67: Guided Calibration Summary
The calculated DAC codes should lies between 0x0000 and 0x3FFF. When the values
lies outside of this range, Popup will be shown as shown in the figure Fig 40: DAC Code
Error Popup and window will be opened for correcting the DAC codes if required and
then click on Recalibrate button to start the data collection process with the corrected
Pr
data or close the window to discard the changes and start data collection with old data.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 75
el
im
in
ar
y
 User’s Manual
May 2016
Fig 68 Edit DAC Code Dialog
Pr
9. After Calibration summary page, Digital Calibration starts. Following are the parameters
that can be configured
a. Serial Number
b. Normal Pressure Values
c. Clamp Values
d. Fault Values
e. EEPROM Lock
f. Diagnostics configuration
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 76
 User’s Manual
May 2016
el
im
in
ar
y
All the parameters will be loaded from Calibration Settings file. User can change these
values if required. After changing the values, when going to next or previous page the
GUI will ask if the values are to be updated to the Calibration Settings. Based on the user
selection the settings will be saved or not saved.
Pr
Fig 69: Guided Calibration Digital Settings
10. When user enters the next page the, the GUI will write the calibration coefficients and
digital settings to the device. The calibration coefficients and digital settings will be
written to specific EEPROM locations. The progress of the step will be shown in the
progress bar at the bottom of the page. Once the calibration is completed, the GUI will
show PGA300 calibrated successfully… as shown in figure Fig 70: PGA300 Calibration
Successful.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 77
el
im
in
ar
y
 User’s Manual
May 2016
Fig 70: PGA300 Calibration Successful
After this step the user can start calibration for the device.
C. Accuracy Verification Test
Pr
After Calibration has been finished to test whether the device has been calibrated
properly, accuracy verification test (AVT) can be done. Accuracy verification test will be
done when microcontroller is running on the PGA300 Device. This section involves setting a
temperature and pressure point combination and verifying if the device outputs proper DAC
value. This test can be started following the calibration process or separately. If this section
is invoked without doing a calibration, then POT Configuration step will be performed and
after which Accuracy Verification Test will start
1. This section starts with a welcome page as shown in figure Fig 71: Accuracy Verification
Test - Welcome Page below
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 78
el
im
in
ar
y
 User’s Manual
May 2016
Fig 71: Accuracy Verification Test - Welcome Page
Pr
2. The next page shows the preview of the settings loaded form the selected Calibration
settings file. The user can change the settings if required and proceed with the test.
Here user have the options to add or remove test points using buttons or using right
click menu options. Reload button can be used to load the settings from calibration
setting file.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 79
el
im
in
ar
y
 User’s Manual
May 2016
Fig 72: Accuracy Verification Test- Settings Preview
Pr
3. The next step is data collection for Accuracy Verification Test. This section consists of
following steps
a. Temperature Setting
This page guide the user to set the proper temperature for accuracy verification
test. Set the temperature manually and click OK button.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 80
el
im
in
ar
y
 User’s Manual
May 2016
Fig 73: Accuracy Verification Test - Temperature Setting
Pr
b. Pressure Setting
This page guide the user to set the proper pressure for accuracy verification test.
Set the pressure manually and click OK button.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 81
el
im
in
ar
y
 User’s Manual
May 2016
Fig 74: Accuracy Verification Test - Pressure Setting
Pr
c. AVT Data Collection
Measure the read voltage or current from the device depends on the mode and
enter the values in the numeric control. This page also displays the desired
current/voltage given in the Calibration settings File. When OK button is pressed
it compares the measured value and expected value are within the %FSR
specified by the user and update the status LED.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 82
el
im
in
ar
y
 User’s Manual
May 2016
Fig 75: Accuracy Verification Test- Data Collection
Pr
The above steps will be repeated for all the temperature and pressure points
given in the Accuracy Verification Test - Settings Preview Page. After collecting
the required data proceed further to see the results.
d. The next page will show the result of Accuracy verification test. A device is
considered as pass only if it is passed in all the data collection points. Even if the
device has failed a single data collection point then it is considered as fail. For
example in the figure shown below, Overall test result is considered to be failed
because it failed in second test point even though it passed in first and third test
point.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 83
el
im
in
ar
y
 User’s Manual
May 2016
Fig 76: Accuracy Verification Test Summary
2.3.2. Debug
Pr
2.3.2.1.
ADC Settings
• The ADC settings page displays the various ADC configuration settings of the PGA300
EVM board.
•
The page contains the temperature and pressure sensor settings for the ADC.
Temperature and Pressure operations could be switched by selecting the appropriate
tab control.
•
The table at the bottom of the tab control is used to read the ADC register values and
display the corresponding Voltage/Temperature.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 84
el
im
in
ar
y
 User’s Manual
May 2016
Fig 77: Temperature & Pressure Sensor Tab Selection
2.3.2.2.
DAC Settings
The DAC Settings Page contain the DAC features of the device explained in the below
subsections.
The device has PWM logic that can drive the DAC Gain Buffer directly.
•
The PWM functionality uses a 16-bit 4MHz Free Running Timer.
Pr
•
DAC Configuration
•
The device includes a 14-bit digital to analog converter that produces an absolute
output voltage with respect to the Accurate Reference voltage or ratio metric output
voltage with respect to the VDD supply.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 85
 User’s Manual
May 2016
•
When the microprocessor undergoes a reset, the DAC registers are driven to Lower
Clamp value which can be configured to EEPROM by changing the value in EEPROM
Variable section of EEPROM Config - Digital Page.
The page also has options to Write and Read the DAC registers data
in
ar
y
•
el
im
Fig 78: DAC Configuration
Ratiometric vs. Absolute
•
The DAC output can be configured to be either in ratiometric-to-VDD mode or
independent-of-VDD (or absolute) mode using the DAC_RATIOMETRIC bit in
DAC_CONFIG.
•
In Ratiometric mode, changes in the VDD voltage result in a proportional change in the
Pr
output voltage because the current reference for the DAC is derived from VDD.
Fig 79: Configure DAC
DAC Gain
•
The DAC Gain buffer is a configurable buffer stage for the DAC Output.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 86
 User’s Manual
May 2016
•
The DAC Gain amplifier can be configured to operate in voltage amplification mode for
voltage output or current amplification mode for 4-20mA applications.
•
In voltage output mode, DAC Gain can be configured for a specific gain value by setting
the DAC_GAIN bits in DAC_CONFIG register to a specific value.
The DAC Gain can be configured to one of five possible gain configurations using the 2
bit DAC_GAIN field.
•
The final stage of DAC Gain is connected to Vddp and Ground. This gives the ability to
ar
drive VOUT voltage close to VDD voltage.
•
y
•
The DAC Gain buffer also implements a COMP pin in order to allow implementation of
el
im
in
compensation when driving large capacitive loads.
Fig 80: DAC Gain Configuration
2.3.2.3.
ADC Graph
• The ADC Graph Page allows the user to configure the required ADC configuration and
Pr
perform a continuous ADC capture.
•
This page allows the user to switch between ADC Codes and Voltages.
•
Once the required configurations are done on the UI, the capture can be started by
hitting the Start button
•
The continuous capture data will be displayed on the waveform graph on the UI
•
Hit the Stop button to stop the capture at any point
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 87
el
im
in
ar
y
 User’s Manual
May 2016
Fig 81: ADC Graph
2.3.2.4.
Bridge Configuration
• This page allows the user to operate the External Bridge Circuit present in the EVM.
The GUI provides the ability to set variable resistance and balance the bridge.
Pr
•
The PGA300 device has an external bridge circuit. The external bridge has four legs and the
arrow near the leg corresponds to the variable resistor. The balance button at the middle will
be used to balance the leg resistances. The Top Left leg is a configurable resistance. The
variable resistance value ranges to 3 decimal places but this is a theoretical calculation based
on the device specification. Hence there could be minor variations in the equivalent resistance
in the top left leg.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 88
ar
y
 User’s Manual
May 2016
•
in
Fig 82: External Bridge Circuit
There are also options available to set the Potentiometer mode using the drop down.
The two available modes are,
Two Pot. Mode
–
One Pot. Mode
Pr
el
im
–
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 89
 User’s Manual
May 2016
2.3.2.5.
EEPROM Page
This page describes the EEPROM programming functionalities of the PGA300 EVM as shown in
el
im
in
ar
y
Fig.57. Each of the device functionalities are discussed in the following sub-sections.
Fig 83: EEPROM Page
EEPROM WRITE & READ
This section allows you to read-from or write-to the text files
Pr
•
•
In the EEPROM Write Area on the GUI, Right-click to select an EEPROM File.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 90
in
ar
y
 User’s Manual
May 2016
el
im
Fig 84: Selecting EEPROM Data File
•
When a particular file is selected, the data is loaded as shown above. Individual byte can
also be edited using the GUI before writing to the Device. The Calculate CRC (cyclic
redundancy check) will calculate the CRC as per the logic defined in the datasheet for
the write operation.
•
CRC conditions
o When checked with not all the pages selected, the GUI will read all the 128bytes
Pr
of existing EEPROM data and replace the data of the selected page with the
newly configured data from the EEPROM write box and calculate the resulting
CRC. After the calculation, the GUI will write the data of the selected pages and
the last page with updated CRC value to the EEPROM.
o When all the pages are selected, the GUI will not read all the data but will
directly calculate CRC from the EEPROM WRITE BOX and write to all the pages
with updated CRC value to the last byte
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 91
in
ar
y
 User’s Manual
May 2016
Fig 85: EEPROM Data Loaded
Read EEPROM function provides the user the feature to read back the EEPROM DATA
Pr
el
im
•
Fig 86: EEPROM Read Data
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 92
 User’s Manual
May 2016
EEPROM pages can be individually selected and written or read using the check box on
the left side of the data map.
EEPROM Cache read
in
ar
y
This function will help the user to read back the 8 bytes of data from the EEPROM Cache
Pr
el
im
Fig 87: EEPROM CACHE Read
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 93
 User’s Manual
May 2016
Calibration Demo
el
im
in
ar
y
2.3.2.6.
Fig 88: Calibration Demo
This page demonstrates the PGA300 Calibration process. Follow the below mentioned steps to
carry out a calibration process.
Hit the Activate OWI button
•
Configure the three resistance values (Rmin, Rmid & Rmax)
Pr
•
•
Enter the Desired DAC output values (Y1, Y2 & Y3)
•
Hit the Calibrate Button
•
The various stages of the Calibration process will be displayed on the status bar which
appears on the bottom of the page
•
Hit the Stop button next to the Calibrate button to abort an on-going calibration process
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 94
 User’s Manual
May 2016
User has to hit the Activate OWI button every time before starting the calibration
process.
When the user presses Calibrate button, there are set of operations which are performed
y
internally by the automated calibration process. Mentioned below are the various operations
carried out during the process.
Bridge set to One Pot. mode
•
Resistance values are configured to the bridge
•
For every configured resistance value, corresponding PADC value will be read.
ar
•
in
o PADC capture is done in multiple iterations by capturing multiple samples and
averaging the acquired samples.
o The number of samples can be specified in the Capture Iterations control
el
im
present in the ADC and DAC Calibration Page. (Default value is 8)
•
Once all the ADC values are captured, the coefficients are calculated and written into
the EEPROM
•
After writing the coefficients into the EEPROM, the Micro controller is enabled
•
Next step is to read the DAC values from the Comm buff
o DAC capture is also done in multiple iterations by capturing multiple samples and
averaging the acquired samples.
Pr
o The number of samples can be specified by right clicking on the Desired DAC
Output option and entering the required value in the appearing popup window.
(Default value is 8)
•
Once all the DAC values are read, the final process is to plot all resulting values on the
waveform graph. The DAC values read will be annotated on the graph at the respective
points.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 95
 User’s Manual
May 2016
Low Level Configuration Page
el
im
in
ar
y
2.3.2.7.
Fig 89: Low level Configuration
•
Low level configuration page provides a detailed view of all the registers that the device
possesses.
This page allows the users to read from and write to the registers.
•
When a particular register is selected, the corresponding register description is
Pr
•
displayed at the bottom left of the page.
•
Register write modes
o Immediate mode - The register values will be written to device immediately.
o Manual mode - The register values will be written to device when ‘Write
Register’ or ‘Write Modified’ button is pressed. The changed register values will
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 96
 User’s Manual
May 2016
be highlighted in blue. When there are some pending changes and update mode
is changed from manual to immediate, a dialog box will appear. Choose required
ar
Fig 90: Update Mode
y
operation to be carried on from the dialog box.
Fig 91: Pending Changes Dialog Box
•
Changing the Value of register can be done by
in
o Register level operation
Select the register that has to be edited

Double click on the value column corresponding to the register

Enter the register value (Hex) in the edit box.
Pr
el
im

Fig 92: Register level value change
o Field level Operation

Select the register that has to be edited
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 97
 User’s Manual
May 2016

The fields corresponding to the register will be listed in the ‘Field View’
section

When you hover mouse over the value of the field, edit box will appear
and the corresponding bits will be highlighted. You can change the
ar
y
appropriate value in the edit box.
Fig 93: Field level value change
o Bit level operation
Select the register that has to be edited.

Value of each bit in the register can be changed by clicking on the ‘0’ or
in

‘1’ in the corresponding bit column. The bits that are greyed out are read
el
im
only bits. These bits cannot be written.
Pr
Fig 94: Bit level value change
Load and Save Register Configuration Feature
• Save Config - When you click on this button, the current register configuration will be
saved into a file which can be later loaded into the GUI using the Load option.
Fig 95: Save Config
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 98
 User’s Manual
May 2016
•
Load Config – Click on this button to load the configuration file which was saved earlier
to bring the device to a known state. Please make sure Microcontroller is reset before
you load the config.
•
y
Fig 96: Load Config
When you select any of the above options, a message pops up on the screen. Select the
ar
file path (to load /save the configuration file) and press Ok
Load Config will overwrite the existing data in registers with the value specified in the
in
.cfg file loaded.
Register Read and Write
• The Register Data displays the fields of the selected register and value of each bit.
Read Register - When the Read Register button is pressed, the value will be read from
el
im
•
the device and displayed in the Register map tree. The filed view will also be updated
with the new values
•
Write Register- The field view will display the values to be written to register (field wise
view). The hex equivalent data that will be written to the register is displayed in the
value column corresponding to the selected register in Register Map tree.
•
Read All – When you press this button, the data is read from all the registers based on
Pr
the mode (Read and Read/Write mode).
•
Write Modified – When you press this button, any value entered in the display box is
written to all the registers that are in Write and Read/ Write mode. This option will be
enabled only when update mode is manual.
Fig 97: Low level page operations
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 99
 User’s Manual
May 2016
2.3.3. About Page
The About page contains information about the GUI such as the GUI Name, Version Information
el
im
in
ar
y
and Supported OS. The about page appears as shown below.
Fig 98: About Page
2.4. Menu Options
Pr
2.4.1. File
The File menu contains the Exit option as shown in Fig 99: File Menu. The Exit option is used to
stop the execution of the PGA300 GUI.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 100
 User’s Manual
May 2016
Fig 99: File Menu
Scripting is used to automate the device operations and reduce the time consumption in
repeating similar operations.
•
ar
•
y
2.4.2. Script
This is helpful in situations where performing a particular device function may require
setting 10 to 15 registers on the device to a particular value. In these circumstances,
•
in
scripts could be recorded and run whenever needed.
In PGA300 GUI, the scripting is done using Python because,
 It’s easier to implement
el
im
 More widely used
 More user friendly
2.4.2.1. Performing Macro Recording
To create a custom macro, click Script->Launch Window,
Pr
•
•
Fig 100: Launch Window
Python IDLE window appears as shown below,
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 101
in
ar
y
 User’s Manual
May 2016
el
im
Fig 101: Python Idle Window
Selecting the Launch Window again will open another untitled window and the one
opened last will be active.
Click Script->Start Recording, IDLE window becomes green showing that recording is
started
Pr
•
•
Fig 102: Start Recording
Go to “Low Level Page” of PGA300, select “P_GAIN_SELECT” register and write “0x01” to
“Data” control and press “Write Register”. Action is recorded as follows,
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 102
el
im
in
ar
y
 User’s Manual
May 2016
Fig 103: Macro Recording
Stop the recording by clicking on Script -> Stop Recording.
Pr
•
•
Fig 104: Stop Recording
Python IDLE window will no longer be green indicating that the recording has been
stopped.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 103
el
im
in
ar
y
 User’s Manual
May 2016
Fig 105: Finished Macro recording
Run the script by either clicking on Run -> Run Module in the IDLE window or press F5.
Pr
•
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 104
el
im
in
ar
y
 User’s Manual
May 2016
Fig 106: Run Module
“Save As” dialog will appear asking for the file name for the script.
Give any name say “Test.py” and click “Save”.
NOTE: Name of the script should have the extension “py”
Pr
•
•
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 105
el
im
in
ar
y
 User’s Manual
May 2016
Fig 107: Save browser window
Now the script will run and the status will be displayed in the python shell window as
shown below,
Pr
•
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 106
el
im
in
ar
y
 User’s Manual
May 2016
Fig 108: Run saved Macro
To see the result, refer to the register values in the application and they will be the
same as configured by the script. “Read Register” operation can also be recorded
similarly
Pr
•
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 107
 User’s Manual
May 2016
2.4.3. Debug
in
ar
y
The Debug option can be used for the following operations
• USB2ANY Disconnected - By selecting this option from the submenu, the PGA300 GUI is
run with no device connected and by unselecting it, the PGA300 GUI is run in USB2ANY
connected mode.
• File Logging - The log to file submenu is used to log the GUI activities to a log file that is
specified.
• Debugging - The Debug log option will enable to log all the activities of the user. If that
is not selected, only the high level operations will be logged.
Fig 109: Debug Menu
3.
Handling Configuration File
Pr
el
im
The GUI loads the required configuration settings for the various Calibration pages from a
configuration file (Operator Support.ini). This can be found parallel to the application. Operator
support configuration files can be selected from File Menu >> Operator Support >> Load
Configuration. From the dialog box select an Operator Support file to be loaded. The various
sections of the configuration file have been explained in detail below.
Fig 110: Operator Support File Selection
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 108
el
im
in
ar
y
 User’s Manual
May 2016
Pr
Fig 111: Load Configuration Menu & Dialog Box
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 109
 User’s Manual
May 2016
3.1.
EEPROM Registers
el
im
in
ar
y
This section of the Configuration file is used to handle EEPROM Config – Analog Page. It enables
the user to Add/Remove/Hide registers into/from the EEPROM Register Details table.
Pr
Fig 112: Configuration File - EEPROM Registers
•
•
To add a register into the EERPOM Config – Analog page, enter the Register Name in the
[EEPROM Registers] section as displayed in the above image.
Add details of the register in a new section with the register name as the section name.
(eg: [CLK_CTRL_0]) The various elements of the register section has been described
below
 VISIBLE – If set to ‘False’ the register will not be displayed on the GUI.
 ADDRESS – Denotes the address location in the EEPROM to which the particular
register corresponds to. This field takes Hexadecimal values
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 110
 User’s Manual
May 2016
in
ar
y
•
 DATA – Denotes the string which will be displayed in the drop down menu which
appears in the Input Data column for particular register.
 VALUE – Denotes the actual value to be written into the EEPROM on selecting a
particular DATA from the Input Data Drop down. This field takes decimal values
 START/STOP BIT – Denotes the bit position of the particular register in the
EEPROM address
To permanently remove a register from the GUI, delete the register name from the
[EEPROM Registers] section.
Fig 113: Restricted EEPROM Default Values
The restricted EEPROM registers details are mentioned in the [RO EEPROM Registers Default Values] section. The Key names are the Register Addresses and the respective
values are their default values. Both field takes hexadecimal values.
el
im
•
3.2.
ADC & DAC Calibration
Pr
This section of the configuration file contains the default values for the various ADC and DAC
calibration modes. To change the default values to be displayed on the GUI, make required
changes to this section in the configuration file. The various sections of the ADC & DAC
Calibration configuration file have been explained below.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 111
el
im
in
ar
y
 User’s Manual
May 2016
Fig 114: Configuration File – Default DAC Codes
The default values for each ADC Calibration mode, to be filled into the DAC tables have
to be updated into the configuration file as displayed in the above image. The Voltage
values are in V. The current values are in mA.
•
For 2P – 2T mode, the DAC codes are taken from the [DAC Calibration – 3P] section. The
Code1 and Code3 are considered for the DAC Code calculation. Similarly for Voltage and
Current, the first and third values are considered.
•
For 3P – nT mode, the DAC Codes are taken from the [DAC Calibration – 3P] section and
all the 3 codes are considered for the calculation.
Pr
•
•
For 4P – 4T mode, the DAC Codes are taken from the [DAC Calibration – 4P] section and
all the 4 codes are considered for the calculation.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 112
in
ar
y
 User’s Manual
May 2016
el
im
Fig 115: Configuration File – Coefficient Calculation
The various ADC Calibration Modes available in the GUI are getting loaded from the
[Operator Mode] section in the configuration file.
•
To Add/Remove a particular calibration mode, make the corresponding changes to this
section by adding/removing the required modes.
•
While Adding/Removing a particular calibration mode, the related TC and NL
Coefficients also need to be added or removed.
•
The [Temp Select] section defines the maximum number of temperature points
available in the GUI. (The maximum number of points allowed is 4)
Pr
•
•
The [Coefficient Calc Constants] section defines the various constants used for the
coefficient calculation.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 113
ar
y
 User’s Manual
May 2016
Fig 116: Configuration File – Gain and Offset Settings
The Offset and Gain values to be used for the coefficient calculation is configured from
the above mentioned sections (image) of the configuration file.
•
The offset and gain value to be used for the calculation are read from specific EEPROM
addresses (bit positions defined by Start and Stop bits) which has been mentioned in the
configuration file as displayed in the above image.
•
If either of the Addresses is mentioned as ‘NA’, then the default values of offset and
gain will be considered and taken for calculation.
el
im
in
•
 Offset Default Value = 0
Pr
 Gain Default Value = 1
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 114
 User’s Manual
May 2016
3.3.
Calibration Coefficients
Pr
el
im
in
ar
y
[The Filter Coefficient] section is used to add the filter coefficients for respective cut-off
frequencies. The EEPROM addresses for each of the Coefficients are mentioned in a separate
section.
Fig 117: Configuration File – Filter Coefficients
•
To change the value of the coefficients in any of the cut-off frequencies, edit the
corresponding values in the sections.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 115
el
im
in
ar
y
 User’s Manual
May 2016
Fig 118: Configuration File – TC and NL Coefficients
All the TC and NL Coefficients required for the available calibration mode have to be
added in this section of the configuration file.
Pr
•
•
The Address location for each of the coefficient can be added as displayed in the above
image.
TI Proprietary – NDA Restrictions
Revision 3.2.0
Page 116
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other
changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest
issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and
complete. All semiconductor products (also referred to herein as “components”) are sold subject to TI’s terms and conditions of sale
supplied at the time of order acknowledgment.
TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TI’s terms
and conditions of sale of semiconductor products. Testing and other quality control techniques are used to the extent TI deems necessary
to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not necessarily
performed.
TI assumes no liability for applications assistance or the design of Buyers’ products. Buyers are responsible for their products and
applications using TI components. To minimize the risks associated with Buyers’ products and applications, Buyers should provide
adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or
other intellectual property right relating to any combination, machine, or process in which TI components or services are used. Information
published by TI regarding third-party products or services does not constitute a license to use such products or services or a warranty or
endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the
third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of significant portions of TI information in TI data books or data sheets is permissible only if reproduction is without alteration
and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for such altered
documentation. Information of third parties may be subject to additional restrictions.
Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service
voids all express and any implied warranties for the associated TI component or service and is an unfair and deceptive business practice.
TI is not responsible or liable for any such statements.
Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements
concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support
that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which
anticipate dangerous consequences of failures, monitor failures and their consequences, lessen the likelihood of failures that might cause
harm and take appropriate remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use
of any TI components in safety-critical applications.
In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TI’s goal is to
help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and
requirements. Nonetheless, such components are subject to these terms.
No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties
have executed a special agreement specifically governing such use.
Only those TI components which TI has specifically designated as military grade or “enhanced plastic” are designed and intended for use in
military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components
which have not been so designated is solely at the Buyer's risk, and that Buyer is solely responsible for compliance with all legal and
regulatory requirements in connection with such use.
TI has specifically designated certain components as meeting ISO/TS16949 requirements, mainly for automotive use. In any case of use of
non-designated products, TI will not be responsible for any failure to meet ISO/TS16949.
Products
Applications
Audio
www.ti.com/audio
Automotive and Transportation
www.ti.com/automotive
Amplifiers
amplifier.ti.com
Communications and Telecom
www.ti.com/communications
Data Converters
dataconverter.ti.com
Computers and Peripherals
www.ti.com/computers
DLP® Products
www.dlp.com
Consumer Electronics
www.ti.com/consumer-apps
DSP
dsp.ti.com
Energy and Lighting
www.ti.com/energy
Clocks and Timers
www.ti.com/clocks
Industrial
www.ti.com/industrial
Interface
interface.ti.com
Medical
www.ti.com/medical
Logic
logic.ti.com
Security
www.ti.com/security
Power Mgmt
power.ti.com
Space, Avionics and Defense
www.ti.com/space-avionics-defense
Microcontrollers
microcontroller.ti.com
Video and Imaging
www.ti.com/video
RFID
www.ti-rfid.com
OMAP Applications Processors
www.ti.com/omap
TI E2E Community
e2e.ti.com
Wireless Connectivity
www.ti.com/wirelessconnectivity
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2016, Texas Instruments Incorporated
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Related manuals

Download PDF

advertising