Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/28/09 10:46
Read: times


 
#165667 - I can suggest 2 methods
Responding to: ???'s previous message
Dear Batu,

Batu C. said:
Hi All,
I need suggesiton about interrupt execution for more than two external sources. ...But I have three interrupt sources on my design. First one is PCF8583-clock/calender chip, second one is ADE7753 Energy Meter chip and the last one is push-buttons which have been tied eachother with a wired-OR connection and inverted by a transistor.(to produce an interrupt signal). ...
Firstly, I thought: if I combine all these three interrupt signals by a wired-OR connection again and apply this mutual interrupt signal to one of the external interrupt input of the microcontroller, so that I can sense that one of the perihherals is requesting an execution. And if I immediatelly control a three-pin port which is connected to all interrupt lines seperately, I can understand which periheral is acting.
But, I could not be sure whether I'll be able to capture the source or not.

Could you let me know your valuable suggestions please?

Best Regards,
Batu


1.
There is 1 possible solution that you yourself has thougth (But you are not able to convience yourself). Only thing I fail to understand why 3 signals ORed. You want an interrupt when any low or all low

2.
Also input pin for Timer-2 also can be used as an interrupt pin.(HOW? For details please read regarding timer 2)

Regards,
Mahesh


List of 7 messages in thread
TopicAuthorDate
Multiple Interrupt Sources            01/01/70 00:00      
   Do you really need 3?            01/01/70 00:00      
      I need 3 different Int. Sources            01/01/70 00:00      
         Timer 2 capture mode            01/01/70 00:00      
   I can suggest 2 methods            01/01/70 00:00      
      Thanks For T2            01/01/70 00:00      
         T2            01/01/70 00:00      

Back to Subject List