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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/24/04 10:44
Read: times


 
#67352 - RE: 8 External interrupt in 51 controller
Responding to: ???'s previous message
hi,
this schematic has some problems if be compared with external interrupt controller.
The main bad thing I see is that this schematic does not lock interrupt events. As result, it may not be used to control of edge-triggered interrupts.
For example, an external hardware produces short pulse which comes to a port pin and via 8-gate to /INT0 as well. So its ISR executes and we read port state in it. But if the pulse is short then all we obtain is just 0xFF value. Now we know that it was interrupt event but cannot determine which one. Here we have two problems with it:
- due multiply pulses of button`s contacts (remember about debounce?) our ISR will be executed many times but there is no warranty that it will be able to recognize which button is pressed;
- if at least one button is pressed and then keeps hold then we not be able to recognize other buttons` state changes without using polling port method.

So think twice before use this scheme.

Regards,
Oleg

List of 20 messages in thread
TopicAuthorDate
8 External interrupt in 51 controller            01/01/70 00:00      
   RE: 8 External interrupt in 51 controller            01/01/70 00:00      
      RE: 8 External interrupt in 51 controller            01/01/70 00:00      
         RE: Triscend, or a uPSD?            01/01/70 00:00      
   RE: 8 External interrupt in 51 controller            01/01/70 00:00      
      RE: 8 External interrupt in 51 controller            01/01/70 00:00      
         RE: 8 External interrupt in 51 controlle            01/01/70 00:00      
      RE: 8 External interrupt in 51 controller            01/01/70 00:00      
   RE: 8 External interrupt in 51 controller            01/01/70 00:00      
      RE: 8 External interrupt in 51 controller            01/01/70 00:00      
         RE: 8 External interrupt in 51 controller            01/01/70 00:00      
   RE: 8 External interrupt in 51 controller            01/01/70 00:00      
      RE: 8 External interrupt in 51 controller            01/01/70 00:00      
         RE: 8 External interrupt in 51 controller            01/01/70 00:00      
            RE: 8 External interrupt in 51 controller            01/01/70 00:00      
               RE: 8 External interrupt in 51 controller            01/01/70 00:00      
         RE: 8 External interrupt in 51 controller            01/01/70 00:00      
            RE: 8 External interrupt in 51 controller            01/01/70 00:00      
            Another look at Triscend            01/01/70 00:00      
            RE: 8 External interrupt in 51 controller            01/01/70 00:00      

Back to Subject List