xWRL6432 MMWAVE-L-SDK  05.04.00.01
rangeProc DPU Error Codes

Introduction

The section has a list of all the error codes which are generated by the sampleProc DPU.

Base error code for the rangeProc DPU is defined in the

/*
*
* NOTE:
* (C) Copyright 2023 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.
*/
/**************************************************************************
*************************** Include Files ********************************
**************************************************************************/
#ifndef DP_ERROR_H
#define DP_ERROR_H
#ifdef __cplusplus
extern "C" {
#endif
#include <common/mmwave_error.h>
/**************************************************************************
* Base Error Code for the mmWave data path DPUs
**************************************************************************/
#define DP_ERRNO_RANGE_PROC_BASE (MMWAVE_ERRNO_DPU_BASE -100)
#define DP_ERRNO_DOA_PROC_BASE (MMWAVE_ERRNO_DPU_BASE -200)
#define DP_ERRNO_CFAR_PROC_BASE (MMWAVE_ERRNO_DPU_BASE -300)
#define DP_ERRNO_MPD_PROC_BASE (MMWAVE_ERRNO_DPU_BASE -400)
#define DP_ERRNO_STATIC_CLUTTER_PROC_BASE (MMWAVE_ERRNO_DPU_BASE -500)
#define DP_ERRNO_DPEDMA_BASE (MMWAVE_ERRNO_DPU_BASE -600)
#define DP_ERRNO_DOPPLER_PROC_BASE (MMWAVE_ERRNO_DPU_BASE -700)
#define DP_ERRNO_AOA_PROC_BASE (MMWAVE_ERRNO_DPU_BASE -800)
#define DP_ERRNO_AOA2D_PROC_BASE (MMWAVE_ERRNO_DPU_BASE -900)
#define DP_ERRNO_NEXTCANC_PROC_BASE (MMWAVE_ERRNO_DPU_BASE -1000)
#define DP_ERRNO_ZOOM_PROC_BASE (MMWAVE_ERRNO_DPU_BASE -1100)
#define DP_ERRNO_CAPONBEAMFORMING_BASE (MMWAVE_ERRNO_DPU_BASE -1200)
#define DP_ERRNO_CAPONBEAMFORMING2D_BASE (MMWAVE_ERRNO_DPU_BASE -1300)
/**************************************************************************
* Base Error Code for the mmWave data path DPCs
**************************************************************************/
#define DP_ERRNO_OBJECTDETECTION_BASE (MMWAVE_ERRNO_DPC_BASE -100)
#define DP_ERRNO_OBJDETRANGEHWA_BASE (MMWAVE_ERRNO_DPC_BASE -200)
#define DP_ERRNO_OBJDETDSP_BASE (MMWAVE_ERRNO_DPC_BASE -300)
#ifdef __cplusplus
}
#endif
#endif /* DATAPATH_ERROR_H */

Macros

#define DPU_RANGEPROCHWA_EINVAL   (DP_ERRNO_RANGE_PROC_BASE-1)
 Error Code: Invalid argument. More...
 
#define DPU_RANGEPROCHWA_ENOMEM   (DP_ERRNO_RANGE_PROC_BASE-2)
 Error Code: Out of memory. More...
 
#define DPU_RANGEPROCHWA_EINTERNAL   (DP_ERRNO_RANGE_PROC_BASE-3)
 Error Code: Internal error. More...
 
#define DPU_RANGEPROCHWA_ENOTIMPL   (DP_ERRNO_RANGE_PROC_BASE-4)
 Error Code: Not implemented. More...
 
#define DPU_RANGEPROCHWA_EINPROGRESS   (DP_ERRNO_RANGE_PROC_BASE-5)
 Error Code: In Progress. More...
 
#define DPU_RANGEPROCHWA_ECMD   (DP_ERRNO_RANGE_PROC_BASE-6)
 Error Code: Invalid control command. More...
 
#define DPU_RANGEPROCHWA_ESEMA   (DP_ERRNO_RANGE_PROC_BASE-7)
 Error Code: Semaphore error. More...
 
#define DPU_RANGEPROCHWA_EDCREMOVAL   (DP_ERRNO_RANGE_PROC_BASE-8)
 Error Code: DC range signal removal configuration error. More...
 
