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

Receiving Pulses on INT0 interrupt Pin on the LPC932

Hi is there anyway of knowing if the LPC is receiving pulses on its INT0 pin. I have it already set up like this:
IT0 = 1; //Pulses are edge detected
EX0 = 1; //interrupt enable bit
EA =1;

It works fine, but is there anyway to find out if the pulses have stopped coming into this pin? The time the pulses will be present at this pin is unknown.
This message is also posted at http://www.8052.com/forum/post.phtml

Parents
  • Hi Drew Davis, I am the using the C51 Keil compiler to do all my projects. I have the evaluation and emulator boards. I am testing this program with the emulator and I am putting breakpoints at the Timer ISR, but when I run the program it seems to never get there and when I stop it (after 10 sec.) then it going through some other parts of the programs. Now, I have some other ISR's which are of a higher priority, but they are not being executed at all. All I have is this timer...do the main procedure and then call the time_base(); and after 2 sec. just reset the program. But just to make sure I am going to create a new project for this timer and its subroutine.
    Does this help?
    Thanks

Reply
  • Hi Drew Davis, I am the using the C51 Keil compiler to do all my projects. I have the evaluation and emulator boards. I am testing this program with the emulator and I am putting breakpoints at the Timer ISR, but when I run the program it seems to never get there and when I stop it (after 10 sec.) then it going through some other parts of the programs. Now, I have some other ISR's which are of a higher priority, but they are not being executed at all. All I have is this timer...do the main procedure and then call the time_base(); and after 2 sec. just reset the program. But just to make sure I am going to create a new project for this timer and its subroutine.
    Does this help?
    Thanks

Children
No data