This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

isr_evt_set make a hard fault

when I use ARTX with liuminary's LM3S8962
in ISR if I use isr_evt_set, it run into hard fault,if not use the function,it run ok,i don't know why,can I get help?

void key_int_isr( void )  __irq
{

        /* Clear the interrupt. */
           GPIOPinIntClear(GPIO_PORTE_BASE, KEY1);

          GPIOPinWrite(GPIO_PORTA_BASE, BEEP,0); //beep on
       delay(20000);

       GPIOPinWrite(GPIO_PORTA_BASE, BEEP, BEEP);//beep off
           keyflag=1;
          // isr_evt_set (EVT_KEY, t_key);     //Send event to 'handle_key_task'
}

Parents Reply Children
No data