Other Parts Discussed in Thread: AWR1243
Tool/software: TI-RTOS
Hello,
I am currently trying to run the radar satellite configuration with single radar AWR1243 using Fusion Board and TDA2px Host processor. I am having some problems in the Radar Boot procedure. Currently, I have powered the AWR1243 Sensor externally. In Bsp_ar12xxRadarDeviceOn() [PATH: C:\VisionSDKnew\ti_components\drivers\pdk_01_10_01_06\packages\ti\drv\vps\src\devices\radar_ar12xx\src\bspdrv_ar12xxPriv.c], I put a GT_1trace() statement right after rlDevicePowerOn() which is giving me the retVal as 0 after the rlDevicePowerOn() is called. I think this means that the rlDevicePoweOn() is successful. However, I am getting stuck in the following while loop mentioned in the same function immediately after that:
while ((gBspAr12xxObj.radarInitCompleteFlag != count)
&& (timeout != 0U))
{
/* Sleep for 1 ms */
BspOsal_sleep(1U);
timeout--;
}
The program proceeds ahead once the timeout is complete and displays " AR12XX: Radar Device Power On failed" message. This means that the radarInitCompleteFlag is not raised. This radarInitCompleteFlag is set by the "Bsp_ar12xxAsyncEvtHandlerCb()" mentioned in bspdrv_ar12xxPriv.c file. I do not know where this Bsp_ar12xxAsyncEvtHandlerCb() is called in the rlDevicePowerOn() function. In the same program, Bsp_ar12xxAsyncEvtHandlerCb is initialized as a callback to rlAsyncEvent function. I am not able to debug or print the statements to TeraTerm for driverlevel functions.
Could you please tell me if there is any Bsp_ar12xxAsyncEvtHandlerCb called in the rlDevicePowerOn()? Where is the AyncEventHandler called apart from rlDriverCmdInvoke()? Also, could you tell me where in the SDK is the main function defined? I was able to trace back the main function to main_common_ipu1_0.c file in the SDK. Is this the place where the execution starts when I run TDA2px?
I look forward to your help!
Thank you!
-Nishant