Hi all,
I am working on a project using a relatively new PIC and using an external interrupt.
The external interrupt is driven by a 1 second signal coming from a DS3231 real time clock.
The problem occurs when I re-assign the INT input to another input pin. The interrupt works when using the default pin (b0) but it does not work when assigning it to another pin. According to the datasheet you could reassign the pin to a pin of port a. In fact the reassign function does nothing. When I reassign the interrupt to pin a5 it still keeps on working on the default pin b0.
Since this is a very new chip there is no errata list yet and I am not sure if it is a bug in the chip. Or I am overlooking something but I do not see it. I did not yet check the PPS library to see if there might be an issue with newer PICs.
I attached the test program. I commented out the use of pin a5 but if I comment out pin b0 and use a5 as input it does not work.
Any suggestions?
Thanks.
Kind regards,
Rob