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

Hello guys, can I monitor interrupt0 of 8051 by any h/w means like by LED or something? I have connected RTC DS12887 IRQ to INT0 however I couldn't see logic 1 on DMM

Parents
  • no actually RTC gives interrupt only when current time matches with predefined/alarm time

    Ok, I've dug out the data sheet for the part, and if I understand it correctly, this statement is not correct. The part has three different interrupt sources that can all lead to IRQ being set to low (active).

    anyway the zero on IRQ of RTC stays only for short amount of time(transient)

    That is also incorrect, according to the data sheet IRQ stays low until the control register C is read.

    Oh, and make sure that the 8051 isn't pulling the port pin to low (i.e. don't set the latch for the pin to 0).

Reply
  • no actually RTC gives interrupt only when current time matches with predefined/alarm time

    Ok, I've dug out the data sheet for the part, and if I understand it correctly, this statement is not correct. The part has three different interrupt sources that can all lead to IRQ being set to low (active).

    anyway the zero on IRQ of RTC stays only for short amount of time(transient)

    That is also incorrect, according to the data sheet IRQ stays low until the control register C is read.

    Oh, and make sure that the 8051 isn't pulling the port pin to low (i.e. don't set the latch for the pin to 0).

Children
No data