Other Parts Discussed in Thread: IWR6843
Hello everyone,
i am currently developing a new radar board with an IWR6843 chip. I have a ISK and an ODS board at my disposal, so i thought, why not look inside the Out of the Box Demo of both boards and check the different antenna patterns.
Here cam problem one: The ODS out of the box demo is specificially developed to only use the ARM processor and not the DSP. There is no important reason for this, TI wanted to try it. anyway, this makes the comparing the two pieces of source code rather erratic.
But still, the ODS code defines antenna geometry and sends it via IOCTL
dataPathObj->objDetCommonCfg.preStartCommonCfg.antDef = gAntDef_IWR6843ODS;
errCode = DPM_ioctl (dataPathObj->objDetDpmHandle, DPC_OBJDET_IOCTL__STATIC_PRE_START_COMMON_CFG, &dataPathObj->objDetCommonCfg.preStartCommonCfg, sizeof (DPC_ObjectDetection_PreStartCommonCfg));
After that, in the objectdetection.c, this antenna config gets handed around for some time until it ends up in the a config function.
DPU_AoAProcHWA_Config aoaCfg; aoaCfg.staticCfg.antDef = &staticCfg->antDef; retVal = DPU_AoAProcHWA_config(dpuHandle, &aoaCfg);
So this all makes half sense, but when i want to change the mss(ARM) and dss(C673x) of the ISK demo accordingly i run into problems: Configuring over ioctl works the same, but an antenna definition is nowhere to be seen, except the antenna geometry.c file exists but is not used in the whole project. Deleting its contents concerning the AntGeometry define blocks is not throwing any errors
But this aint a problem, I added to the code and it works until the AoAcfg is written. obviously the config is missing this field. I checked the function, but this time its ProcDSP as this time the DSP is doing the signal processing.
retVal = DPU_AoAProcDSP_config(dpuHandle, &aoaCfg);
changing the underlying structures until it compiles does seems liike a stupid idea, so my question is, where do i change the antenna geometry or are there other kinds of AoA config which i dont know about?
Best regards