This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C6657 GPIO16-31 interrupt

Hi,

I am trying to GPIO16 as interrupt source.

1. unlock KICK

2. Enable GPIO16 pin from PIN_CONTROL_0

3* Config GPIO16 as input

4. Enable GPIO global interrupt   ( BINTEN)

5*. Enable GPIO16 rising edge interrupt

6. Config and enable CIC0 GPINT16 (Event# 0)  interrupt.

*The GPIO user guide SPRUGV1 documents GPIO 0-15 only.  I just assume GPIO16 is using bit16 of the same register set for GPIO0-15.

By reading IN_DATA bit16 I confirms that GPIO16 is switching. But for some reason the interrupt is not firing.

Interrupt for GPIO0-15 is working. GPINT16 is working by manully setting CIC0 GPINT16 bit.

What could be missing for setting up the GPIO16 interrupt?

 

GanZ