Repository navigation
v2.4.1
Bug-fix release. Hardware-verified on Si5351B (VCXO) and Si5351C boards.
- Fix VCXO setup being lost when PLLB is reprogrammed
- Clamp CLK0-CLK5 output frequency to the 200 MHz spec maximum (the
*_MAX_FREQmacros still say 225 MHz) set_freq_manual()now validates the Multisynth ratio; an invalid ratio returns 1 and writes nothing- Recalculate the Multisynth dividers of every output on a PLL whenever that PLL's frequency changes
- Fix CLK6/CLK7 register truncation (keep MS6/MS7 in the valid even-integer range) and enable CLK6/CLK7 on their first
set_freq(), like CLK0-CLK5;set_phase()andset_int()are no-ops for CLK6/CLK7 - Write MS ratio 6, not 5, when a low ratio is clamped; don't program a PLL from a reference with no valid feedback ratio; replace the CLKIN_DIV field in
set_pll_input()instead of ORing it - Clear spread spectrum enable (SSC_EN) in
reset(), whichinit()calls (#82, #86) - Behavior change:
dev_status.LOSnow reports crystal loss of signal (LOS_XTAL, register 0 bit 3). NewLOS_CLKINandLOS_XTALfields plus matching sticky fields, andSI5351_STATUS_LOSis now bit 3 (#85) - Add
get_i2c_error(), which records I2C errors from register reads and writes and from a failedinit(). A read that returns no data reportsSI5351_I2C_ERR_NO_DATA(0xFF) (#74) - A second output above 100 MHz now moves to the free PLL instead of being refused (#39)
- Docs:
set_freq()/set_freq_manual()take 0.01 Hz units, and the range comment is fixed (#97, #60)