I've been looking around for a device to generate a variable-speed clock.
10 years ago Garth was kind enough to post a VFO circuit with '7-bits' of switchable capacitors
http://forum.6502.org/viewtopic.php?f=1&t=2013&p=17478#p17478.
Recently I found a flood of
Si5315A-based devices with PLLs settable between 8KHz and 160MHz that are sold as boards for under US$10. All of them seem similar, with 3 outputs and I2C controls. They are available from
https://www.adafruit.com/product/2045 and any number of resellers, as well as Aliexpress and Amazon. The price is close enough to the cost of a single-frequency oscillator, but I don't think there is any way to keep a frequency setting on the device without programmining it after a powerup, making it not feasible as a main clock.
A minor snag: the output seems to be 3.3V - which may be what you want anyway. I am sticking to 5V for my current projects, so I would think the usual 74HC74 divide-by-two flip-flop should remedy that. Am I correct that 5V HC logic would work with 3.3V peak-to-peak square-wave input?
Has anyone used these? I'd love to hear about your experiences. I am somewhat put off by the Adafruit tutorial as it requires an Arduino with a whole lot of magic clicking in the IDE or Circuit-Python libraries (don't get me started...) But I might even go through with that torture, if I can't find a C library for Raspberry Pi's i2c pins or something of that sort.