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.

MSP430FR5994: TI Compiler does not find DSP library functions

Part Number: MSP430FR5994

Tool/software:

Hello Everyone,

I am trying to use the DSP library to work with the low-energy accelerator on my device. I have downloaded the DSPLib module from the Resource Explorer and added its path into the compiler's include search path and linker's file search path via CCS. In my main file, I include it using:

#include "DSPLib.h"

While this itself is recognized, my project is producing errors when I try to use functions from the DSP library like msp_lea_init() or msp_add_iq31(). It produces an unresolved error for all DSP library functions I want to use. How should I fix this?

Please let me know if any additional images or code would be helpful. Thank you.

  • Copy the DSP folders include and source into your project such that the paths are now ProjDIR/dsplib/include and ProjDIR/dsplib/source.

    Then clean your project.

    After cleaning, go into the active config's (usually Debug) folder and delete and subdirectories in there.

    Then, for all source files of the DSP library, change #include "DSPLib.h" to #include "dsplib/include/DSPLib.h".

    Now build the project. Make sure that there is dsplib folder (exact case as the folder within the project) within the active config's folder. Now it should work.

**Attention** This is a public forum