![Logo](ti_logo.svg) |
xWRL1432 MMWAVE-L-SDK
05.03.00
|
|
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 8
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
210 typedef struct DPU_DopplerProcHWA_HwaCfg_t
258 typedef struct DPU_DopplerProcHWA_EdmaCfg_t
283 typedef struct DPU_DopplerProcHWA_HW_Resources_t
321 typedef struct DPU_DopplerProcHWA_StaticConfig_t
359 typedef struct DPU_DopplerProcHWA_Config_t
379 typedef struct DPU_DopplerProcHWA_OutParams_t
uint8_t dmaTrigSrcPingChan
HWA param set dma trigger source ping channel.
Definition: dopplerprochwa.h:242
uint8_t winSym
Indicates if HWA window is symmetric or non-symmetric. Use HWA macro definitions for symmetric/non-sy...
Definition: dopplerprochwa.h:215
uint32_t paramSetStartIdx
HWA paramset Start index. Application has to ensure that paramSetStartIdx is such that [paramSetSt...
Definition: dopplerprochwa.h:239
dopplerProc DPU configuration parameters
Definition: dopplerprochwa.h:360
DPU_DopplerProcHWA_Handle DPU_DopplerProcHWA_init(DPU_DopplerProcHWA_InitParams *initCfg, int32_t *errCode)
Doppler DPU static configuration parameters.
Definition: dopplerprochwa.h:322
Detection matrix buffer interface.
Definition: dpif_detmatrix.h:81
Implements Common definition across dopplerProc DPU.
dopplerProc DPU initial configuration parameters
Definition: dopplerprochwa.h:194
uint8_t numVirtualAntennas
Number of virtual antennas.
Definition: dopplerprochwa.h:330
DPU_DopplerProc_Edma edmaHotSig
EDMA configuration for hot signature.
Definition: dopplerprochwa.h:270
DPU processing output parameters.
Definition: dopplerprochwa.h:380
EDMA_Handle edmaHandle
EDMA driver handle.
Definition: dopplerprochwa.h:261
Defines the detection matrix buffer interface.
EDMA interrupt configuration object. The object is passed to the EDMA_registerIntr() function....
Definition: edma/v0/edma.h:449
dopplerProc DPU HWA configuration parameters
Definition: dopplerprochwa.h:211
DPU_DopplerProcHWA_StaticConfig staticCfg
Static configuration.
Definition: dopplerprochwa.h:365
DPU_DopplerProc_stats stats
DPU statistics.
Definition: dopplerprochwa.h:382
Base error codes for the data path Modules.
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:327
EDMA Configuration Utility API definitions for HWA.
uint16_t numDopplerChirps
Number of Doppler chirps.
Definition: dopplerprochwa.h:336
uint8_t dmaTrigSrcPongChan
HWA param set dma trigger source pong channel.
Definition: dopplerprochwa.h:245
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:264
DPU_DopplerProcHWA_HW_Resources hwRes
HW resources.
Definition: dopplerprochwa.h:362
uint8_t numTxAntennas
Number of transmit antennas.
Definition: dopplerprochwa.h:324
DPIF_DetMatrix detMatrix
Detection matrix (range-doppler heatmap)
Definition: dopplerprochwa.h:295
uint8_t doppFFT_is16b
Flag to set Doppler FFT to 16-bit(1-True)/32-bit(0-False)
Definition: dopplerprochwa.h:345
Radar Cube Buffer Interface.
Definition: dpif_radarcube.h:104
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:267
Doppler DPU HW configuration parameters.
Definition: dopplerprochwa.h:284
Defines the data path radar cube data interface.
DPU_DopplerProcHWA_EdmaCfg edmaCfg
EDMA configuration.
Definition: dopplerprochwa.h:286
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:226
void * EDMA_Handle
A handle that is returned from a EDMA_open() call.
Definition: edma/v0/edma.h:469
Edma_IntrObject * intrObj
EDMA interrupt object.
Definition: dopplerprochwa.h:302
DPIF_RadarCube radar_1D_FFT_Cube
Radar Cube of range FFT.
Definition: dopplerprochwa.h:292
uint16_t numRangeBins
Number of range bins.
Definition: dopplerprochwa.h:333
dopplerProc DPU EDMA configuration parameters
Definition: dopplerprochwa.h:259
int32_t * window
Pointer to Doppler FFT window coefficients.
Definition: dopplerprochwa.h:229
uint32_t winRamOffset
HWA window RAM offset in number of samples.
Definition: dopplerprochwa.h:232
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:564
uint16_t numDopplerBins
Number of Doppler bins.
Definition: dopplerprochwa.h:339
uint8_t log2NumDopplerBins
Log2 of number of Doppler bins.
Definition: dopplerprochwa.h:342
Data processing Unit statistics.
Definition: dopplerproc_common.h:88
DPU_DopplerProcHWA_HwaCfg hwaCfg
HWA configuration.
Definition: dopplerprochwa.h:289