This user manual describes the CMSIS DSP software library, a suite of common signal processing functions for use on Cortex-M processor based devices.
The library is divided into a number of functions each covering a specific category:
The library has separate functions for operating on 8-bit integers, 16-bit integers, 32-bit integer and 32-bit floating-point values.
The library installer contains prebuilt versions of the libraries in the
The library functions are declared in the public file
arm_math.h which is placed in the
Include folder. Simply include this file and link the appropriate library in the application and begin calling the library functions. The Library supports single public header file
arm_math.h for Cortex-M4/M3/M0 with little endian and big endian. Same header file will be used for floating point unit(FPU) variants. Define the appropriate pre processor MACRO ARM_MATH_CM4 or ARM_MATH_CM3 or ARM_MATH_CM0 or ARM_MATH_CM0PLUS depending on the target processor in the application.
The library ships with a number of examples which demonstrate how to use the library functions.
The library has been developed and tested with MDK-ARM version 4.60. The library is being tested in GCC and IAR toolchains and updates on this activity will be made available shortly.
The library installer contains a project file to re build libraries on MDK-ARM Tool chain in the
The libraries can be built by opening the arm_cortexM_math.uvproj project in MDK-ARM, selecting a specific target, and defining the optional pre processor MACROs detailed above.
Each library project have differant pre-processor macros.
Define macro UNALIGNED_SUPPORT_DISABLE, If the silicon does not support unaligned memory access
Define macro ARM_MATH_BIG_ENDIAN to build the library for big endian targets. By default library builds for little endian targets.
Define macro ARM_MATH_MATRIX_CHECK for checking on the input and output sizes of matrices
Define macro ARM_MATH_ROUNDING for rounding on support functions
Define macro ARM_MATH_CM4 for building the library on Cortex-M4 target, ARM_MATH_CM3 for building library on Cortex-M3 target and ARM_MATH_CM0 for building library on cortex-M0 target, ARM_MATH_CM0PLUS for building library on cortex-M0+ target.
Initialize macro __FPU_PRESENT = 1 when building on FPU supported Targets. Enable this macro for M4bf and M4lf libraries
The following files relevant to CMSIS-DSP are present in the ARM::CMSIS Pack directories:
|CMSIS\DSP_Lib||Software license agreement (license.txt)|
|CMSIS\DSP_Lib\Examples||Example projects demonstrating the usage of the library functions|
|CMSIS\DSP_Lib\Source||Source files for rebuilding the library|
Please refer to ChangeLog_pg.
Copyright (C) 2010-2014 ARM Limited. All rights reserved.