We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ea2340 commit 817cd79Copy full SHA for 817cd79
adafruit_si5351.py
@@ -449,3 +449,14 @@ def outputs_enabled(self, val):
449
self._write_u8(_SI5351_REGISTER_3_OUTPUT_ENABLE_CONTROL, 0xFF)
450
else:
451
self._write_u8(_SI5351_REGISTER_3_OUTPUT_ENABLE_CONTROL, 0x00)
452
+ self.reset_plls()
453
+
454
+ def reset_plls(self):
455
+ """Reset both PLLs. This is required when the phase between clocks
456
+ needs to be non-random.
457
458
+ See e.g.
459
460
+ https://groups.io/g/BITX20/topic/si5351a_facts_and_myths/5430607
461
+ """
462
+ self._write_u8(_SI5351_REGISTER_177_PLL_RESET, (1 << 7) | (1 << 5))
0 commit comments