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.

AWR1843: nested interrupt in DSS

Part Number: AWR1843
Other Parts Discussed in Thread: SYSBIOS

Hi team, 

Quick question, Is the nested interrupt supported in DSP SYSBIOS @SDK3.5

How to identify that nested interrupt happen while debugging?

How to disable the nested interrupt manually in SYSBIOS ?

Thanks.

Wesley

  • Hi,

    While debugging you would need to check if the global interrupts are disabled or not in the ISR.

    For DSS

    The interrupts are created through the Event Combiner

    C:\ti\mmwave_sdk_03_05_00_04\packages\ti\drivers\osal\src\ti_rtos\HwiP_tirtos.c

    /*
     *  ======== HwiP_create ========
     */
    HwiP_Handle HwiP_create(int32_t interruptNum, HwiP_Fxn hwiFxn,
                            HwiP_Params *params)
    {
    #ifdef SUBSYS_MSS
        Hwi_Handle handle;
        Error_Block eb;
        Hwi_Params  hwiParams;

        Error_init(&eb);
        Hwi_Params_init(&hwiParams);

        /* Overwrite the BIOS HWI Parameters with the supplied arguments */
        hwiParams.instance->name = params->name;
        hwiParams.arg            = (xdc_UArg)(params->arg);
        hwiParams.priority       = (int32_t)params->priority;
        hwiParams.type           = params->type==HwiP_Type_FIQ? Hwi_Type_FIQ : Hwi_Type_IRQ;
        hwiParams.enableInt      = params->enableInt;

        /* Register the Interrupt: */
        handle = Hwi_create(interruptNum, (Hwi_FuncPtr)hwiFxn, &hwiParams, &eb);
        DebugP_assert(handle != NULL);

        return ((HwiP_Handle)handle);
    #endif
    #ifdef SUBSYS_DSS
        /* go through event combiner */
        EventCombiner_dispatchPlug(interruptNum, hwiFxn, params->arg, params->enableInt);
        return((HwiP_Handle)interruptNum);
    #endif

    }

     

    C647x DSP CPU

    TMS320C674x DSP CPU and Instruction Set User's Guide