This code example demonstrates digital signal processing implemented on a PSoC62 for use with a BGT60TR13C radar sensor from Infineon.
- ModusToolbox® software v3.x [built with v3.1]
- RAB3-Radar
- RDK2
- GNU Arm® Embedded Compiler v11.3.1 (
GCC_ARM
) - Default value ofTOOLCHAIN
The example can be directly imported inside Modus Toolbox by doing:
- File -> New -> Modus Toolbox Application
- PSoC 6 BSPs -> RDK2
- Sensing -> RDK2 RAB3 Presence Detection
A new project will be created inside your workspace.
Plug a USB cable into the Kit Prog3 USB connector. You then have 2 possibilities:
- Use with a custom GUI (the C# Visual Studio project is located inside the directory gui/src).
In that case, you should have this defined inside the main.c file:
#define OUTPUT_FOR_VISUALISATION_GUI
- Use with a standard terminal (like RealTerm) to see the debug messages directly inside the terminal.
In that case, you should have this line inside the main.c file:
#undef OUTPUT_FOR_VISUALISATION_GUI
You can change the radar configuration used to measure by generating a new "radar_settings.h" configuration.
Use the Infineon “Radar Fusion GUI” tool to generate a new version of the file.
The project contains a local copy of the sensor-xensiv-bgt60trxx. Modifications have been made inside the file xensiv_bgt60trxx_mtb.c to detect timeout during SPI transfers.
The evaluation board including the software is for testing purposes only and, because it has limited functions and limited resilience, is not suitable for permanent use under real conditions. If the evaluation board is nevertheless used under real conditions, this is done at one’s responsibility; any liability of Rutronik is insofar excluded.