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.

TDA3XEVM: How can I integrate C66x FFTLIB kernels in TDA3x code?

Part Number: TDA3XEVM
Other Parts Discussed in Thread: FFTLIB

Hello,

I am using CCS 6.1.1 with Vision SDK 2.8.0.0. I have the following RTSC components installed:

(1)  Code Generation Tools Version 7.4.2
(2)  XDC 3.32.00.06
(3)  BIOS 6.45.00.20
(4)  EDMA3 2.12.0.0
(5)  XDAIS 7.24.00.04

I am trying to optimize FFT and IFFT computations in my current project. These computations are running on a single C66x DSP core. But I am not able to understand how to integrate the kernels from the C66x FFTLIB into my source code. I tried to perform a standalone build of two kernels from the library, referring to the FFTLIB user manual for kernel build steps. I am receiving multiple errors related to missing RTSC components, and I am not able to understand how to resolve these with my current development environment.

Is it even possible to use the C66x FFTLIB for TDA3x device? If 'yes', how can I compile and link the FFTLIB kernels with my current development environment? Do I absolutely need to install the C66x DSPLIB to build the C66x FFTLIB?

Thank you in advance.

  • Hi Sagar,

    I have forwarded your question to VisonSDK experts.

    Regards,
    Yordan
  • Hi
    You need to link these kernel libs with VSDK, please refer the file \vision_sdk\build\makerules\ules_66.mk to include the dsp FFT libs
    LIB_PATHS += ....

    regrads, Shiju
  • Hello,

    Thank you for your input. So I take it that the FFTLIB cannot function on its own without the DSPLIB.

    It just seems to me that the FFTLIB was built with a whole lot of dependencies from very specific RTSC components. And the documentation, including the examples, does not elaborate enough about how to integrate the kernels with new RTSC components, like the ones I mentioned in my opening question.

    I have another related question that I would like to pose here. I read in a couple of forum threads that the FFTLIB was meant to be used for very large FFT computations and on multicore C66x devices. As I mentioned before, I am working with a single core C66x device and my objective is to perform a 2-D FFT on a 40x40 real input data points. Can I simply get away with using the FFT routine from the DSPLIB?

    Again, thanks in advance.
  • Hi ,

    One suggestion before answering your question: We have 16bit fixed point FFT available on EVE core, you can use that as well. It is available in a library from in vision sdk at path <VSDK>\ti_components\algorithms_codecs\<evesw>\apps\fft and documentation is available apps\docs\EVE_Applets_UserGuide.pdf. You can find a use case which integrates the FFT in radarSDK available here.

    Now coming back to your question: Yes, you can use the FFT functions from DSPLIB.

    Thanks,

    With Regards,
    Pramod