??? 12/26/06 06:55 Read: times |
#130125 - Peter,Please clarify Responding to: ???'s previous message |
Peter Dannegger said
"I prefer polling RC5 within a timer interrupt." I thank you very much Peter,Danke sehr! Since YOU prefer there is no way I learn otherwise.But I give higher priority to understanding,lower priority to the ongoing hit and miss project.Kindly help. (When you poll RC5 within a timer interrupt the very first thing I have to UNLEARN is to make ISRs as short as possible which is taught in tutorials and text books.My original RC5 was a long one and I cut it short.) What are the necessary conditions,precautions and limitations in trying to poll a sequence of about 25 milliSecond duration WITHIN a timer interrupt please?Can I assume that the timer is loaded with much more than 25 milliSeconds to overflow or the Timer,being a peripheral,works simultaneously with the core.Actually I am not sure what is this timer for;is it for RC5 only or is this the timer for delayed firing of the Triac,in which case how can it be more than 10 or 20 milliSeconds.Incidentally yesterday I redownloaded 'PICSEL Version 1.5'along with .../users/danni/rc5.zip.Is this idea there?I have to exert to delve in C. Peter Dannegger also said "Assign the lower priority for RC5 and the higher priority for all phase control. Then it acts like there is no RC5 interrupt at all." What happens if zero crossing and firing delay timer have equally high priorities?Are they enabled together?Or is it DYNAMIC allocation.I have been able to gather very little on these subjects fron the net-please suggest links to reference designand other study materials. With best Regards A.S.Rudra |
Topic | Author | Date |
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 |