Ian,
I assume that do_tune() routine will have the following calls at the end:
? ? si5351bx_setfreq(0, bfo);
? ? si5351bx_setfreq(1, clk1);
? ? si5351bx_setfreq(2, vfo);
The values for bfo, clk1, vfo do not change during the calibration procedure.
But we must make those three calls each time si5351bx_vco is changed
while searching for zero-beat of our BFO with the AM station's carrier.
?
Jerry
? ??
toggle quoted message
Show quoted text
On Sun, Mar 11, 2018 at 08:08 pm, Jerry Gaffke wrote:
while (not-zero-beat)? {
? ? adjust the value of si5351x_vco using the encoder
? ? do_tune(10000000)
}