Andrea Runge

S12X clear interrupt

Discussion created by Andrea Runge on Feb 19, 2008
Latest reply on Feb 19, 2008 by kef
Hi,
I have a little problem. Our system based on two different processors. They are connected over CAN.
When my processor (S12XDP512) gets a special telegram it have to change its state. It means that it gets an rx-interrupt and into this interrupt it calls a function. So it doesn't return the ISR. My problem is, that all interrupts are disabled. I called cli but it doesn't work. My emu shows the register and there is a register ccr. I detect that I have to clear the high byte and than the interrupts still works. But I don't know where I can find this register in my processor. I would like to "kill" the old interrupt.
I hope, somebody can help me
 
 

Outcomes