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: 雷達ADC 原始資料取得方式

Part Number: IWRL6432

由於官方demo對於我們的應用來說太過複雜,目前想要重新做一版簡化版本,大致是不需要由RTOS架構支持的

目前問題在於已經順利編寫完雷達啟動相關設定,依序是 MMWave_init、rl_fecssRfPwrOnOff、MMWave_open、MMWave_config、MMWave_start

編譯可以順利完成,image燒入到硬體上也沒有出現錯誤訊息,問題在於硬體執行後並沒有觸發設定的ISR,以及如何獲取雷達ADC的raw data,相關code如下

static void mmwDemoFrameStartISR(void *arg)
{
    DebugP_log("Hello World!\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;
}