| ??? 12/06/09 01:33 Read: times |
#171480 - Your calculations are OK Responding to: ???'s previous message |
Hi Akhil.
I could not find the mistake. May be it is out this piece of program, in msec_wait() or sec_wait(). Check if those functions afect Timer0. For 100Hz, 0x2400 is OK. May be you can avoid sec_wait(5), and start/stop Timer0 inside ex0_isr(). Daniel |
| Topic | Author | Date |
| Using timer 2 for frequency measurement | 01/01/70 00:00 | |
| Latencies | 01/01/70 00:00 | |
| Big differences | 01/01/70 00:00 | |
| I'm using a PLC and a Oscilloscope !! | 01/01/70 00:00 | |
| 2% jitter... | 01/01/70 00:00 | |
| Try a free-running timer and average 10 periods | 01/01/70 00:00 | |
| Dear Per | 01/01/70 00:00 | |
| You may use timer2 if you want | 01/01/70 00:00 | |
| Latency... | 01/01/70 00:00 | |
| Frequency Measure | 01/01/70 00:00 | |
| now using timer 0 and ext intr 0 | 01/01/70 00:00 | |
| giving up without proof that ... | 01/01/70 00:00 | |
Your calculations are OK | 01/01/70 00:00 |



