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.

TMS320C5515EVM with SPO2/ECG and Steth. installation instructions

Hello,

I've purchased 3 TMS320C5515EVM and the SPO2, ECG and Stehscope Daughter boards.  The Code Composer Studio is version 4.1. I started working on the SPO2 to get it going but having troubles. The documentation and the software in the MDK do not match. I've search on this forum and there are many answers but nothing that can take me step by step from the begining. Is there new accurate and detailed documentation out there that documents the process of installing all the necessary software and getting the SPO2 up and runing in both Debug and Standalone mode?

 

Also, how can I get the source code for the PC application?

I'm new to this and I really appreciate any assistance on this.

 

Thanks,

Raed Nashef,

 

  • 1. Download the latest version of code from the Google site:

    http://code.google.com/p/c5505-ezdsp/downloads/list

    2. Load and execute the already built .out file in to confirm the hardware and setup is correct.

    This is for CCS3.3. We will post the CCS4 version  shortly.

     

    Steps to Import to CCS4+

    3. Then you can import the project via - "Project"->"Import Legacy CCv3.3 Project" to import the project (.prj) file.

    4. CCS4 has a different definition on Include file search order than CCS3.3 which puts local last.  To correct this issue open Build Properties -> C/C++ Build option -> Tool Settings tab -> Include Options.  You will see the search paths defined and the order that CCSv4 will search them.  Take the 4 locally defined folders: \inc, \common_inc, \src and \common_src (doesn't actuall exist in this project) and move them to the top of the search list.  You can do that by using the Move UP and Move DOWN icons across the top of the definition window.

    5. Also include a path to your local bios to resolve the std.h file. From the above include option setting method, use the Add icon to add the search path. This is an example of my path:  "C:\Program Files\Texas Instruments\bios_5_41_10_36\packages\ti\bios\include" Use BIOS version 5.

     

    6. Current program produces a noisy signal. Simple fix it in Spo2_timer.c find "temp" - it should appear 5 times:

    First location, it is declared as a float, change to Int32;

    Next, it's then used in duplicate fashion for the red & IR signals

    first as         temp = (NRCOEFF * R_prev_ac_level);

    then            R_ac_level = (R_Amplified_filtered - R_prev_Amplified_filtered) + (Uint32)temp

    Change this line (& the corresponding IR one) to -

                       R_ac_level = (temp + R_Amplified_filtered) - R_prev_Amplified_filtered; 

    Again, we will post this CCS4 version to the Google site.

    Regards.

     

  • Thanks Steve. It worked.

    I have couple more questions please:

    1- How do I set it up for Standalone mode?

    2- I would like to write my own PC software to capture the SPO2, ECG and Steth data. Where do I find what format/kind of data I will be getting from the serial port?

     

    Thanks,

    Raed.

  • Do you want to run the .out file without CCS? Thus you have to use the boot feature. Refer to data manul section and the Bootloader apps note.

    My colleague told me to look into the user guide. Have you try? I will get one and look.

    Regards.

  • Unfortunately, no such documentation came with the CD and boards. Can you point me to where I can find such documentation?

    Also, I would like to write my own application to capture and plot the SPO2/ECG/Stethoscope data. Is there an API? any source code examples?

     

    Best Regards,

    Raed.

     

     

  • Steve and team,

    I did find the documentation and was able to load the boot image successfully.

    As mentioned in my previous post, I would like to write my own application to capture and plot the SPO2/ECG/Stethoscope data. Please let me know if there is any API that I can use? and whether you can provide and source code examples?

    I will be using a serial-to-USB adapter and then capture the data throught the usb port. I also would like to connect all three 5515EVM boards to a USB hub and have my application capture the data from the three sources ECG, Stethoscope and SpO2.

    All your help is much appreciated.

    Regards,

    Raed.

     

  • You can view the captured data offload via:

    For system with LCD Display and PC Monitor:

     

    Step 1: Connect the RS 232 serial cable port from EVM to PC.

    Step 2: Run the C55x SpO2 Medical Development Kit (MDK).exe from Desktop or Programs File Menu shortcut.

    Step 3: C55x Medical Development Kit (MDK) form will be opened. Select the Online option and click “OK”.

    Step 4: “Com Port Settings” form will be opened now and select the Com port and click “OK”.

    Step 5: “C55x Medical Development Kit (MDK) Pulse Oximetry-Online Demo” form will be opened and the IR waveform will be displayed along with SpO2 and Heart rate.

    1)     X Scaling button can be used to zoom in and zoom out to 25mm/s and 50mm/s scroll speed.

    2)     Y Scaling button can be used to zoom in and zoom out the amplitude scale         ( 50 %, 75 %, 100 %, 200 %, and 300 %)

    3)     Start Recording\Stop Recording button can be used to record the data. Recording will be started on pressing of Start Recording button and the recording can be stopped by pressing the same button. After pressing the Stop Recording option Open file dialog will be opened to save the recorded data as a file in default location or user specified location. These recorded Spo2 files can be viewed in Offline mode by following Step 6 to 7.

     

    Step 6: Select the Offline option on “C55x Medical Development Kit (MDK) and click “OK”. This will open the “Offline” form where the user can browse a recorded SpO2 file.     

    Step 7: Now the “SpO2 Offline Monitor” form will be opened and the static waveform of R and IR along with the SpO2 value and heart rate will be displayed. The waveform can be viewed by moving horizontal scroll bar.   

    1)     X Scaling button can be used to zoom in and zoom out to 25mm/s and 50mm/s scroll speed.

    2)     Y Scaling button can be used to zoom in and zoom out the amplitude scale.

    3)     User can browse another recorded SpO2 file using menu File->Open.

    4)     The cursors can be used to find the timing between the SpO2 waveform segments.

     

     

    Regards.