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.

IWR6843ISK: How to run FFT function in mmwave_link.c

Part Number: IWR6843ISK

Hello,

I want to use mmwavelib_gen_twiddle_fft16x16 and DSP_fft16x16 function in mmwave_link.c.

According to ti/alg/mmwavelib/docs/doxygen/html/index.html, Header file is included at mmwave_link.c

#include <ti/alg/mmwavelib/mmwavelib.h>
#include "gen_twiddle_fft32x32.h"
#include "gen_twiddle_fft16x16.h"
#include "DSP_fft16x16.h"
#include "DSP_fft32x32.h"
#include "DSPF_sp_fftSPxSP.h"

But below error occurs.

cannot open source file "vect.h"

 

Please let me know how to fix error.

  • The first step is to locate vect.h. In this case it is: C:\ti\ti-cgt-c6000_8.3.3\include, or C:/ti/ccs9/ccs/tools/compiler/ti-cgt-c6000_8.3.3/include, depending on your installation.  I assume you are not trying to do this on the MSS side, as these are C674x functions and include files.  If building for the DSS, you need to understand why this directory is not already included, as it typically is.  If you inspect the build output for mmwave_link.c, you can determine if this path is included (again, this is for a DSS build).  If not, you will need to add the path via one of the makefiles, starting with C:\ti\mmwave_sdk_03_04_00_03\packages\ti\common\mmwave_sdk.mak, and C:\ti\mmwave_sdk_03_04_00_03\packages\ti\control\mmwave\mmwavectrllib.mak.

    It is often helpful to only #include header files that are absolutely required, meaning let the compiler report what it can't find and add what is needed to resolve the errors. Otherwise, you may be trying to include headers that aren't needed in the first place.