Hello Champs,
Customer modified the demo code in SDK 5.3.0 to remove the RTOS architecture, but the current problem is that the related ISR is not triggered (Frame start time trigger).
Confirmed MMWave_init, rl_fecssRfPwrOnOff, MMWave_open, MMWave_config, MMWave_start is executed in order and compiled with no error message at run time.
Are there any other steps missing if the ISR is not triggered? Are there specific processes to reference?
Below is the code for registering an ISR
static void mmwDemoFrameStartISR(void *arg)
{
DebugP_log("FrameStartISR\r\n");
}
int32_t mmwDemo_registerFrameStartInterrupt(void)
{
int32_t retVal = 0;
int32_t status = SystemP_SUCCESS;
HwiP_Params hwiPrms;
HwiP_Object gHwiFrameStartHwiObject;
/* Register interrupt */
HwiP_Params_init(&hwiPrms);
hwiPrms.intNum = 16 + CSL_APPSS_INTR_FECSS_FRAMETIMER_FRAME_START;
hwiPrms.callback = mmwDemoFrameStartISR;
hwiPrms.priority = 0;
status = HwiP_construct(&gHwiFrameStartHwiObject, &hwiPrms);
if(SystemP_SUCCESS != status)
{
retVal = SystemP_FAILURE;
}
else
{
HwiP_enableInt((uint32_t)CSL_APPSS_INTR_FECSS_FRAMETIMER_FRAME_START);
}
return retVal;
}
Thanks
Regards
Shine