This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Interrupt lost?

I want to sample a signal. Using the both external interrupts to start sampling. The timer 0 interrupt is used for the time base. If I put the reload value very high, there are only some sates more than the timer-ISR need for executing, I get false sampling results. It looks like one of the external interrupts is not executed. I gave the external interrupts a higher priority, but the result is the same.
Can it be true, that a interrupt be lost? I don't think so, but I have no other idea.

  • Can it be true, that a interrupt be lost? I don't think so, but I have no other idea.

    Yes. You can lose interrupts for any of several reasons.

    * The interrupt toggles the input line too fast for the CPU to see.

    * The interrupt service routine is to slow and one or more interrupt conditions occur while you are still servicing the first one.

    Can you characterize the situation where interrupts are lost a little better?

    Keil Support