EasyManua.ls Logo

Infineon XENSIV DEMO SENSE2GOL - Firmware Customization and Configuration

Infineon XENSIV DEMO SENSE2GOL
30 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
User manual
22
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
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.
Parameter
Description
DOPPLER_SAMPLING_FREQ_HZ
Sampling frequency for Doppler (units in Hz)
DOPPLER_FFT_SIZE
FFT length for Doppler mode, with zero padding
MINIMUM_RANGE_CM
Exclude targets below this distance (units in cm)
MAXIMUM_ RANGE_CM
Exclude targets beyond this distance (units in cm)
RANGE_DETECTION_THRESHOLD
FFT spectrum threshold to detect a target in FMCW mode
MINIMUM_SPEED_KMH
Filter out targets below this speed (units in km/h)
MAXIMUM_SPEED_KMH
Filter out targets above this speed (units in km/h)
SPEED_DETECTION_THRESHOLD
FFT spectrum threshold to detect a target in Doppler mode

Related product manuals