2 Replies Latest reply on Jul 8, 2019 9:00 PM by JoYa_4324706

    Using Global Signal Reference Enters Interrupt Handler All Unexpectedly

    JoYa_4324706

      I am trying to use the Global Signal Reference component to generate interrupt (on both edges from a GPIO input pin).

      I've called these three functions based on what I did for other interrupt sources:

      Cy_SysInt_Init(exti, button_isr);
      NVIC_ClearPendingIRQ(exti_cfg.intrSrc);
      NVIC_EnableIRQ(exti_cfg.intrSrc);
      

      where button_isr is my handler function.

       

      However, when I try to enter the debug mode and set a breakpoint at the beginning of my handler, it jumps right into it and somehow will keep getting to this handler indefinitely (even without changing the GPIO input). As a Global Signal component, is there anything else required for configuration that is different from other interrupt component in PSoC 6?

       

      Thanks!