CMSIS DSP Software Library

Version1.0.3

Introduction

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 modules 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.

Processor Support

The library is completely written in C and is fully CMSIS compliant. High performance is achieved through maximum use of Cortex-M4 intrinsics.

The supplied library source code also builds and runs on the Cortex-M3 processor, with the DSP intrinsics being emulated through software.

A Cortex-M0 version of the library is also being developed ; updates on this activity will be made available shortly.

Toolchain Support

The library has been developed and tested with MDK-ARM version 4.12. The library is being tested in GCC and IAR toolchains and updates on this activity will be made available shortly.

Using the Library

The library installer contains prebuilt versions of the libraries in the Lib folder.

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, Cortex-M3 and Cortex-M0. Define the appropriate pre processor MACRO ARM_MATH_CM4 or ARM_MATH_CM3 or ARM_MATH_CM0 depending on the target processor in the application.

Examples

The library ships with a number of examples which demonstrate how to use the library functions.

Building the Library

The library installer also contains project files to re build the library on MDK Tool chain in the Lib folder.

The library supports size checking on the input and output matrices. To enable this feature, define the MACRO ARM_MATH_MATRIX_CHECK in pre processor settings in project options. The Library also supports rounding on support functions by using ARM_MATH_ROUNDING in pre processor settings

The project can be built by opening the appropriate project in MDK-ARM 4.12 chain and defining the optional pre processor MACROs detailed above.

Copyright Notice

Copyright (C) 2010 ARM Limited. All rights reserved.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines