AnsweredAssumed Answered

Kinetis ML05Z Missing Interrupts

Question asked by Oren Kapah on Dec 22, 2013
Latest reply on Dec 26, 2013 by EARL GOODRICH

Setup: FDRM-KL05Z

CPU runs at 48MHz.

CodeWarrior Version: 10.3

Input: Digital signal on PTB6 pin.

Signal Frequency: 38KHz

 

I'm using ExtInt component to generate interrupt on both edges of

the digital input signal.

 

The problem: Every now and then, I miss interrupts.

 

Test program: In the ISR (Events.c) I just read the pin value

(using the GetVal method), and check if the current value of the

input is the same as the value received in the previous ISR. If we

do not miss interrupts, the value should be different, since the

signal must come down before it goes up again.

The result I get is that occasionally I get the same value twice.

Outcomes