adafruit / Adafruit_Si5351_Library

Driver for Adafruit's Si5351 Clockgen Breakout
43 stars 30 forks source link

Enable phase offset function #20

Open hspil opened 1 year ago

hspil commented 1 year ago

I added a parameter to Adafruit_SI5351::setupMultisynth to support the phase offset feature.

I heavily leaned on G0UPL's write up of how to generate quadrature output for the details of how the phase offset works: https://www.qrp-labs.com/images/news/dayton2018/fdim2018.pdf See pages 13-17.

In the same document he clarifies the proper function of the (poorly named) PLL reset command, so I also changed Adafruit_SI5351::setupMultisynth and Adafruit_SI5351::setupPLL to reflect this.