That bit is set when an interrupt occurs. It must be cleared before exiting the ISR, to allow the next interrupt to be catched. I think this is the problem.mr.gone said:Yes I do, but I reinable it before exiting the ISR
I would debug the code with external resistors first (with the weak pull-up resistors disabled).mr.gone said:I'm not sure but if I have weak pull-ups enabled
mr.gone said:I'm using PIC16F690. I'm having problem with RB port/change interrupt. First of all I set RABPU=0 in Bank1 I went to Bank2 and set all 4 high bits in WPUB and IOCB to high by writting FF to addresses 15h & 16h. In Bank0 I set bit 3 of address B(INTCON).
Now I don't see the weak pullup on the pin and even if I use a 10K resistor and temporarily pull the pin up, I still don't get the port chang interrupt to function????
ljcox said:Have you asked the question in the Microchip forum?
A lot of knowledgable (about PICs) people help in that forum including some Microchip employees.
I don't mean to insult anyone in this forum as there are plenty with excellent PIC knowledge, its just that the Microchip one is dedicated to the subject of PICs and related issues so you will have a different audience.
I found them very helpful, perhaps you chose a bad day.mr.gone said:Yeah, I got one response that was way off...lol
I agree, I don't have the time to hunt through the above code.Nigel Goodwin said:But if he's not posting the source code there either, people probably can't be bothered!
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?