Firmware Customization And Configuration - Infineon XENSIV DEMO SENSE2GOL User Manual

24 ghz radar tools and development environment
Table of Contents

Advertisement

24 GHz radar tools and development environment
XENSIV™ 24 GHz radar demo boards
3 Customizing radar applications
3.2

Firmware customization and configuration

The 24 GHz radar firmware is developed with Infineon's DAVE™ toolchain. It is a C/C++-language software
development and code generation tool for XMC™ microcontroller applications using DAVE™ APPs to configure
the MCU peripherals (ADC, DMA, CCU4...), which reduces development time and allows for quick porting of the
firmware across XMC™-series MCUs.
The 24 GHz firmware projects can be customized by setting parameters in the configuration file config.h, which
allows for customizing the drivers and algorithms for the user's radar application.
Table 2 lists some parameters that can be configured: enable, disable or modify some options by
uncommenting and commenting or modifying the values of the related define statements.
Table 2
Define statements used for radar firmware configuration
Parameter
DOPPLER_SAMPLING_FREQ_HZ
DOPPLER_FFT_SIZE
MINIMUM_RANGE_CM
MAXIMUM_ RANGE_CM
RANGE_DETECTION_THRESHOLD
MINIMUM_SPEED_KMH
MAXIMUM_SPEED_KMH
SPEED_DETECTION_THRESHOLD
On each change of the config.h file parameters' values, the project has to be re-built and Flashed again.
Otherwise, that can be changed on the fly via the Radar GUI configurable fields.
User manual
Description
Sampling frequency for Doppler (units in Hz)
FFT length for Doppler mode, with zero padding
Exclude targets below this distance (units in cm)
Exclude targets beyond this distance (units in cm)
FFT spectrum threshold to detect a target in FMCW mode
Filter out targets below this speed (units in km/h)
Filter out targets above this speed (units in km/h)
FFT spectrum threshold to detect a target in Doppler mode
22
Revision 1.40
2023-02-14

Advertisement

Table of Contents
loading

Table of Contents