AnsweredAssumed Answered

DPI pin used as edge-detect IRQ

Question asked by Laz on Sep 24, 2009
Latest reply on Sep 24, 2009 by Laz

I would like to use a DPI pin to trigger an IRQ.  I think I'm missing a step.  Here's my code.

 

//Generating Code for connecting : DPI_PIN6 to MISCB4
SRU (LOW, DPI_PBEN06_I);
SRU (DPI_PB06_O, MISCB4_I);

*pDPI_IRPTL_FE |= EXT_MISC_4_INT; // IRQ on Data Ready from DPI6 = MISC4
*pDPI_IRPTL |= EXT_MISC_4_INT; // IRQ on Data Ready from DPI6 = MISC4
interruptf(SIG_DPI, a2dISR);

I have confirmed that DPI_6 sees a falling edge, and I can force a2dISR to run and it works correctly.  I have other IRQs that are working (IRQ2, SPI_DMA).  As I understand it, I can't use another /IRQ pin as they are level-sensitive, not edge-sensitive.

 

What am I missing?

 

Thanks.

Dan

Outcomes