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 07:08
Read: times


 
#165655 - Multiple Interrupt Sources
Hi All,
I need suggesiton about interrupt execution for more than two external sources. As you know, AT89S52 has just two external interrupt pins (INT0 and INT1-both active-LOW). 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). I need to sense all these three peripheral circuitries.

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

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