Hi,
The extract_raw_data.c example of the ComLib_C_Interface provided by Infineon within the D2G FW package is configured as follows:
interleaved_rx = 0, data_format = RADAR_RX_DATA_COMPLEX (please refer to frame_info->interleaved_rx, and frame_info->data_format)
The radar data of multiple RX antennas (1 for D2G) is stored in consecutive data blocks, where each block holds data of one antenna. Thus, the first 2 x 256 samples received are I1, Q1
The index calculation of a certain data sample captured from a certain RX antenna depends on the data interleaving and on real/complex data format.
For the extract_raw_data.c example default frame format configuration, the following code demonstrates how to access a data sample.
data_value_real = frame_start [(2 * ANTENNA_NUMBER ) * num_samples_per_chirp + SAMPLE_NUMBER];
data_value_imag = frame_start [(2 * ANTENNA_NUMBER + 1) * num_samples_per_chirp + SAMPLE_NUMBER];
Best Regards,
Montassar