Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -666,9 +666,13 @@ This library does not currently support the spread spectrum function of the Si53
Changelog
---------

* v2.0.6

* Call _set_pll()_ in _set_correction()_ to ensure that the new correction factor is applied

* v2.0.5

* Remove PLL reset from set_freq() when not necessary
* Remove PLL reset from _set_freq()_ when not necessary

* v2.0.4

Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Etherkit Si5351
version=2.0.5
version=2.0.6
author=Jason Milldrum <milldrum@gmail.com>
maintainer=Jason Milldrum <milldrum@gmail.com>
sentence=A full-featured library for the Si5351 series of clock generator ICs from Silicon Labs
Expand Down
4 changes: 4 additions & 0 deletions src/si5351.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,10 @@ void Si5351::update_status(void)
void Si5351::set_correction(int32_t corr)
{
ref_correction = corr;

// Recalculate and set PLL freqs based on correction value
set_pll(plla_freq, SI5351_PLLA);
set_pll(pllb_freq, SI5351_PLLB);
}

/*
Expand Down