XIRQ Timing

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

XIRQ Timing

1,870 Views
bws22
Contributor I
What is the minimum pulse width required to trigger an XIRQ interrupt request? I imagine that it has to be held low for one clock cycle, but I'm not sure. I'm using a 9S12DP256 processor specifically with the PLL active (3x multiplication).
Labels (1)
0 Kudos
Reply
2 Replies

697 Views
Alban
Senior Contributor II
I would agree with you. The clock cycle will be used to lock the source of the interrupt.
 
If the event is shorter, an interrupt is triggered but the spurious vector as stated in other post.
 
Therefore, do make sure you are declaring the Spurious Interrupt vector and assign it to some proper code to prevent your application from crashing...
 
Cheers,
Alban.
0 Kudos
Reply

697 Views
NetGhost
Contributor I
Got any info on XIRQ timings? I have the same question about IRQ, and I supose it the same...
If you use a too short pulse IRQ is not decodified and You end up with a spurius interrupt. If it's too long, meaning longer than IRQ routine execution time, you get another interrupt without desiring it, or some times, depending on pulse timings you get another spurious interrupt...
 
Best Regards
0 Kudos
Reply