INT interrupt not working with 16F19175
Posted: Fri Dec 14, 2018 4:36 pm
MPLABX, V5.10
Java 1.8.0_181
PIC16F19175
XC8, V2.0, Free
Testing done with IDE Simulator
Was testing INT operation with PIC16F1915.
Interrupt was mapped to RB0 pin. INTPPS = 0x08
All settings were done for INT interrupt operation, INTE = 1, INTF = 0, INTEDG = 0, GIE = 1
Upon RB0 falling edge stimulus, INTF becomes 1 as expected.
However, the control does not jump to the interrupt vector despite INTE=1, INTF=1, GIE=1
Similar code executed with PIC18F4550 works without any issues.
Appreciate any help with this issue.
Since .c file attachment is not allowed. I have .JPG showing the full code.
Java 1.8.0_181
PIC16F19175
XC8, V2.0, Free
Testing done with IDE Simulator
Was testing INT operation with PIC16F1915.
Interrupt was mapped to RB0 pin. INTPPS = 0x08
All settings were done for INT interrupt operation, INTE = 1, INTF = 0, INTEDG = 0, GIE = 1
Upon RB0 falling edge stimulus, INTF becomes 1 as expected.
However, the control does not jump to the interrupt vector despite INTE=1, INTF=1, GIE=1
Similar code executed with PIC18F4550 works without any issues.
Appreciate any help with this issue.
Since .c file attachment is not allowed. I have .JPG showing the full code.