Anonymous
Not applicable
Jan 08, 2016
11:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 08, 2016
11:09 AM
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);
....
}
4 Replies