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.

DSP Library FFT onTMS320VC5505

Hello,

I`m irritated about a problem with the rfft() function from the DSP Library.

When I call it in C55x Simulator it works.

When I call it in a minimal environment example it works correct, too.

But when I call it in my true main program and step over it the results are false.

I did all like in the DSP Library Example and compared with Matlab and the results in the t12.h file.

There are no active interrupts.

I`m really perplexed about it because I change nothing in the minimal environment other than not defining some variables and not including CSL Library headers

  • hmm, I really tried all I could till today, looks like I make a dumb failure in my project.

    I have uncommented all expect the rfft() call in my main program. Looks like if I change anything in the program I get another unscheduled result of rfft().
    Maybe a problem of the placement in memory? The compiler doesn`t complain expect the "normal" errors I get every time
    C:\Programme\Texas Instruments\ccsv4\utils\gmake\gmake: *** Warning: File `makefile' has modification time in the future (2010-05-20 14:52:40 > 2010-05-20 14:52:38) C:\Programme\Texas Instruments\ccsv4\utils\gmake\gmake: *** Warning: Clock skew detected. Your build may be incomplete.
    Or a problem with my Linker command file? I have attached the linker command file

    vc5505.zip
  • Hi Steffen,

    Sorry for the frustration. I am looking into your RFFT problem.

    Thanks,
    Mark

  • Hello Mark,

    It`s very kind of you to help me.The described problem is still present.

    My "Clock Skew detected" compiler warning had to do with a FAT formated USB Stick I compiled on.

    Meanwhile I guess it is a problem with functions like puts(), strlen() and so on. But it`s just a guess.

     I get "function declared implicity"  compiler warnings when compiling the CSL Library and the evm5505.c which is included on the lines with this functions

    btw: thank you for your document about the hwfft. It is a very helpful document for my diploma project and well written

    attached is the whole project minimized too just a few lines, the error is present, the right results are in "t12.h" of the DSP Library Example of rfft()

    MyProject20 - Mini keine Funktion.zip
  • I`m sorry, it`s very important to me because I have to compare the Hardware FFT with the DSP Library one.

    Does anyone have an idea what`s the failure?