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.

IWRL6432: ISR is not triggered

Genius 13655 points
Part Number: IWRL6432

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

  • Hi Shine,

    There are 2 possibilities that I see from your description

    1. Frame itself is not getting triggered due to incorrect configuration

    2. Frame is triggered and interrupt is generated but not registered by the processor

    You can check if the adc buffer is getting loaded with fresh data after frame is triggered or not. That indicates if the frame is triggered or not

    You can debug by keeping breakpoints if the frame start interrupt is configured or not.

    Regards