AnsweredAssumed Answered

XIRQ is getting cleared

Question asked by Vihaan Kumar on Sep 4, 2014
Latest reply on Sep 6, 2014 by Edward Karpicz

Hi all,

 

i am facing the following problem, i want to use xirq as normal input port and not as an interrupt. while the code is executing  at some point in time the X bit in the CCR register is getting cleared and the xirq is acting as interrupt. Could someone please help me how to debug this issue and find out which instruction is actually causing this? There is only one place in code where I am doing andcc #$6f to enter into sleep mode for s12x.

 

regards,

vihaan

Outcomes