Skip to main content
Visitor II
January 28, 2004
Question

ST7L19: Ext Interrupt wrong

  • January 28, 2004
  • 3 replies
  • 894 views
Posted on January 28, 2004 at 04:50

ST7L19: Ext Interrupt wrong

    This topic has been closed for replies.

    3 replies

    jacktan1Author
    Visitor II
    January 27, 2004
    Posted on January 28, 2004 at 00:55

    Hi,

    I define the PA0 as ei0 int pin. The sensitivity is ''Falling edge only'', I am sure that the EICR = #$06 and EISR = #$0c , they were set just after power on reset, and no modification is done after then. Now the question is:

    An interrupt is generated by both falling edge and low level . I have observed there is no falling edge occured during the low level period.

    Thanks,

    J.V.
    Visitor II
    January 28, 2004
    Posted on January 28, 2004 at 02:57

    It is not the normal behavior. Please make sure the interrupt pin is configured in the input pull up mode. Also check it by modify/rewrite the sensitivity bits with in the interrupt routines. If the problem is due to pending interrupts then it should be removed.

    [ This message was edited by: Jatin on 28-01-2004 07:28 ]

    [ This message was edited by: Jatin on 28-01-2004 07:29 ]
    jacktan1Author
    Visitor II
    January 28, 2004
    Posted on January 28, 2004 at 04:50

    Hi Jatin,

    As you said, it is caused by pending interrupt.

    Thank very much!

    J.V.