已回答假定已回答

ad9361  rx tx pll 无法锁定

wojiaomazhigame 在 2015-7-6 詢問的問題
最後回覆由Haiton於2016-8-9提供

  使用开发板的晶振   tx和rx pll 无法锁定  配置程序如下

 

SPIWrite 009,07 // Enable Clocks  use   crystal
WAIT 20 // waits 20 ms

 

 

//************************************************************
// Setup Rx Frequency-Dependent Syntheisizer Registers
//************************************************************
SPIWrite 23A,4A // Set VCO Output level[3:0]
SPIWrite 239,C0 // Set Init ALC Value[3:0] and VCO Varactor[3:0]
SPIWrite 242,17 // Set VCO Bias Tcf[1:0] and VCO Bias Ref[2:0]
SPIWrite 238,40 // Set VCO Cal Offset[3:0]
SPIWrite 245,00 // Set VCO Cal Ref Tcf[2:0]
SPIWrite 251,00 // Set VCO Varactor Reference[3:0]
SPIWrite 250,70 // Set VCO Varactor Ref Tcf[2:0] and VCO Varactor Offset[3:0]
SPIWrite 23B,A4 // Set Synth Loop Filter charge pump current (Icp)
SPIWrite 23E,D4 // Set Synth Loop Filter C2 and C1
SPIWrite 23F,DF // Set Synth Loop Filter  R1 and C3
SPIWrite 240,09 // Set Synth Loop Filter R3

//************************************************************
// Setup Tx Frequency-Dependent Syntheisizer Registers
//************************************************************
SPIWrite 27A,4A // Set VCO Output level[3:0]
SPIWrite 279,C0 // Set Init ALC Value[3:0] and VCO Varactor[3:0]
SPIWrite 282,17 // Set VCO Bias Tcf[1:0] and VCO Bias Ref[2:0]
SPIWrite 278,40 // Set VCO Cal Offset[3:0]
SPIWrite 285,00 // Set VCO Cal Ref Tcf[2:0]
SPIWrite 291,00 // Set VCO Varactor Reference[3:0]
SPIWrite 290,70 // Set VCO Varactor Ref Tcf[2:0] and VCO Varactor Offset[3:0]
SPIWrite 27B,A4 // Set Synth Loop Filter charge pump current (Icp)
SPIWrite 27E,D4 // Set Synth Loop Filter C2 and C1
SPIWrite 27F,DF // Set Synth Loop Filter  R1 and C3
SPIWrite 280,09 // Set Synth Loop Filter R3

SPIWrite 233,F8 // Write Rx Synth Fractional Freq Word[7:0]
SPIWrite 234,FF // Write Rx Synth Fractional Freq Word[15:8]
SPIWrite 235,3F // Write Rx Synth Fractional Freq Word[22:16]
SPIWrite 232,00 // Write Rx Synth Integer Freq Word[10:8]
SPIWrite 231,52 // Write Rx Synth Integer Freq Word[7:0]
SPIWrite 005,00 // Set LO divider setting
SPIWrite 273,F8 // Write Tx Synth Fractional Freq Word[7:0]
SPIWrite 274,FF // Write Tx Synth Fractional Freq Word[15:8]
SPIWrite 275,3F // Write Tx Synth Fractional Freq Word[22:16]
SPIWrite 272,00 // Write Tx Synth Integer Freq Word[10:8]
SPIWrite 271,52 // Write Tx Synth Integer Freq Word[7:0] (starts VCO cal)
SPIWrite 005,00 // Set LO divider setting
SPIRead 247 // Check RX RF PLL lock status (0x247[1]==1 is locked)
SPIRead 287 // Check TX RF PLL lock status (0x287[1]==1 is locked)

結果