Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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);

   

....

   

}

0 Likes
4 Replies