2 Replies Latest reply on Aug 24, 2017 5:10 AM by vdelueg_2607646

    FX3 INT# / CTL15 interrupt example

    nia.fong_1534961

      Hi,

         

      Is there an example of how to configure the INT# / CTL15 pin to handle interrupts on the FX3?  Using GPIF II Designer I tried configuring an input signal on the INT pin, then defined a state machine that sends INTR_CPU on an INT trigger.  I do see the pin go low (Polarity -> Active Low) but never see the firmware callback function called.  What else do I need to do?

         

      In the firmware code:

         

      void
      AppThread_Entry (
              uint32_t input)
      {

         

      ....

         

        CyU3PGpifLoad(&CyFxGpifConfig);
        CyU3PGpifSMStart (START, ALPHA_START);

         

        // register GPIF callback
        //CyU3PGpifRegisterCallback(GpifCallback);

         

         CyU3PGpifRegisterSMIntrCallback(GpifSMCallback);

         

      ....

         

      }