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.

CCS/TMS320F28379D: CCS

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

Hello All,

                 I am working on programming the TIDSP TMS320F28379D using the Code Composer Studio. I need a small help in coding. I want to implement the cross correlation of two floating point arrays in code composer studio. Can I get a sample code for the implementation of the Cross correlation on the TIDSP.

Thank you.

Regards,

Sainath Reddy Samireddy.

  • Hi Sainath,

    If you don't find someone on e2e with C2000 specific source code, these MCUs are programmed in C, so you can probably just search for "cross correlation implementation in C" in google and get some pretty good starting points.
  • I already have my code for implementing the cross correlation in C language. Do you mean that the product that I have mentioned can be programmed in C (Are the codes completely similar in C and Code Composer Studio ???)
  • Sanaith,

    Most likely your C code will compile and run on C28x without modification, however you may have some work to do to link your data into the right memory sections. If you are not familiar with the C28x platform, I can recommend the training materials, here:

    processors.wiki.ti.com/.../C2000_One-Day_Workshop

    The principal area of concern will be performance. For optimum efficiency algorithms such as these would be coded in assembly language, however as Devin has pointed out, we don't currently have an example of cross correlation on C2000. You may find some useful code in the C2000 DSP library in C2000Ware. If you have this installed in the default path on your hard drive, the library will be at:

    C:\ti\c2000\C2000Ware_1_00_01_00\libraries\dsp\FPU\c28

    Regards,

    Richard