C Radar System Interface - 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
4 Extracting radar raw data
4.3

C radar system interface

The C radar system interface defines a set of APIs that help user access a serial communication port and
communicate with the radar-defined endpoints, enabling the user to demonstrate the capabilities of the 24
GHz modules.
Please refer to the Firmware_Software/Communication Library/ComLib_C_Interface/documentation for
more details about the set of control parameters and methods that can be used to control the 24 GHz radar
board using C communication library.
It is worth noting that the radar C communication library implements the API to access a serial communication
port for Windows (COMPort_Windows.c), and Mac OS and Linux (COMPort_Unix.c) platforms.
Note:
The C radar system interface is only supported within the Radar Distance2Go, Radar Position2Go
and Radar Sense2GoL Pulse and Radar Distance2GoL radar software packages.
A coding example to interface with the 24 GHz radar board using C communication library, and to extract raw
data, is available (refer to the extract_raw_data.c file). In order to run this coding example, proceed as follows:
Go to the /Firmware_Software/Communication Library/ComLib_C_Interface/examples folder and copy
the path.
Open your appropriate C compiler, then create a C project.
Import the extract_raw_data.c file, all source *.c files under /ComLib_C_Interface/src and also all header
*.h files under /ComLib_C_Interface/include.
Ensure that your 24 GHz radar board is connected, then Compile and Run your project to see the raw data.
Figure 34 shows the example running on Visual Studio, extracting raw data from a DEMO DISTANCE2GO radar
board.
Figure 34
Raw data acquisition in Visual Studio shell
User manual
25
Revision 1.40
2023-02-14

Advertisement

Table of Contents
loading

Table of Contents