Skip to main content
Visitor II
October 2, 2003
Question

STLite19 External Interrupt

  • October 2, 2003
  • 3 replies
  • 623 views
Posted on October 02, 2003 at 09:18

STLite19 External Interrupt

    This topic has been closed for replies.

    3 replies

    userAuthor
    Visitor II
    October 1, 2003
    Posted on October 01, 2003 at 04:37

    Hi to All,

    I'm working with ST7 Lite19 and I have a little problem. I have set PB1,PB2,PB3 like ''Input Pull-Up ->DDR=0 OR=1'' and use this pins with Push Button (+5V --> Push --> 0V).

    Now, PB1 and PB2 work well, but PB3 don't work !!!

    I see that the problem is External pins Interrupt, because the default pin set is PB3 on EISR register. I have set PB4 like default and now work well !!

    However, can someone explain me how I exclude the External pins Interrupt on ST7 Lite19 ?

    Many tanks

    MBKS

    Visitor II
    October 2, 2003
    Posted on October 02, 2003 at 06:15

    Do you want to say that if you configure PB4 as an interrupt pin it works well and PB3 does not work? Could you explain if i am wrong?

    userAuthor
    Visitor II
    October 2, 2003
    Posted on October 02, 2003 at 09:18

    Hi Jatin,

    for my application I don't need External Pins Interrupt. I use PB1,PB2,PB3 only like 0 - +5V pin without interrupt.

    But PB1 & PB2 in same configuration work well ( loop reading on main programm ), not PB3 (I can't read it when signal go down) until I have switch EISR register to PB4.

    (I use EMU3 Emulator)

    MBKS