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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/26/06 11:37
Read: times


 
#130132 - RC5 within interrupt
Responding to: ???'s previous message
Asok Sankar Rudra said:
What are the necessary conditions,precautions and limitations in trying to poll a sequence of about 25 milliSecond duration WITHIN a timer interrupt please?


Dear Asok

If I understood correctly, you are waiting within the EX1 ISR while reading the RC5 code. If this is true, then you have the problems you describe. I will suggest you try to break the RC5 ISR code to implement a state machine. With this, the ISR will receive a bit at a time and exit. When the entire RC5 code is received, the ISR will flag the main loop which will then take action appropriate to the code.

Jerson

List of 25 messages in thread
TopicAuthorDate
Multiple Interrupts with Infrared RC5            01/01/70 00:00      
   Must be the technique you are using            01/01/70 00:00      
      Test Zero Cross            01/01/70 00:00      
         Couple of questions            01/01/70 00:00      
   Do you disable interrputs when you are in ISR?            01/01/70 00:00      
   use priority            01/01/70 00:00      
      Peter,Please clarify            01/01/70 00:00      
         RC5 within interrupt            01/01/70 00:00      
         RC5 polling            01/01/70 00:00      
            Quality workmanship...            01/01/70 00:00      
               workmanship            01/01/70 00:00      
            Dimmers            01/01/70 00:00      
               Russel Please            01/01/70 00:00      
                  Some more points            01/01/70 00:00      
                     Dimmers            01/01/70 00:00      
                     that does not make sense            01/01/70 00:00      
                        Divide and Rule            01/01/70 00:00      
                           instead of using your first choice, you state:            01/01/70 00:00      
   C sample code            01/01/70 00:00      
      Let me assimilate your code first            01/01/70 00:00      
         .LST?            01/01/70 00:00      
         About the 4n35            01/01/70 00:00      
            Thanks Jerson ,I corrected the picture            01/01/70 00:00      
               Here            01/01/70 00:00      
   F629FAN Schematic            01/01/70 00:00      

Back to Subject List