Page 1 of 1

INT interrupt not working with 16F19175

PostPosted: Fri Dec 14, 2018 4:36 pm
by aru
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.

Re: INT interrupt not working with 16F19175

PostPosted: Fri Dec 14, 2018 11:40 pm
by aru
Found that the code works fine with the Hardware. No issues.
There seems to be a bug in the simulator.
Will consider this closed.
Thanks

Re: INT interrupt not working with 16F19175

PostPosted: Sat Dec 15, 2018 3:30 am
by ober
Great to know that!