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: 如何觸發雷達trigger條件

Part Number: IWRL6432


目前有把5.3.0版本的demo code重作,主要是想移除RTOS架構,但目前的問題是相關的ISR沒有被觸發(Frame start time trigger),

已經確認 MMWave_init、rl_fecssRfPwrOnOff、MMWave_open、MMWave_config、MMWave_start 依序執行並且編譯通過,run time也沒有錯誤訊息,

想請問如果沒有觸發ISR是否有其他步驟遺漏? 是否有具體流程可以參考?  謝謝

以下是註冊ISR的code

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;
}