[sdiy] oscillator auto calibration

Colin f colin at colinfraser.com
Tue May 8 18:15:31 CEST 2007


 
> Assuming the PIC I/O pin will be calling an interrupt routine :-
> As this will involve an undefined (and variable) response 
> delay won't you end up trading one error for another ?

You would use the input from the oscillator to capture the timer value using
the CCP module.
Then you have an accurate copy of the timer value at the time of the trigger
pulse, even though it takes a while to get into the interrupt routine.

Cheers,
Colin f





More information about the Synth-diy mailing list