The DSP Library for dsPIC33A DSCs is a comprehensive suite of Digital Signal Processing (DSP) functions designed to facilitate the development of high-performance signal processing applications. By utilizing pre-built functions which are optimized to take advantage of the dsPIC33A DSC architecture, you can substantially decrease your development time while improving the efficiency and precision of your signal processing tasks.
The DSP ISA support in the dsPIC33A family includes specialized instructions for DSP tasks. These instructions are optimized for operations such as single cycle multiply-accumulate (MAC), and the library leverages these instructions for efficient execution of algorithms.
List of Supported Mathematical and Signal Processing Functions:
- Vector Functions
- Window Functions
- Matrix Functions
- Filtering Functions
- Transform Functions
- Control Functions
- Conversion Functions
- Stack Functions
DSP Library Usage in C Code Applications
The DSP library for dsPIC33A devices comes pre-installed with the MPLAB® XC-DSC compiler, located at its install directory. The DSP libraries for dsPIC33A devices are bundled with the MPLAB XC-DSC compiler. Within the respective install directory, the library and its related files can be found at:
- lib\libdsp-elf.a – DSP library
- src – zipped source code (libdsp.zip) for library functions, including a batch file to rebuild the library
- support\generic\h – header file for DSP library
Building An Application with the DSP Library
Building an application which utilizes the DSP Library requires only two files: dsp.h and libdsp-elf.a. dsp.h is a header file which provides all the function prototypes, #defines and typedefs used by the library. libdsp-elf.a is the archived library file which contains all the individual object files for each library function.
(See the MPLAB® XC-DSC Libraries Reference Manual)
Download MPLAB® XC-DSC Compiler