This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AWRL1432: Quesion on DPU_RangeProcHWA_process

Part Number: AWRL1432

Tool/software:

Hi,

Customer thought that EDMA done should be after HWA done. So there is no need to check HWA done. Why TI code does both Done check.

Customer found if they disabled the HWA done in rangen proc and doppler proc, the AOA output for 2nd frame seems not correct. Would you pls kindly advice why?

int32_t DPU_RangeProcHWA_process
(
DPU_RangeProcHWA_Handle handle,
DPU_RangeProcHWA_OutParams *outParams
)
{
rangeProcHWAObj *rangeProcObj;
int32_t retVal = 0;

rangeProcObj = (rangeProcHWAObj *)handle;
if ((rangeProcObj == NULL) ||
(outParams == NULL))
{
retVal = DPU_RANGEPROCHWA_EINVAL;
goto exit;
}

/* Set inProgress state */
rangeProcObj->inProgress = true;
outParams->endOfChirp = false;

/**********************************************/
/* WAIT FOR HWA NUMLOOPS INTERRUPT */
/**********************************************/
/* wait for the all paramSets done interrupt */
SemaphoreP_pend(&rangeProcObj->hwaDoneSemaHandle, SystemP_WAIT_FOREVER);

/**********************************************/
/* WAIT FOR EDMA INTERRUPT */
/**********************************************/
SemaphoreP_pend(&rangeProcObj->edmaDoneSemaHandle, SystemP_WAIT_FOREVER);

Thanks,

Chris