I've had a look around the forum but can't seem to find anything of any help.
I have a 10k resistor from RB0 to Vcc as a pull up and also connected my chip. The idea is that when my chip goes low, an ISR is fired (INTF).
The issue I am facing is my chip brings the line from (high -> low) can see this on the scope, but the ISR is only fired when the line goes back to high again. My chip (max3100) keeps the signal low until its registers are cleared.
My setup code is:-
The interrupt fires fine when i remove the low signal from the chip.
Any idea what I'm doing wrong guys?
Rich
I have a 10k resistor from RB0 to Vcc as a pull up and also connected my chip. The idea is that when my chip goes low, an ISR is fired (INTF).
The issue I am facing is my chip brings the line from (high -> low) can see this on the scope, but the ISR is only fired when the line goes back to high again. My chip (max3100) keeps the signal low until its registers are cleared.
My setup code is:-
Code:
INTEDG = 1;
INTE = 1;
INTF = 0;
The interrupt fires fine when i remove the low signal from the chip.
Any idea what I'm doing wrong guys?
Rich