This code example demonstrates how to implement a data logger on a PSoC62 for use with a BGT60TR13C radar sensor from Infineon.
The data are logged on the SD card.
- ModusToolbox® software v2025.4.0 [built with v3.3]
- RAB3-Radar
- RDK2
- An SD card formatted in FATFS
- 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 Radar Data Logger
A new project will be created inside your workspace.
Plug a USB cable into the Kit Prog3 USB connector. The sensor values will be stored on an SD card in binary format.
At each start, the software will create a new file named "radar_XX.dat", with XX a number that is incremented at each start.
You can also visualise the data by using the visualisation GUI (see the GUI directory).
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.
Red LED: will be toggled after each radar acquisition
Green LED: turned OFF if the SD card is not detected, turned ON if SD card has been detected
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.