I have a question about calibfreq. Does it work?
I need some accurate timing and thought I would use a DS1307 set for 8.192kHz to check on the PicAxe. So I measure the pulse length of that square wave and see how close it is to what it should be. The result is that the PicAxe is somewhere around 50 us slow on each pulse.
So, I thought I'd remedy the problem by using calibfreq in a loop to tweak the oscillator and see if I couldn't bring the measurement closer to the crystal frequency. But as I bump it up using calibfreq 1, calibfreq 2, etc. it seems to have no effect on the timing. Because of the caution in the manual, I haven't gone beyond 4.
Should I go higher? Or doesn't calibfreq have an effect on pulse timing?
I need some accurate timing and thought I would use a DS1307 set for 8.192kHz to check on the PicAxe. So I measure the pulse length of that square wave and see how close it is to what it should be. The result is that the PicAxe is somewhere around 50 us slow on each pulse.
So, I thought I'd remedy the problem by using calibfreq in a loop to tweak the oscillator and see if I couldn't bring the measurement closer to the crystal frequency. But as I bump it up using calibfreq 1, calibfreq 2, etc. it seems to have no effect on the timing. Because of the caution in the manual, I haven't gone beyond 4.
Should I go higher? Or doesn't calibfreq have an effect on pulse timing?