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.

Need code for C5505 EVM ECG

hi,

       i am doing project of implementing ECG on c5505. Now  i am successfully connected to the pc. but i am stuck . there are two things i wanted to know that i have set up all the connections as given on the guide, what do i do next??? should i need to write code on CCS or used the given ".out" file with th EVM and the guide mentions "ecgsystem.pjt" but its not here in cds given. i use "ecgsystem-nonbios.pjt" which is given actually , the lcd and pc application starts to give signals but they all are too much noisy.

so can u advice me how to proceed further...is there a code available to you guys...

It would be a great help.           Thanks.

  • you have posted a lot of questions and they are seems to be all just related to your one project using the ECG. Can you consolidate it and post your question in detail so we can try helping you?

  • hi steve and sorry for all that train of questions...

    here the detail of my problem:

    i purchased EVM C5505 and AFE for implementation of ECG. i successfully connected it to pc. the guide which came with it said to follow the steps for ECG i.e


    2. Power on the VC5505 EVM using slide switch SW4.
    3. Open Code Composer Studio.
    4. Click on Debug ® Connect in Code Composer Studio to connect to the VC5505 EVM.
    5. Click on Project ® Open in Code Composer Studio and select the file.
    6. Click on File ® Load .out file in Code Composer Studio.
    7. Execute the application.
    8. Switch on the ECG simulator to view the ECG signal on the VC5505 EVM.( i use it in real time with actual person)

    i didnt find "ECGSystem.pjt" but instead "ecgsystem-nonbios.pjt' was available in Cds folder. i used it. it ask for "stdio.h" in CCS. i gave the file from CCS bin folder(it was not provided within the Cds). then i used .out file again from its CDs folder. the device lcd as well as pc application give output but too much noise. specially from v1 to v6. i tried to use ezdsp5505 .out and pjt files available from code.google as adviced me by ti employee named SEB. but then nothing happens all things become blank. i watched a demo video from ti site in which the operator use simulator for ECG. there i noticed change in jumpers comnfiguration for both AFE and EVM.

    now i am stuck here. what should i need to do now. is there a need to write code or there is a problem in hardware although i have checked a demo sample code provided with it and it works just fine. please advice me on this...

                          Thanks.

  • Great! This is much clear.

    You are following the right steps. One thing to be sure, when you stated the outputs on lcd and pc application are too noise, can you explain? What do you mean by noise?Maybe posting a screen dump capture? I suspect your HW is working fine. Let's be sure.

    I am not sure which ezdsp .out file you tried to run on this setup, but please remember .out file is the COFF format of an application source code after compilation. It all depends on that application code functions to whether it would work on what HW platform.

    Once you have confirmed the HW is good, you are ready to move on to your own application development.

    Regards.

  • hi steve,

                 i am posting the screen shots. as you can see there is too much noise from v1 to v6 where as others have less noise. although i have just connected just one lead(v6) to a body. and v6 also shows the same pattern as v1 to v3. i suspect the AFE has a problem...??

    as for the codes of ezdsp here is the link. the guide mentions that the ".out file given with the cds are well enough to carry out the ECG", so why is there a need to write another code for the application?? another thing is that the stdio.h file is not given and i used it from CCS bin folder as i have mentioned that i searched for  in my pc and i found only that one there. may be the file is no good for the task...

    http://c5505-ezdsp.googlecode.com/files/MDK_ECGSystem_C5515EVMa.zip

    http://c5505-ezdsp.googlecode.com/files/ADS1298_ECGSystem_C5515EVM.zip

    right now i am changing jumpers configuration in hopes of getting a clean response. 

                          Thanks.

     

     

  • hi,

        i have posted my query but the reply hasn't come yet. please i am waiting for the assistance..

               Thanks.

  • Hi Talha,

    Talha Saleem said:
    i tried to use ezdsp5505 .out and pjt files available from code.google as adviced me by ti employee named SEB. but then nothing happens all things become blank.

    The ECG project files on the code.google.com are only for the C5515 EVM, which has a different LCD screen. This is why it appears blank. It may also explain why the jumpers appear different in the video.

    You have the VC5505 EVM, correct? What Analog front end board version do you have?

    Where did you get the cables/sensors that connect to the DB-15 connector?

    Regards,
    Mark

     

  • hi Mark,

                 thanks for the reply. You are right the codes were for C5515, so i can see now why it did not work.

    Yes i have C5505 EVM and as for the AFE i have 1258. And the connectors I got, were from the local market.

    as for now the noise is gone to some extent...this time i used all the connections. but a new thing has manifested... heart is varying from 120 to 88, although i am lying perfectly still.

    what could be the problem now???