Skip to content
Permalink
e3881f97da
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

Sensor-DSP Library

Overview

The Sensor-DSP library provides signal processing functions required to support the implementation of different sensor applications, i.e. radar gesture recognition, vital sensing and presence detection. The Sensor-DSP library builds on top of the standard ARM CMSIS-DSP library.

Figure 1. Application architecture based on Sensor-DSP library and sensor drivers

Features

  • Range and Doppler FFT
  • FFT windowing related functions
  • Detection related functions
  • Angle estimation related functions
  • Support functions

Quick Start

Refer to the API Reference Guide Quick Start Guide section for step-by-step instruction how to enable the Sensor-DSP Library.

Building for speed

Refer to Building for speed for more information.

Building for size

The application using the Sensor-DSP can control the size of the library by compiling in support for e.g. different types and supported lengths of FFTs. As an example if you are only interested in the ifx_range_fft_f32 for length 128 and the ifx_doppler_cfft_f32 for length 16, you can add to the Makefile DEFINES of your ModusTooolbox project the following:

DEFINES+=-DARM_DSP_CONFIG_TABLES \
         -DARM_FAST_ALLOW_TABLES \
         -DARM_FFT_ALLOW_TABLES \
         -DARM_TABLE_TWIDDLECOEF_F32_16 \
         -DARM_TABLE_BITREVIDX_FLT_16 \
         -DARM_TABLE_TWIDDLECOEF_F32_64 \
         -DARM_TABLE_BITREVIDX_FLT_64 \
         -DARM_TABLE_TWIDDLECOEF_RFFT_F32_128 \
         -DARM_ALL_FAST_TABLES \
         -DARM_MATH_LOOPUNROLL \
         -DDISABLEFLOAT16 \

The needed preprocessor symbols can be generated using the cmsisdspconfig.py script present in the CMSIS-DSP folder found in mtb_shared after running make getlibs in your project.

$ streamlit run cmsisdspconfig.py

Figure 2. CMSIS-DSP Configuration

Refer to Compilation symbols for tables for more information.

More information

For more information, refer to the following documents:


© Infineon Technologies AG, 2022.