|
The PIC32 DSP library consists of a set of functions applicable to many multimedia application areas. Most of the functions, like vector operations, filters, and transforms, are commonly used in many DSP and multimedia applications. Complete documentation for the PIC32 DSP Libraries can be found in the MPLAB C32 C Libraries Manual. The library works with all PIC32 devices!
|
|
|
|
|
Common DSP Library Functions
|
|
Features
|
Function
|
Description
|
|
• Free library included with MPLAB compiler
• Compatible with all devices in the Microchip PIC32 family
• Fully optimized DSP functions supporting both 16 and 32 bit data.
• Applicable to audio, video and other multimedia applications
• Includes general math functions, filters, transforms, and video operations.
Getting Started
• Download and install MPLAB and the free trial version of the C32 C compiler
• See Chapter 3 of the MPLAB C32 C Libraries Manual
• Start using the PIC32 DSP libraries!
|
|
mips_vec_abs16/32
|
Compute the absolute value of each Q15/Q31vector element.
|
|
mips_vec_add16/32
|
Add the corresponding elements of twoQ15/Q31 vectors.
|
|
mips_vec_addc16/32
|
Add a constant to all elements of a vector.
|
|
mips_vec_dotp16/32
|
Compute dot product of two Q15/Q31 vectors.
|
|
mips_vec_mul16/32
|
Multiply the corresponding elements of twoQ15/Q31 vectors. Can be used for applying windows.
|
|
mips_vec_mulc16/32
|
Multiply all elements of a vector by a constant.
|
|
mips_vec_sub16/32
|
Subtract the corresponding elements of twoQ15/Q31 vectors.
|
|
mips_vec_sum_squares16/32
|
Calculate the sum of squares of elements of avector in Q15/Q31 format.
|
|
mips_fir16
|
Applies a block FIR filter to a Q15 vector.
|
|
mips_fir16_setup
|
Prepare the filter coefficients for the mips_fir16 function.
|
|
mips_iir16
|
Single-sample IIR filter.
|
|
mips_iir16_setup
|
Prepare the filter coefficients for the mips_iir16 function.
|
|
mips_lms16
|
Single-sample LMS filter
|
|
mips_fft16
|
Compute the complex FFT of a vector containing Q15 complex samples, i.e., 16-bit fractional real and imaginary parts.
|
|
A complete list of DSP functions is available in the MPLAB C32 C Libraries Manual
|