minor spur/phase noise improvements

This commit is contained in:
Jan Käberich 2021-03-22 21:28:03 +01:00
parent ac1e9fcec6
commit 06a7365a0c
5 changed files with 44 additions and 28 deletions

View file

@ -42,7 +42,7 @@ bool MAX2871::Init(uint32_t f_ref, bool doubler, uint16_t r, bool div2) {
// recommended phase setting
regs[1] |= (1UL << 15);
SetMode(Mode::LowSpur2);
SetMode(Mode::LowNoise);
// for all other CP modes the PLL reports unlock condition (output signal appears to be locked)
SetCPMode(CPMode::CP20);
SetCPCurrent(15);