Raju C
Member level 2
interrupt problem ??
Hi all..
I am using external interrupt,when i set INTCON2 as 44 and INTCON as 92h it will go to the subroutine where i want TX operation to be done and when it release it does rx operation but problem is tx_operation data it is sending correct but when i go to rx operation it sending both tx and rx data ,if i poll that bit means it will send but in iterrupt once program comes to an end means it will start from beginning and again INTCON2 44h will execute and sending data with RX also .. so how to get this seperate , where this interrupt should be written ?? i have attached my program to this pls tell me where is that going wrong ?
Hi all..
I am using external interrupt,when i set INTCON2 as 44 and INTCON as 92h it will go to the subroutine where i want TX operation to be done and when it release it does rx operation but problem is tx_operation data it is sending correct but when i go to rx operation it sending both tx and rx data ,if i poll that bit means it will send but in iterrupt once program comes to an end means it will start from beginning and again INTCON2 44h will execute and sending data with RX also .. so how to get this seperate , where this interrupt should be written ?? i have attached my program to this pls tell me where is that going wrong ?