darktangent
Junior Member level 2
- Joined
- Oct 17, 2010
- Messages
- 21
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,435
Hi,
I am facing a problem in programming for interrupts. I want the interrupts to work for serial communication. For this i have enabled Global interrupts, Perriferal Interrupts and receive transmit INT in my Microcontroller.
Now the problem is that INT2 which i was using to receive some data has also started to behave as an interrupt and does not perform its function.
If i disable the global interrupts, it starts working perfectly.
Now, i have tried disabling the INT2 interrupt by using the following command
INTCON3bits.INT3IE = 0;
But of no use... The interrupt is still ON.
What should i do?
I am facing a problem in programming for interrupts. I want the interrupts to work for serial communication. For this i have enabled Global interrupts, Perriferal Interrupts and receive transmit INT in my Microcontroller.
Now the problem is that INT2 which i was using to receive some data has also started to behave as an interrupt and does not perform its function.
If i disable the global interrupts, it starts working perfectly.
Now, i have tried disabling the INT2 interrupt by using the following command
INTCON3bits.INT3IE = 0;
But of no use... The interrupt is still ON.
What should i do?