#define DPU_RANGEPROCHWA_EADCBUF_INTF   (DP_ERRNO_RANGE_PROC_BASE-9)
 Error Code: ADCBuf data interface configuration error. More...
 
#define DPU_RANGEPROCHWA_ERADARCUBE_INTF   (DP_ERRNO_RANGE_PROC_BASE-10)
 Error Code: ADCBuf data interface configuration error. More...
 
#define DPU_RANGEPROCHWA_EWINDOW   (DP_ERRNO_RANGE_PROC_BASE-11)
 Error Code: HWA windowing configuration error. More...
 
#define DPU_RANGEPROCHWA_EBUTTERFLYSCALE   (DP_ERRNO_RANGE_PROC_BASE-12)
 Error Code: Incorrect number of butterfly stages specified for scaling. More...
 
#define DPU_RANGEPROCHWA_EEDMA_ERROR   (DP_ERRNO_RANGE_PROC_BASE-13)
 Error Code: Incorrect number of butterfly stages specified for scaling. More...
 

Macro Definition Documentation

◆ DPU_RANGEPROCHWA_EINVAL

#define DPU_RANGEPROCHWA_EINVAL   (DP_ERRNO_RANGE_PROC_BASE-1)

Error Code: Invalid argument.

◆ DPU_RANGEPROCHWA_ENOMEM

#define DPU_RANGEPROCHWA_ENOMEM   (DP_ERRNO_RANGE_PROC_BASE-2)

Error Code: Out of memory.

◆ DPU_RANGEPROCHWA_EINTERNAL

#define DPU_RANGEPROCHWA_EINTERNAL   (DP_ERRNO_RANGE_PROC_BASE-3)

Error Code: Internal error.

◆ DPU_RANGEPROCHWA_ENOTIMPL

#define DPU_RANGEPROCHWA_ENOTIMPL   (DP_ERRNO_RANGE_PROC_BASE-4)

Error Code: Not implemented.

◆ DPU_RANGEPROCHWA_EINPROGRESS

#define DPU_RANGEPROCHWA_EINPROGRESS   (DP_ERRNO_RANGE_PROC_BASE-5)

Error Code: In Progress.

◆ DPU_RANGEPROCHWA_ECMD

#define DPU_RANGEPROCHWA_ECMD   (DP_ERRNO_RANGE_PROC_BASE-6)

Error Code: Invalid control command.

◆ DPU_RANGEPROCHWA_ESEMA

#define DPU_RANGEPROCHWA_ESEMA   (DP_ERRNO_RANGE_PROC_BASE-7)

Error Code: Semaphore error.

◆ DPU_RANGEPROCHWA_EDCREMOVAL

#define DPU_RANGEPROCHWA_EDCREMOVAL   (DP_ERRNO_RANGE_PROC_BASE-8)

Error Code: DC range signal removal configuration error.

◆ DPU_RANGEPROCHWA_EADCBUF_INTF

#define DPU_RANGEPROCHWA_EADCBUF_INTF   (DP_ERRNO_RANGE_PROC_BASE-9)

Error Code: ADCBuf data interface configuration error.

◆ DPU_RANGEPROCHWA_ERADARCUBE_INTF

#define DPU_RANGEPROCHWA_ERADARCUBE_INTF   (DP_ERRNO_RANGE_PROC_BASE-10)

Error Code: ADCBuf data interface configuration error.

◆ DPU_RANGEPROCHWA_EWINDOW

#define DPU_RANGEPROCHWA_EWINDOW   (DP_ERRNO_RANGE_PROC_BASE-11)

Error Code: HWA windowing configuration error.

◆ DPU_RANGEPROCHWA_EBUTTERFLYSCALE

#define DPU_RANGEPROCHWA_EBUTTERFLYSCALE   (DP_ERRNO_RANGE_PROC_BASE-12)

Error Code: Incorrect number of butterfly stages specified for scaling.

◆ DPU_RANGEPROCHWA_EEDMA_ERROR

#define DPU_RANGEPROCHWA_EEDMA_ERROR   (DP_ERRNO_RANGE_PROC_BASE-13)

Error Code: Incorrect number of butterfly stages specified for scaling.