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

Introduction

Implements zoom FFT processing functionality using HWA. Zoom FFT processing is done by HWA hardware. Based on the RF parameters and range FFT output, zoomProc configures hardware accelerator FFT engine in slow DFT mode accordingly. It also configures data input and output EDMA channels to bring data in and out of zoom Processing memory.

The process is triggered by the peak location availability based on 1D FFT.

After HWA processing is done, it generates interrupt to zoomProc DPU, at the same time triggers EDMA data output channel to copy zoom FFT results. EDMA interrupt done interrupt is triggered by EDMA hardware after the copy is completed.

Go to the source code of this file.

Data Structures

struct  DPU_ZoomProc_HwaConfig
 ZoomProc HWA configuration. More...
 
struct  DPU_ZoomProc_EDMAInputConfig
 ZoomProc EDMA configuration. More...
 
struct  DPU_ZoomProc_EDMAOutputConfig
 ZoomProc EDMA configuration. More...
 
struct  DPU_ZoomProc_HW_Resources
 ZoomProc hardware resources. More...
 
struct  DPU_ZoomProc_StaticConfig
 ZoomProc static configuration. More...
 
struct  DPU_ZoomProc_Config
 Range FFT configuration. More...
 
struct  DPU_ZoomProc_InitParams
 zoomProc output parameters populated during zoomProc Processing time More...
 
struct  DPU_ZoomProc_OutParams
 zoomProc output parameters populated during zoomProc Processing time More...
 
struct  ZoomProcObj
 ZoomProc DPU Object. More...
 

Macros

#define DPU_ZOOMPROC_NUM_HWA_PARAM_SETS   1U
 
#define DPU_ZOOMPROC_EINVAL   (DP_ERRNO_ZOOM_PROC_BASE-1)
 Error Code: Invalid argument. More...
 
#define DPU_ZOOMPROC_ENOMEM   (DP_ERRNO_ZOOM_PROC_BASE-2)
 Error Code: Out of memory. More...
 
#define DPU_ZOOMPROC_EINTERNAL   (DP_ERRNO_ZOOM_PROC_BASE-3)
 Error Code: Internal error. More...
 
#define DPU_ZOOMPROC_ENOTIMPL   (DP_ERRNO_ZOOM_PROC_BASE-4)
 Error Code: Not implemented. More...
 
#define DPU_ZOOMPROC_EINPROGRESS   (DP_ERRNO_ZOOM_PROC_BASE-5)
 Error Code: In Progress. More...
 
#define DPU_ZOOMPROC_ECMD   (DP_ERRNO_ZOOM_PROC_BASE-6)
 Error Code: Invalid control command. More...
 
#define DPU_ZOOMPROC_ESEMA   (DP_ERRNO_ZOOM_PROC_BASE-7)
 Error Code: Semaphore error. More...
 
#define DPU_ZoomProc_InputMode_MAPPED   (uint32_t) 0U
 
#define DPU_ZoomProc_InputMode_ISOLATED   (uint32_t) 1U
 
#define DPU_ZoomProc_InputMode_HWA_INTERNAL_MEM   (uint32_t) 2U
 

Typedefs

typedef uint32_t DPU_ZoomProc_InputMode
 DPU Operating Modes. More...
 
typedef void * DPU_ZoomProc_Handle
 zoomProc DPU Handle More...
 

Functions

DPU_ZoomProc_Handle DPU_ZoomProc_init (DPU_ZoomProc_InitParams *initParams, int32_t *errCode)
 
int32_t DPU_ZoomProc_config (DPU_ZoomProc_Handle handle, DPU_ZoomProc_Config *zoomCfg)
 
int32_t DPU_ZoomProc_process (DPU_ZoomProc_Handle handle, DPU_ZoomProc_OutParams *outParams)
 
int32_t DPU_ZoomProc_deinit (DPU_ZoomProc_Handle handle)
 

Macro Definition Documentation

◆ DPU_ZOOMPROC_NUM_HWA_PARAM_SETS

#define DPU_ZOOMPROC_NUM_HWA_PARAM_SETS   1U

Number of HWA parameter sets

◆ DPU_ZoomProc_InputMode_MAPPED

#define DPU_ZoomProc_InputMode_MAPPED   (uint32_t) 0U

◆ DPU_ZoomProc_InputMode_ISOLATED

#define DPU_ZoomProc_InputMode_ISOLATED   (uint32_t) 1U

◆ DPU_ZoomProc_InputMode_HWA_INTERNAL_MEM

#define DPU_ZoomProc_InputMode_HWA_INTERNAL_MEM   (uint32_t) 2U

Typedef Documentation

◆ DPU_ZoomProc_InputMode

typedef uint32_t DPU_ZoomProc_InputMode

DPU Operating Modes.

◆ DPU_ZoomProc_Handle

typedef void* DPU_ZoomProc_Handle

zoomProc DPU Handle

Function Documentation

◆ DPU_ZoomProc_init()

DPU_ZoomProc_Handle DPU_ZoomProc_init ( DPU_ZoomProc_InitParams initParams,
int32_t *  errCode 
)

◆ DPU_ZoomProc_config()

int32_t DPU_ZoomProc_config ( DPU_ZoomProc_Handle  handle,
DPU_ZoomProc_Config zoomCfg 
)

◆ DPU_ZoomProc_process()

int32_t DPU_ZoomProc_process ( DPU_ZoomProc_Handle  handle,
DPU_ZoomProc_OutParams outParams 
)

◆ DPU_ZoomProc_deinit()

int32_t DPU_ZoomProc_deinit ( DPU_ZoomProc_Handle  handle)