AnsweredAssumed Answered

PLL1 and PLL2 of AD9528 is not locked

Question asked by wors66 on Oct 31, 2017
Latest reply on Nov 2, 2017 by gverma

I use follows AD9528 API code, I find that register location 0x508 of AD9285 is always 0xe4. It means PLL1 and PLL2 is not locked. Can anybody solve this problem?

Thanks

 

if ((ad9528err = AD9528_initDeviceDataStruct(&clockAD9528_1, clockAD9528_1.pll1Settings->vcxo_Frequency_Hz,
clockAD9528_1.pll1Settings->refA_Frequency_Hz,
clockAD9528_1.outputSettings->outFrequency_Hz[1])) != ADIERR_OK)
{
printf("9371 AD9528_initDeviceDataStruct error! \n");
}

if ((ad9528err = AD9528_resetDevice(&clockAD9528_1)) != ADIERR_OK)
{
printf("9371 AD9528_resetDevice error! \n");
}

if ((ad9528err = AD9528_initialize(&clockAD9528_1)) != ADIERR_OK)
{
printf("9371 AD9528_initialize error! \n");
}

//if ((ad9528err = AD9528_enableClockOutputs(&clockAD9528_1,1)) != ADIERR_OK)
//{
// printf("9371 AD9528_enableClockOutputs error! \n");
//}

//if ((ad9528err = AD9528_waitForPllLock(&clockAD9528_1)) != ADIERR_OK)
//{
// printf("9371 AD9528_waitForPllLock error! \n");
//}
/*************************************************************************/
/***** Mykonos Initialization Sequence *****/
/*************************************************************************/


/*** < Action: Toggle RESETB pin on Mykonos device > ***/
if ((mykError = MYKONOS_resetDevice(&mykDevice)) != MYKONOS_ERR_OK)
{
/*** < Info: errorString will contain log error string in order to debug failure > ***/
errorString = getMykonosErrorMessage(mykError);
}

if ((mykError = MYKONOS_initialize(&mykDevice)) != MYKONOS_ERR_OK)
{
/*** < Info: errorString will contain log error string in order to debug failure > ***/
errorString = getMykonosErrorMessage(mykError);
}

/*************************************************************************/
/***** Mykonos CLKPLL Status Check *****/
/*************************************************************************/
if ((mykError = MYKONOS_checkPllsLockStatus(&mykDevice, &pllLockStatus)) != MYKONOS_ERR_OK)
{
/*** < Info: errorString will contain log error string in order to debug failure > ***/
errorString = getMykonosErrorMessage(mykError);
}

Outcomes