??? 12/01/09 04:58 Read: times |
#171335 - Jitter Responding to: ???'s previous message |
In a complex case it would be harder to analyze but in this case it is easy. Jitter of the timer clocking as compared to the CPU clocking that fetches the JMP $ instruction is causing the variance of your interrupt rate. Adding the NOP to the ISR causes the ISR to beat more regularly with the JMP $ fetches. You could try keeping the NOP and then shortening the count for the timer reload to get a just bit faster interrupt rate.
Michael Karas |
Topic | Author | Date |
8052 Timer precision | 01/01/70 00:00 | |
Jitter | 01/01/70 00:00 | |
The IRQ is stable. The Latency is variable | 01/01/70 00:00 | |
sleep | 01/01/70 00:00 | |
idle mode![]() | 01/01/70 00:00 |