xWRL6432 MMWAVE-L-SDK  05.04.00.01
cfarproccommon.h File Reference

Introduction

Implements Common definition across cfarcaProc DPU.

NOTE: (C) Copyright 2018-2022 Texas Instruments, Inc.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

Neither the name of Texas Instruments Incorporated nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Go to the source code of this file.

Data Structures

struct  DPU_CFARProc_CfarCfg
 CFAR Configuration. More...
 
struct  DPU_CFARProc_CfarScndPassCfg
 CFAR Configuration. More...
 
struct  DPU_CFARProc_Stats
 Data processing Unit statistics. More...
 
struct  DPU_CFARProc_AoaFovCfg
 Field of view - AoA Configuration. More...
 
struct  DPU_CFARProc_RangeFovCfg
 Field of view - Range Configuration. More...
 
struct  DPU_CFARProc_detectionCfg
 Holds number of samples to be skipped in detection process from left and right side of the dimension for range, azimuth and elevation dimension. More...
 

Macros

#define DPU_CFAR_RANGE_AZIMUTH_HEATMAP   0
 Detection heatmap. More...
 
#define DPU_CFAR_RANGE_DOPPLER_HEATMAP   1
 
#define DPU_CFAR_RANGE_DOMAIN   0
 CFAR detection in range domain. More...
 
#define DPU_CFAR_DOPPLER_DOMAIN   1
 CFAR detection in Doppler domain. More...
 
#define DPU_CFAR_PEAK_GROUPING_DET_MATRIX_BASED   1
 Peak grouping scheme of CFAR detected objects based on peaks of neighboring cells taken from detection matrix. More...
 
#define DPU_CFAR_PEAK_GROUPING_CFAR_PEAK_BASED   2
 Peak grouping scheme of CFAR detected objects based only on peaks of neighboring cells that are already detected by CFAR. More...
 
#define DPU_CFAR_CONV_LOG2Q11_TO_20LOG10(val)   (val * 2.939746e-03)
 Convert log2 value in Q11 to 20log10 value Equation: output = (val / 2^11) * 20log10(2) = val * 2.939746e-03. More...
 

Macro Definition Documentation

◆ DPU_CFAR_RANGE_AZIMUTH_HEATMAP

#define DPU_CFAR_RANGE_AZIMUTH_HEATMAP   0

Detection heatmap.

◆ DPU_CFAR_RANGE_DOPPLER_HEATMAP

#define DPU_CFAR_RANGE_DOPPLER_HEATMAP   1

◆ DPU_CFAR_RANGE_DOMAIN

#define DPU_CFAR_RANGE_DOMAIN   0

CFAR detection in range domain.

◆ DPU_CFAR_DOPPLER_DOMAIN

#define DPU_CFAR_DOPPLER_DOMAIN   1

CFAR detection in Doppler domain.

◆ DPU_CFAR_PEAK_GROUPING_DET_MATRIX_BASED

#define DPU_CFAR_PEAK_GROUPING_DET_MATRIX_BASED   1

Peak grouping scheme of CFAR detected objects based on peaks of neighboring cells taken from detection matrix.

◆ DPU_CFAR_PEAK_GROUPING_CFAR_PEAK_BASED

#define DPU_CFAR_PEAK_GROUPING_CFAR_PEAK_BASED   2

Peak grouping scheme of CFAR detected objects based only on peaks of neighboring cells that are already detected by CFAR.

◆ DPU_CFAR_CONV_LOG2Q11_TO_20LOG10

#define DPU_CFAR_CONV_LOG2Q11_TO_20LOG10 (   val)    (val * 2.939746e-03)

Convert log2 value in Q11 to 20log10 value Equation: output = (val / 2^11) * 20log10(2) = val * 2.939746e-03.