![Logo](ti_logo.svg) |
xWRL6432 MMWAVE-L-SDK
05.04.00.01
|
|
Go to the documentation of this file.
57 #ifndef DOPPLERPROCHWA_H_
58 #define DOPPLERPROCHWA_H_
93 #define DPU_DOPPLERPROCHWA_EINVAL (DP_ERRNO_DOPPLER_PROC_BASE-1)
98 #define DPU_DOPPLERPROCHWA_ENOMEM (DP_ERRNO_DOPPLER_PROC_BASE-2)
103 #define DPU_DOPPLERPROCHWA_EINPROGRESS (DP_ERRNO_DOPPLER_PROC_BASE-3)
108 #define DPU_DOPPLERPROCHWA_EHWARES (DP_ERRNO_DOPPLER_PROC_BASE-4)
113 #define DPU_DOPPLERPROCHWA_ESEMA (DP_ERRNO_DOPPLER_PROC_BASE-5)
118 #define DPU_DOPPLERPROCHWA_ESEMASTATUS (DP_ERRNO_DOPPLER_PROC_BASE-6)
123 #define DPU_DOPPLERPROCHWA_EEXCEEDHWAMEM (DP_ERRNO_DOPPLER_PROC_BASE-7)
128 #define DPU_DOPPLERPROCHWA_ECUBEFORMAT (DP_ERRNO_DOPPLER_PROC_BASE-8)
133 #define DPU_DOPPLERPROCHWA_EDETMFORMAT (DP_ERRNO_DOPPLER_PROC_BASE-9)
138 #define DPU_DOPPLERPROCHWA_EDETMSIZE (DP_ERRNO_DOPPLER_PROC_BASE-10)
143 #define DPU_DOPPLERPROCHWA_EWINDSIZE (DP_ERRNO_DOPPLER_PROC_BASE-11)
154 #define DPU_DOPPLERPROCHWA_MAX_NUM_HWA_PARAMSET 12
161 #define DPU_DOPPLERPROCHWA_NUM_HWA_PARAMSET_PER_RANGE_BIN 2
166 #define DPU_DOPPLERPROCHWA_NUM_HWA_MEMBANKS 4
171 #define DPU_DOPPLERPROCHWA_FIRST_SCALING_DISABLED ((uint8_t)0U)
176 #define DPU_DOPPLERPROCHWA_FIRST_SCALING_ENABLED ((uint8_t)1U)
193 typedef struct DPU_DopplerProcHWA_InitCfg_t
206 typedef volatile struct DPU_DopplerProcHWA_HwaSumOutput_t
222 typedef struct DPU_DopplerProcHWA_HwaCfg_t
270 typedef struct DPU_DopplerProcHWA_EdmaCfg_t
295 typedef struct DPU_DopplerProcHWA_HW_Resources_t
327 typedef struct DPU_DopplerProcHWA_compressCfg_t
352 typedef struct DPU_DopplerProcHWA_StaticConfig_t
399 typedef struct DPU_DopplerProcHWA_Config_t
419 typedef struct DPU_DopplerProcHWA_OutParams_t
uint8_t dmaTrigSrcPingChan
HWA param set dma trigger source ping channel.
Definition: dopplerprochwa.h:254
uint8_t winSym
Indicates if HWA window is symmetric or non-symmetric. Use HWA macro definitions for symmetric/non-sy...
Definition: dopplerprochwa.h:227
uint32_t paramSetStartIdx
HWA paramset Start index. Application has to ensure that paramSetStartIdx is such that [paramSetSt...
Definition: dopplerprochwa.h:251
dopplerProc DPU configuration parameters
Definition: dopplerprochwa.h:400
bool isCompressionEnabled
compression enable/disable flag for radar cube data
Definition: dopplerprochwa.h:382
DPU_DopplerProcHWA_Handle DPU_DopplerProcHWA_init(DPU_DopplerProcHWA_InitParams *initCfg, int32_t *errCode)
Doppler DPU static configuration parameters.
Definition: dopplerprochwa.h:353
int32_t sumRe
Sum real.
Definition: dopplerprochwa.h:209
Detection matrix buffer interface.
Definition: dpif_detmatrix.h:81
Implements Common definition across dopplerProc DPU.
dopplerProc DPU initial configuration parameters
Definition: dopplerprochwa.h:194
bool isDetMatrixLogScale
Detection matrix format 0 - Linear 32-bit integer, 1 - 16-bit log2 magnitude in Q11 format.
Definition: dopplerprochwa.h:379
uint8_t numVirtualAntennas
Number of virtual antennas.
Definition: dopplerprochwa.h:361
DPU_DopplerProc_Edma edmaHotSig
EDMA configuration for hot signature.
Definition: dopplerprochwa.h:282
DPU processing output parameters.
Definition: dopplerprochwa.h:420
uint32_t numComplexElements
Definition: dopplerprochwa.h:333
EDMA_Handle edmaHandle
EDMA driver handle.
Definition: dopplerprochwa.h:273
Defines the detection matrix buffer interface.
uint8_t compressionFactor
Definition: dopplerprochwa.h:330
EDMA interrupt configuration object. The object is passed to the EDMA_registerIntr() function....
Definition: edma/v0/edma.h:451
dopplerProc DPU HWA configuration parameters
Definition: dopplerprochwa.h:223
DPU_DopplerProcHWA_StaticConfig staticCfg
Static configuration.
Definition: dopplerprochwa.h:405
DPU_DopplerProc_stats stats
DPU statistics.
Definition: dopplerprochwa.h:422
Base error codes for the data path Modules.
Compression parameters.
Definition: dopplerprochwa.h:328
int32_t DPU_DopplerProcHWA_GetNumUsedHwaParamSets(DPU_DopplerProcHWA_Handle handle, uint8_t *numUsedHwaParamSets)
dopplerProc DPU EDMA configuration parameters
Definition: dopplerproc_common.h:70
uint8_t numRxAntennas
Number of receive antennas.
Definition: dopplerprochwa.h:358
EDMA Configuration Utility API definitions for HWA.
uint16_t numDopplerChirps
Number of Doppler chirps.
Definition: dopplerprochwa.h:367
uint8_t dmaTrigSrcPongChan
HWA param set dma trigger source pong channel.
Definition: dopplerprochwa.h:257
DPU_DopplerProcHWA_compressCfg compressCfg
compression parameters for radar cube data
Definition: dopplerprochwa.h:385
int32_t DPU_DopplerProcHWA_config(DPU_DopplerProcHWA_Handle handle, DPU_DopplerProcHWA_Config *cfg)
int32_t DPU_DopplerProcHWA_deinit(DPU_DopplerProcHWA_Handle handle)
DPU_DopplerProc_Edma edmaIn
EDMA configuration for Input data (Radar cube -> HWA memory).
Definition: dopplerprochwa.h:276
Sum filled by HWA statistics block.
Definition: dopplerprochwa.h:207
DPU_DopplerProcHWA_HW_Resources hwRes
HW resources.
Definition: dopplerprochwa.h:402
uint8_t numTxAntennas
Number of transmit antennas.
Definition: dopplerprochwa.h:355
DPIF_DetMatrix detMatrix
Detection matrix (range-doppler heatmap)
Definition: dopplerprochwa.h:307
uint8_t doppFFT_is16b
Flag to set Doppler FFT to 16-bit(1-True)/32-bit(0-False)
Definition: dopplerprochwa.h:376
Radar Cube Buffer Interface.
Definition: dpif_radarcube.h:105
HWA_Handle hwaHandle
HWA Handle.
Definition: dopplerprochwa.h:196
int32_t DPU_DopplerProcHWA_process(DPU_DopplerProcHWA_Handle handle, DPU_DopplerProcHWA_OutParams *outParams)
DPU_DopplerProc_Edma edmaOutDetectionMatrix
EDMA configuration for Output data (HWA memory -> detection matrix).
Definition: dopplerprochwa.h:279
Doppler DPU HW configuration parameters.
Definition: dopplerprochwa.h:296
Defines the data path radar cube data interface.
DPU_DopplerProcHWA_EdmaCfg edmaCfg
EDMA configuration.
Definition: dopplerprochwa.h:298
uint32_t windowSize
Doppler FFT window size in bytes. This is the number of coefficients to be programmed in the HWA for ...
Definition: dopplerprochwa.h:238
int32_t sumIm
Sum imaginary.
Definition: dopplerprochwa.h:208
void * EDMA_Handle
A handle that is returned from a EDMA_open() call.
Definition: edma/v0/edma.h:471
Edma_IntrObject * intrObj
EDMA interrupt object.
Definition: dopplerprochwa.h:314
DPIF_RadarCube radar_1D_FFT_Cube
Radar Cube of range FFT.
Definition: dopplerprochwa.h:304
uint16_t numRangeBins
Number of range bins.
Definition: dopplerprochwa.h:364
dopplerProc DPU EDMA configuration parameters
Definition: dopplerprochwa.h:271
int32_t * window
Pointer to Doppler FFT window coefficients.
Definition: dopplerprochwa.h:241
uint32_t winRamOffset
HWA window RAM offset in number of samples.
Definition: dopplerprochwa.h:244
void * DPU_DopplerProcHWA_Handle
Handle for Doppler Processing DPU.
Definition: dopplerprochwa.h:182
EDMA Configuration Utility API definitions.
void * HWA_Handle
A handle that is returned from a HWA_open() call.
Definition: hwa/v0/hwa.h:620
uint16_t numDopplerBins
Number of Doppler bins.
Definition: dopplerprochwa.h:370
uint8_t log2NumDopplerBins
Log2 of number of Doppler bins.
Definition: dopplerprochwa.h:373
Data processing Unit statistics.
Definition: dopplerproc_common.h:88
DPU_DopplerProcHWA_HwaCfg hwaCfg
HWA configuration.
Definition: dopplerprochwa.h:301