use a 08M2 for a VCO 40 to 70 KHz. Is this even feasable? Output frequency jitter in not acceptable.
Hi Robert,
Just at those two frequencies, or with (how many) steps in between?
How are you defining frequency jitter? AFAIK, if you change the frequency, you
cannot (instantly) keep the duty cycle the same (even with a "raw" PIC) because different/additional registers need to be updated to restore the duty cycle. So there
must be "jitter" at least on the falling or rising edge of the output waveform.
So, probably not feasable using the PWM output. But you may be able to "build" your own VCO with a 08M2 using other on-chip hardware (supported by SFR commands) such as the SR flip-flop, Comparator, D/A converter (and probably an external capacitor).
Cheers, Alan.