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.

DM6437 - How to use VDINT0 interrupt to trigger my ISR by using HWI?

I have my ISR called "VDINT0_HWI()" in the main.c file shown as below

void VDINT0_HWI()
{
    VDINT0_count++;      //VDINT0_count is a global variable, accumulated everytime VDINT0 interrupt occurs
    LOG_printf( &trace, "Entering VDINT0 interrupt service routine in [%d] counts \r\n", VDINT0_count);
}

I have configured my HWI_INT5 as

bios.HWI.instance("HWI_INT5").interruptSelectNumber = 24;
bios.HWI.instance("HWI_INT5").fxn = prog.extern("VDINT0_HWI");
bios.HWI.instance("HWI_INT5").useDispatcher = 1;
bios.HWI.instance("HWI_INT5").arg = 0;

But the message did not show up in the trace log window.  Does that mean the VDINT0 interrupt did not occur or something else? 

How do I know the VDINT0 really occurs?  Do I need to set GIE (Global Interrupt Enable)? [ if yes, how? ]

Did I miss something?  Help please