Since synchronization is more important than jitter in this
application it's easy to generate 32 kHz from 10 MHz.

A 10 MHz clock into a PIC gives a 400 ns/instruction time.

To produce 32.768 kHz you flip an output pin put every 38
instructions, except that 9632 times per second you make
it 39 instructions instead.

The result is 65536 bit flips per second (giving a frequency
of exactly 32768 Hz) consuming 2 500 000 instructions per
second. The output accuracy equals the input accuracy.
The output jitter is as most 400 ns.

/tvb


_______________________________________________
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.

Reply via email to