AnsweredAssumed Answered

AD9520-0 PLL locking

Question asked by PrakashBJ on Apr 12, 2014
Latest reply on Apr 23, 2014 by pkern

Hi,

Have anyone working on AD9520-0?

I need to lock the PLL. What are the steps to do it?

I am trying it as below but unable to lock it.

The first parameter passed is the address and second is the value written to it.

     fnClkGenRegWriteSpi(0x0010,0x3C);

          fnClkGenRegWriteSpi(0x0011,0x09);                    // Divider LSB = 9

          fnClkGenRegWriteSpi(0x0012,0);                              //Divider MSB = 0

          fnClkGenRegWriteSpi(0x0013,0);                              //A Counter = 0

          fnClkGenRegWriteSpi(0x0014,0x03);                    //B Counter = 3

          fnClkGenRegWriteSpi(0x0016,0x03);

          fnClkGenRegWriteSpi(0x0018,0x06);

          fnClkGenRegWriteSpi(0x0232,1);

          fnClkGenRegWriteSpi(0x0018,0x07);

          fnClkGenRegWriteSpi(0x0232,1);

          fnClkGenRegWriteSpi(0x001B,0xE0);

          fnClkGenRegWriteSpi(0x001C,2);

          fnClkGenRegWriteSpi(0x0191,0x80);

          fnClkGenRegWriteSpi(0x0195,2);

          fnClkGenRegWriteSpi(0x01E0,0x06);

          fnClkGenRegWriteSpi(0x0232,1);

 

     fnClkGenRegWriteSpi(0,0);

          fnClkGenRegWriteSpi(2,0);

          fnClkGenRegWriteSpi(3,0);

          fnClkGenRegWriteSpi(4,0);

          fnClkGenRegWriteSpi(5,0);

          fnClkGenRegWriteSpi(6,0);

          fnClkGenRegWriteSpi(0x0010,0x7C);

          fnClkGenRegWriteSpi(0x0011,1);

          fnClkGenRegWriteSpi(0x0012,0);

          fnClkGenRegWriteSpi(0x0013,0);

          fnClkGenRegWriteSpi(0x0014,0x07);

          fnClkGenRegWriteSpi(0x0015,0);

          fnClkGenRegWriteSpi(0x0016,0x75);

          fnClkGenRegWriteSpi(0x0017,0);

          fnClkGenRegWriteSpi(0x0018,1);

          fnClkGenRegWriteSpi(0x0019,0);

          fnClkGenRegWriteSpi(0x001A,0);

          fnClkGenRegWriteSpi(0x001B,0x21);

          fnClkGenRegWriteSpi(0x001C,0x13);

          fnClkGenRegWriteSpi(0x001D,0x48);

          fnClkGenRegWriteSpi(0x001E,0);

          fnClkGenRegWriteSpi(0x001F,0);

          fnClkGenRegWriteSpi(0x0020,0);

          fnClkGenRegWriteSpi(0x00F0,0x64);

          fnClkGenRegWriteSpi(0x00F1,0x64);

          fnClkGenRegWriteSpi(0x00F2,0x64);

          fnClkGenRegWriteSpi(0x00F3,0x64);

          fnClkGenRegWriteSpi(0x00F4,0x64);

          fnClkGenRegWriteSpi(0x00F5,0x64);

          fnClkGenRegWriteSpi(0x00F6,0x64);

          fnClkGenRegWriteSpi(0x00F7,0x64);

          fnClkGenRegWriteSpi(0x00F8,0x65);

          fnClkGenRegWriteSpi(0x00F9,0x65);

          fnClkGenRegWriteSpi(0x00FA,0x65);

          fnClkGenRegWriteSpi(0x00FB,0x65);

          fnClkGenRegWriteSpi(0x00FC,0);

          fnClkGenRegWriteSpi(0x00FD,0);

     fnClkGenRegWriteSpi(0x00FE,0);

          fnClkGenRegWriteSpi(0x0190,0XFF);

          fnClkGenRegWriteSpi(0x0191,0);

          fnClkGenRegWriteSpi(0x0192,0);

          fnClkGenRegWriteSpi(0x0193,0XFF);

          fnClkGenRegWriteSpi(0x0194,0);

          fnClkGenRegWriteSpi(0x0195,0);

          fnClkGenRegWriteSpi(0x0196,0XFF);

          fnClkGenRegWriteSpi(0x0197,0);

          fnClkGenRegWriteSpi(0x0198,0);

          fnClkGenRegWriteSpi(0x0199,0x44);

          fnClkGenRegWriteSpi(0x019A,0);

          fnClkGenRegWriteSpi(0x019B,0);

          fnClkGenRegWriteSpi(0x019C,0);

          fnClkGenRegWriteSpi(0x01E0,0X02);

          fnClkGenRegWriteSpi(0x0191,0X02);

          fnClkGenRegWriteSpi(0x0230,0);

          fnClkGenRegWriteSpi(0x0231,0);

          fnClkGenRegWriteSpi(0x0232,0);

          fnClkGenRegWriteSpi(0x0A00,0);

          fnClkGenRegWriteSpi(0x0A01,0);

          fnClkGenRegWriteSpi(0x0A02,0);

          fnClkGenRegWriteSpi(0x0A03,0X02);

          fnClkGenRegWriteSpi(0x0A04,0);

          fnClkGenRegWriteSpi(0x0A05,0X04);

          fnClkGenRegWriteSpi(0x0A06,0X0E);

          fnClkGenRegWriteSpi(0x0A07,0);

          fnClkGenRegWriteSpi(0x0A08,0X10);

          fnClkGenRegWriteSpi(0x0A09,0X0E);

          fnClkGenRegWriteSpi(0x0A0A,0);

          fnClkGenRegWriteSpi(0x0A0B,0XF0);

          fnClkGenRegWriteSpi(0x0A0C,0X0B);

          fnClkGenRegWriteSpi(0x0A0D,1);

          fnClkGenRegWriteSpi(0x0A0E,0X90);

          fnClkGenRegWriteSpi(0x0A0F,1);

          fnClkGenRegWriteSpi(0x0A10,1);

          fnClkGenRegWriteSpi(0x0A11,0XE0);

          fnClkGenRegWriteSpi(0x0A12,1);

          fnClkGenRegWriteSpi(0x0A13,2);

          fnClkGenRegWriteSpi(0x0A14,0X30);

          fnClkGenRegWriteSpi(0x0A15,0X80);

          fnClkGenRegWriteSpi(0x0A16,0XFF);

          fnClkGenRegWriteSpi(0x0B00,0);

          fnClkGenRegWriteSpi(0x0B01,0);

          fnClkGenRegWriteSpi(0x0B02,0);

          fnClkGenRegWriteSpi(0x0B03,0);

          fnUpdateClkGenReg();

          fnClkGenRegWriteSpi(0x0018,0);

          fnUpdateClkGenReg();

          fnClkGenRegWriteSpi(0x0018,1);

          fnUpdateClkGenReg();

Outcomes