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.

How to use motherboard MMB0 which ADS1298 plug into?

Other Parts Discussed in Thread: ADS1298, INA333, OPA209, ADS1298ECGFE-PDK, ADS1292R, ADS1292, ADS1299, TMS320VC5509A

Hi,

I am using ADS1298 with MMB0 as its motherboard to do my EEG project. Now I can use ADS1298 to get the EEG signal and then transmit the data to my PC by MMB0 motherboard. I am wondering that whether the TMS320VC5509A DSP on MMB0 board would do anything to the data from ADS1298 or not? What could I do if I want to use this DSP chip to do something to the data collected from ADS1298 like convolution? Is there any recommended interface?

Thanks in advance.

Best,

Zhaoting Du

  • **TI EDIT February 20th 2019; FOR GENERAL ADS129x ASSISTANCE, PLEASE SEE NEW BIOPOTENTIAL FAQ LOCATED HERE**

    Zhaoting,

    As the EVM is shipped from the factory the DSP on the MMB0 is only used to communicate between the ADS1298 and the PC. You could choose to make additions to the open-source firmware on the evaluation kit or you could create your own firmware from scratch. The J8 header is a JTAG interface to the DSP, so as long as you have an emulator and some environment that supports that emulator you could develop code from there. 

  • Hi Kevin,

    Thanks for reply.

    Could you please tell me how could I see the program of the original firmware and make additions to it a little bit more specifically? Is there a user guide or something? I will also appreciate that if you could provide more information about the interface you recommended because I am totally new in this area.

    Regards,

    Zhaoting Du

  • Zhaoting,

    The current firmware is available for download from the location below:

    ftp://ftp.ti.com/pub/data_acquisition/ECG_FE/ADS1298/Source_FW_ADS1298.zip

    There is a password for the archive, if you're comfortable with providing an email address here I can send you the password. Alternatively I can fetch the address you registered with the E2E, which will take a bit longer.

    There is no User's Guide for the firmware. The code is commented relatively well. We'll help answer specific questions about the firmware but generally you're on your own for modifications.

    JTAG is a common type of test port employed by many embedded controllers. From a JTAG interface you may deliver new firmware to an embedded controller and perform various debug actions, like single-stepping through code. 

    Modifying the firmware for this project is not going to be a trivial matter if you are completely inexperienced with embedded systems.

  • Hi Kevin,

    Here is my email address: duzhaoting@gmail.com

    Thanks for your help anyway.

    Best,

    Zhaoting Du

  • Hi Kevin,

    I am wondering if there's another way to do what I want to.

    For example, could I use the GUI of ADS1298 (ads1298ecg-fe-1.0.3)  offered by TI to collect the data from MMB0 and do the DSP on my own PC (using software like LabView)?

    Thanks for your great patience.

  • Zhaoting,

    Yep. The LabVIEW source is available here:

    ftp://ftp.ti.com/pub/data_acquisition/ECG_FE/ADS1298/Source_LV_ADS1298.zip

    Same password I sent you for the firmware.

  • Hi Kevin,

    Thanks a lot for your help.

    I opened the vi you gave me yesterday in LabView and I got the exactly same GUI of ADS1298 (ads1298ecg-fe-1.0.3)  offered by TI but in LabView's front panel. Besides that I also got the block diagram of it. Does that mean I could do some additions directly to the vi you gave me so that it could perform like what I want (for example, DSP like convolution) ?

    Best,

    Zhaoting Du

  • Zhaoting,

    Precisely. I'd recommend working from the LabVIEW Project, rather than the Virtual Instrument directly to ensure that all of the program's components remain linked correctly. Additionally, should you want to build an executable version of the program, you will need to use the Source Distribution builder from the project to generate the required components for the NSIS script to build the installer. I expect that running the program from the LabVIEW development environment will be suitable for your needs, though.

  • Hi Kevin,

    I have one simple question. Is the LabView source file you gave me the source code of the TI software 'ads1298ecg-fe-1.0.3' ? If yes, does it mean I could create an installer of ads1298ecg-fe-1.0.3 using exactly the LabView source file you gave me ?

    Regards,

    Zhaoting Du

  • Zhaoting,

    The LabVIEW project you've been provided with is the source code for the TI Evaluation kit. You can modify it, rebuild it, and repackage it into an installer if you'd like. I believe the NSIS scripts to build the installer have been provided in the source you have. If you plan on distributing this software you'd probably do well to change the name to indicate that it is not from TI and you may not sell the software for money.

  • Hi Kevin,

    Thanks for your information. There is another question I want to ask, under which version of LabView is the ADS1298 software source code programmed? Is it LabView 8.6? I met an error with error code 1073 when I was trying to build the application. It seems to have something to do with the version of LabView when I checked the error code on NI's Website.

    http://digital.ni.com/public.nsf/allkb/67F5996B9031F8C7862575150059A2B7

    Do you have any experience on this (I mean building application or installer of ADS1298 software)? Any other possibilities for that error?

  • ADS1298 is designed using LabView 8.6.  The error code that you are seeing seems a little odd since none of the ADS1298 VIs should be using Express VIs.

    We are currently working to have ADS1298 app support WIN7 and in the process, we are porting the code to LabVIEW 2010.  We hope to have this work complete soon.  During the conversion process, there have been a few errors in the conversion process with LabVIEW not supporting or changing the function of their code.  However, these all manifest as broken VIs normally, so running the VI would not be an option and prohibited by LabVIEW.

  • Hi Greg,

    Thanks for your reply. Did you mean ADS1298 software here ftp://ftp.ti.com/pub/data_acquisition/ECG_FE/ADS1298/ads1298ecg-fe-1.0.3.exe does not support Window 7? Now I have a problem about this software. It works well on my partner's laptop which has Windows 7 Home Premium installed and we did all our experiments with her laptop. However, there is an error when I installed and opened it on my laptop that has Windows 7 Professional.

    The error says 'An error occured with error code 8
    Write to Text File in ADS1298EVM_Main.vi<APPEND>
    C:\Program Files\ADS1298ECG-FE\libmmb0\saved\Estyx History.txt'

    I found the txt file mentioned above and open it, it says as follow:

    Read from /version    value 0.2.18    length 6    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/ch1set    value 0x1    length 3    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/ch2set    value 0x1    length 3    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/ch3set    value 0x1    length 3    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/ch4set    value 0x1    length 3    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/ch5set    value 0x1    length 3    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/ch6set    value 0x1    length 3    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/ch7set    value 0x1    length 3    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/ch8set    value 0x1    length 3    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/config1    value 0x86    length 4    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/config2    value 0x10    length 4    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/config3    value 0xDC    length 4    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/devid    value 0xB6    length 4    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/gpio    value 0x0    length 3    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/loff    value 0x3    length 3    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/loffflip    value 0x0    length 3    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/loffsensn    value 0x2    length 3    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/loffsensp    value 0xFF    length 4    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/loffstatn    value 0x6    length 3    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/loffstatp    value 0xFF    length 4    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/pace    value 0x0    length 3    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/resp    value 0x0    length 3    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/rldsensn    value 0x0    length 3    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/rldsensp    value 0x0    length 3    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/reset    value 0    length 1    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/sleep    value 0    length 1    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/config4    value 0x2    length 3    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/wct1    value 0xA    length 3    with an error code of 0 -> 09:42:39
    Read from /ads1298evm/conf/wct2    value 0xE3    length 4    with an error code of 0 -> 09:42:39

    When I tried to connect ADS1298 to PC, the board seemed not to be recognized by this software and I could not see the registers map in the software.

    I checked this error code in LabView error codes. Error code 8 could either mean a 'File permission error' or a 'DMA Hardware error detected'.

    Could you please help me fix this problem?

    Regards,

    Zhaoting Du

  • Zhaoting -

    As noted, the ADS1298/1198/1298R/1198R software does not currently support any Win7 operating systems.  This is described both in the user guide and product folder page where you downloaded the software.

    We have had a couple customers tweak the software and successfully get it working on Win7, but theses are modifications done externally to our currently supported software.  So it is possible that for some reason that it works on your partners PC, but this is not the expected behavior of the software application.

    We are working to release a new version in the next few weeks that will support Win7.  At that time, we will change the user guide and product page to reflect this change.

  • Hi Greg,

    I have a question about the source code here ftp://ftp.ti.com/pub/data_acquisition/ECG_FE/ADS1298/Source_LV_ADS1298.zip

    I tried to open the main vi 'ADS1298EVM_Main.vi' and run it. However, there is an error here says

    'An error occurred with error code 7

    Write to Text File in ADS1298EVM_Main.vi<APPEND>

    C: \work\LabView Files\LV86\libmmb0\saved\Estyx History.txt'

    I have tried it both in LabView 2011 and LabView 8.6 and they all have the same error. Could you please tell me how I could run the vi in LabView environment?

    Regards,

    Zhaoting Du

  • Zhoating -

    Make sure you have the path C: \work\LabView Files\LV86\libmmb0\saved created on your hard drive.  The program should create the text file if it doesn't exist.

  • Hi Greg,

    Thanks for your reply and I appreciate it.

    Now I am able to run the vi but I still can not make communication with the board using the vi I run. When I run it and connect the board to my PC at the same time, the statement at the top right corner of the UI which is green (shown as follow) says:

    'Locating binary file'
    then 'Reading binary file'
    then 'USB connection established'
    then 'No firmware found...downloading'
    then 'Download failed...reset the hardware'

    Then I got this:

    'The firmware load has failed due to time out condition. Please reset the hardware to continue loading the firmware'

    'Connection and FW load failed
    Please check your connections/configuration and try again'

    I also check the thread and I found this:  http://e2e.ti.com/support/data_converters/precision_data_converters/f/73/t/164743.aspx

    My situation is similar but a little bit different from that guy because I try to use and run the vi in LabView environment. Is that possible? Does this have something to do with the incompatibility  of Windows 7? I thought it might be OK because it is run in the LabView environment. Am I wrong about this?

    Thanks a lot for your patience.

    Regards,

    Zhaoting Du

  • Zhaoting -

    The compatibility with WIN7 is a driver issue, not necessarily a LabVIEW problem.  I would expect to see behavior similar to what you describe when you are trying to use this on Win7.  We are currently upgrading the software to a new version of LabVIEW to go along with the driver upgrade.

  • Hi Greg,

    Here is one question I want to ask about those PGAs. From the user's guide and data sheet, I know I could set the gain of those PGAs to 1, 2, 3, 4, 6, 8 or 12 by setting the 4th bit to 6th bit of the CHnSET registers. My question is that will that be possible if I want to tune the PGAs' gain other than those 7 values? How does this gain programming mechanism work? Are there any details about this?

    Wish your reply and thanks for any help and advice.

    Regards,

    Zhaoting Du

  • Zhaoting -

    The gain settings of the PGA are fixed gain settings that are design into the silicon, so I am unsure of what you would propose to modify.  You could potentially add gain/attenuation in an external circuit that you would control (external op-amp/PGA), if you wanted more control.  So you would pre-condition the signal before the ADS1298, but this circuit could potentially influence noise or signal integrity. 

     

  • Hi Greg,

    Thanks for your reply.

    I just want to know how the gain of those PGAs are programmed. On data sheet page 25, I notice that the gain is controlled by the tunable resistor R1, which is 20 kohms for gain = 6. And I also know that the gain is controlled by the CHnSET registers (4th bit to 6th bit). So the question is how the registers' values affect those tunable resistors and hence change the gain of PGAs. Could you please tell me the simple mechanism of it? Any detail schematics?

    Regards,

    Zhaoting Du

  • Zhaoting -

    So from your question previously, you are want to change the gain of the PGA, correct?  The circuit that you noted on Figure 28 is how the internal settings of the CHnSET registers (as you noted) afftect the PGA.  As the register values change, so does the value of R1 (as you noted).  The resistor scales accordingly to set the gain of the PGA, so the value of R1 can be calculated out to the required value.

    So if you are trying to "tweak" the gain, you need to be putting a attenation/gain stage in front of the mux to accomplish this since you cannot change any of the resistor values used to set the gain.  If this is not your objective, please clarify what you are trying to achieve so that we can better answer your question.

  • Hi Greg,

    I am happy to try the new software.

    My email is: xxxxx@gmail.com

  • Hi Greg,

    Thanks for your reply.

    Yes, we are trying to control the PGAs' gain.

    From what you said, my understanding is the gain of PGAs themselves can not be changed to other values except those 7 (1, 2, 3, 4, 6, 8, 12), or, the gain values of PGAs could not be tuned continuously. We have to add external circuits to make the gain of the whole path constant. Is that correct?

    I also asked about the gain control mechanism of those PGAs. How does the change of registers lead to the value's change of R1?

    By the way, does TI have PGAs which could be programmed like this way and used together with the ADS1298?

    Regards,

    Zhaoting Du

  • Yes...you are correct in that there is no method to change the gain settings of the chip.  The gain adjustments that you are talking about will need to be done externally with an op-amp/resistor divider circuit.

    The PGA is controlled via register bits that switch in/out different resistor values to set the gain.  This is strictly controlled internally on the device, so the operation cannot be changed or modified.

    We do have some PGAs and op-amps that are available.  The trick is that for ECG performance you need extremely low noise values, which is challenging to achieve with external signal conditioning circuitry.  PGAs in gerenal aren't going to be real good for low noise applications.  INA333 and OPA209/211 might be a good place to start for low noise gain/attenuation.  You might check out the article in the following post on the Linear Apps Forum regarding noise source for INA type devices and other amplifier information.

    http://e2e.ti.com/support/amplifiers/precision_amplifiers/f/14/p/202887/720670.aspx#720670

  • Hello Greg,

    I am working with Zhaoting together. Is there any method of controlling these swithes by program? Such as in labview or add another DSP stage?

    Thanks a lot!

    JINGYI

  • The switches are controlled by the per channel gain settings. You may not access them directly. Review the device datasheet and EVM user's guide.

  • Jingyi -

    I understand that you want to control the PGA settings.  However, per the previous discussions, these are controlled internally on the silicon and are fixed to the values that are available shown in the datasheet.  They are not available for programming.

    External gain/attenuation (see previous post) circuitry will need to be implemented to achieve the constant gain that you desire for your circuit

  • Dear Greg,

    could you send me please beta version of ADS1298 (for WIN7) with code for LabView ?

    Is it full compatible with labview 8.6? or i newer version of LabView?..

    BR Martin (martinholub@mail.com)

     

  • Hi Greg,

    Could you please send me the LabView Source code of the Windows7 ADS1298 software?

    Regards,

    Zhaoting Du

  • Hi Greg

    I have recently bought the ADS1298ECGFE-PDK, could you give me the password to access the source code, as well as acess to the beta version. Additionaly is it possible to display the raw measurements in real-time?

    Regards

    Jonathan

  • Zhaoting -

    The new source code will be available when the final version of the software is released.  This prevents you getting code that has know issues or problems.

  • Zhaoting -

    The ADS1298ECG-FE kit that contains the MMB0 is intend for evaluation purposes with the software writen and provided "as-is".

    You can write your own code and program the DSP by installing and using the JTAG header, J8.  You can additionally run and debug you code through the JTAG also, but the UI will only work with the code/firmware that loads and installs as part of the ADS1298ECG-FE software that comes with the kit.

  • Dear Kevin,

    would you please send me the password for the zip file?I'm also doing some ECG research on 1298ECG fe.My email address is xxx@gmail.com

    Thank you !

    Yu Junhua

    Kevin Duke said:

    Zhaoting,

    The current firmware is available for download from the location below:

    yyy

    There is a password for the archive, if you're comfortable with providing an email address here I can send you the password. Alternatively I can fetch the address you registered with the E2E, which will take a bit longer.

    There is no User's Guide for the firmware. The code is commented relatively well. We'll help answer specific questions about the firmware but generally you're on your own for modifications.

    JTAG is a common type of test port employed by many embedded controllers. From a JTAG interface you may deliver new firmware to an embedded controller and perform various debug actions, like single-stepping through code. 

    Modifying the firmware for this project is not going to be a trivial matter if you are completely inexperienced with embedded systems.

  • Yu,

    You should receive the password soon. Good luck in your research.

  • Hi,

    I am doing a ECG Feature Extractor using Labview project for getting my masters degree. I am using ADS-1298 evaluation kit as a front end to acquire ECG signal, but i am unable to get Raw data from the MMBO board to the Labview. So can i get the password for the Labview and MMBO board source code ZIP file so that i can trace how to get the data from MMBO board. My email ID is ameenfaraz@gmail.com.


    Regards

    Ameen Faraz



  • You should receive an email shortly with the request information.

  • hi,

    Thanks i got the mail containing the link for the Labview files with password. When i tried to open the main VI ,its showing me that some files are missing. I have attached the screen shot of it

    Regards

    Ameen

  • Hi, 

    I would like to use MMB0 with ADS1292R. I would like to change the FW and LV code myself. Unfortunately without password for ZIP files I can't do that. Could you please send me pass for archives in yyy

    my email address is xxxx@pavlin.si

    Thanks!

    Marko

  • Mr Pavlin -

    You should receive an email with the requested information shortly.

  • Hi Greg,

    Could you email me a copy of the software, i need the labview source and perhaps the firmware source.

    jmooney538@gmail.com

    Thanks,

    John

  • Mr Pavlin -

    Just to verify, you are interested in the ADS1298 source code?  Or the ADS1292?  The ADS1292 does not work with the MMB0; the source code for this software is MSP430 based.

  • Mr. Hupp,

    yes, I am interested in ADS1298 source code.

    BR

    Marko

  • An email with the requested information should be on its way

  • Dear Greg,

    I would like to use MMB0 with ADS1298 in the ADS1298ECGFE-PDK, and modify the FW and LV code myself. Unfortunately without password for ZIP files I can't do that. Could you please send me pass for archives?

    Thanks!

  • May we us the email you provided in your profile for communication?  If not, can you please provide a more suitable email?

  • The email provided in my profile is perfect for communication. Please send my the pass.

    Thanks,

  • You will receive an email shortly with the request information.

  • Hello Greg,

    I think I am having the same or a similar problem with the device driver when I connect my ADS1298 ECG evaluation board to my PC.

    I am using Windows 8 (arghh.. I don't know why I installed it on my PC in the first place!). Could you let me try the latest software/driver as well please (the one for Win7)?

    If you could share the source code as well, that would be fantastic!

    Thank you so much for your help.

    Regards,

    Jagun.

  • Mr Kwon -

    The evaluation software is not tested or supported on Windows 8.  It is tested for operation on WinXP and Win7.  We are currently working to resolve some driver installation problems on Win7 64bit; and until then there is a manual process to install the drivers.