Hi all,
I'd like to generate a 1kHz clock signal (using analogWriteFrequency or IntervalTimer).
Both of these use F_BUS as a clock source. Is it possible to gently steer the F_BUS clock so that I can apply corrections to give an exact 1kHz signal (using an accurate PPS signal from external source, or NTP to detect the drift)?
I've found reference to being able to change the capacitance of the RTC crystal to correct the PPM drift on that, can I do something similar for the main crystal?
My eventual aim (the simplified version) is to have multiple Teensy devices outputting phase synchronized (to 1kHz) clock signals using sync from a PPS input or NTP data.
Thanks,
Mark
I'd like to generate a 1kHz clock signal (using analogWriteFrequency or IntervalTimer).
Both of these use F_BUS as a clock source. Is it possible to gently steer the F_BUS clock so that I can apply corrections to give an exact 1kHz signal (using an accurate PPS signal from external source, or NTP to detect the drift)?
I've found reference to being able to change the capacitance of the RTC crystal to correct the PPM drift on that, can I do something similar for the main crystal?
My eventual aim (the simplified version) is to have multiple Teensy devices outputting phase synchronized (to 1kHz) clock signals using sync from a PPS input or NTP data.
Thanks,
Mark