This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ADS1292: ADS1292 Demonstration Kit source code / ADS1292ECG-FE Labview PC software source code

Part Number: ADS1292
Other Parts Discussed in Thread: , MSP430F5529

Hello, I am using ADS1292ECG-FE Demonstration kit for a project.  and I have encountered several problems that need to be solved.

1. When I use CCS to debug the source code, there are many errors. Are all the source codes in this folder (C:\Program Files\Texas Instruments\ADS1x9xevm\Firmware\Source Code) ? Are there files needed for debugging in other folders?

2. When I set different "PGA Gain", the waveform amplitude of the same signal displayed in the Live ECG Display window is different.

For example, I input 1mV sine wave. When the gain was set to 6, the Live ECG Display window showed that Vpp was 1.2 mV. When the gain was set to 12, the Vpp was 2.5mV. As shown in the figure below.

Is this the right display? Which gain should the actual signal be based on?

I  really need the source code of Labview PC software to be more familiar with the use of the software.  Would anyone send these files to me?

Really appreciate!

  • Hi Lucas,

    Welcome to the E2E forum !!! 

    1. All the source codes are provided in the PC folder listed below. Please note that the code is provided “as-is”, and modifications/changes are not supported.

    C:\Program Files (x86)\Texas Instruments\ADS1x9xevm\Firmware\Source Code\ADS1x9x_ECG_Recorder_FW_V1_12.zip\ADS1x9x_ECG_Recorder_FW\SRC

    2. The waveform should be all input-referred by default. You can verify this with the "Scope" graph plot under the Analysis tab. In addition, you can either unchecked the "Analysis Data is input referred" selection box to display the ADC output data directly.

    The Labview PC software can be downloaded in the E2E FAQ link below. 

    [FAQ] Does TI provide source code (C/C++/CCS, LabView) for the ADS1191, ADS1192, ADS1292, or ADS1292R?

    Thanks

    -TC

  • Hi TC,

    Thank you for your reply.

    1. I did not modify the code, but debugged the source code on CCS. The problem is that debugging the source code will also make errors, as shown in the figure below. 

    2. The waveform in the Live ECG Display window will change according to the gain setting, and there is no "Analysis Data is input referred". 

  • Hi Lucas,

    The non-existing paths on the Compiler most probably cause the errors that you are seeing. In addition, there may be issues with importing legacy projects in CCS that need to be resolved. Can you post the exact CCS compilation errors to the Code Composer Studio forum for further assistance? I will check with the team to see if I can find a solution. 

    Code Composer Studio Forum

    The Live ECG Display widow does not have the option to select how the data analysis is done. However, you can find this option on the "Scope" plot under the Analysis tab.

    Thanks

    -TC

  • Hi TC,

    Thank you for your reply. I will post this question  to the Code Composer Studio forum

    In addition, there is another problem with the ADS1292 code. The firmware provided now controls ADS1292 by setting the STARTpin high or low.  Whether new firmware can be provided, which can control ADS1292 through the START command (08h or 0Ah). We really want to verify the performance of the START command. 

    Thanks! 

  • Hi Lucas,

    Please see the below procedure to fix the 2 issues with the firmware source code.

    1. Right-click on Project, go to Properties. Go to Build -> MSP430 Compiler -> Predefined Symbols. Delete "__MSP430F5529" (only "__MSP430F5529__" should remain.)

    2. Open usb.c under USB_Common directory. Go to Line 358 and delete "UPCS0 + ".

    This should clear all the errors for compilation. 

    Unfortunately, we will not be able to provide new firmware for ADS1292 using the START command. You will need to modify the source code for your requirement.  

    Thanks

    -TC

  • Hi TC,

    All compilation errors have been cleared. However, after I updated the new firmware to ADS1292 Demonstration Kit, my PC can no longer recognize this device. I just revised the two places you mentioned, and nothing else has been changed. 

  • Hi Lucas,

    We are currently not able to support any update to the existing firmware on the EVM. The firmware was developed with the older window system and CCS. Therefore, the provided firmware source code may not work correctly after recompilation. The default firmware is available at C:\Program Files (x86)\Texas Instruments\ADS1x9xevm\Firmware\. Would you please try to reload the default firmware and see if you are able to get the board back to its original state?

    Please review these posts below which had a similar problem and see if it help to resolve your issue.

    http://e2e.ti.com/support/data_converters/precision_data_converters/f/73/p/193430/692672.aspx#692672

    https://e2e.ti.com/support/data-converters-group/data-converters/f/data-converters-forum/532739/ads1x9x-evm-source-code

    Thanks

    -TC