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.

AM5708: DSP上使用GPIO中断,中断触发后,没有进中断函数,linux系统输出信息

Part Number: AM5708


irq 98, desc: ef278f00, depth: 1, count: 0, unhandled: 0
[ 3039.037083] ->handle_irq(): c0280d1c, [ 3039.040758] handle_bad_irq+0x0/0x280
[ 3039.044346] ->irq_data.chip(): ef22e3d0, [ 3039.048194] 0xef22e3d0
[ 3039.050561] ->action(): (null)
[ 3039.053800] IRQ_NOPROBE set
[ 3039.056863] unexpected IRQ trap at vector 62
[ 3039.061151] irq 98, desc: ef278f00, depth: 1, count: 0, unhandled: 0
[ 3039.067527] ->handle_irq(): c0280d1c, [ 3039.071203] handle_bad_irq+0x0/0x280
[ 3039.074791] ->irq_data.chip(): ef22e3d0, [ 3039.078640] 0xef22e3d0
[ 3039.081009] ->action(): (null)
[ 3039.084247] IRQ_NOPROBE set
[ 3039.087310] unexpected IRQ trap at vector 62
[ 3039.091597] irq 98, desc: ef278f00, depth: 1, count: 0, unhandled: 0
[ 3039.097974] ->handle_irq(): c0280d1c, [ 3039.101649] handle_bad_irq+0x0/0x280
[ 3039.105238] ->irq_data.chip(): ef22e3d0, [ 3039.109086] 0xef22e3d0
[ 3039.111453] ->action(): (null)
[ 3039.114690] IRQ_NOPROBE set
[ 3039.117753] unexpected IRQ trap at vector 62

每次触发中断,都有这样的信息,这是什么原因,

是中断号设置的不对,还是什么 

CSL_xbarDspIrqConfigure(CSL_XBAR_IRQ_CPU_ID_DSP1, CSL_XBAR_INST_DSP1_IRQ_56, CSL_XBAR_GPIO2_IRQ_1);

    Hwi_Params hwiParams; //传入参数
    Hwi_Handle myHwi;//句柄
    Error_Block eb;//错误块
    Error_init(&eb);//错误块初始化,注意必须初始化,否则易进入System_abort
    Hwi_Params_init(&hwiParams);//初始化传入参数
    //hwiParams.arg = NULL;
    hwiParams.enableInt = FALSE;
    hwiParams.eventId = 56;
    myHwi = Hwi_create(4, AppGpioCallbackFxn, &hwiParams, &eb);
    if (myHwi == NULL)
    {
        Log_print0(Diags_INFO, "--> user_debug_gpio_input_function: Hwi_create error!");
    }
    else
    {
        Hwi_enableInterrupt(4);
    }