AnsweredAssumed Answered

Setting SCLK

Question asked by hugejeans on Oct 18, 2011
Latest reply on Oct 21, 2011 by hugejeans

Hey,

 

Running an LWIP project on a custom 537 board. The ADI_PWR_CMD_SET_PROC_VARIANT is set to ADI_PWR_PROC_BF537BBCZ_5B and trying to set the core clock and system clock with the following:

 

Result = adi_pwr_SetFreq(500000000,120000000, ADI_PWR_DF_OFF);

 

The function returns ADI_PWR_RESULT_SUCCESS, however, when I measure SCLK on the oscilloscope it is actually set to 85Mhz.

 

I have also tried:

 

Result = adi_pwr_SetFreq(0,120000000, ADI_PWR_DF_OFF);

 

But again when measured the SCLK is not 120Mhz, in this case it is 116.5Mhz.

 

Is there something I'm missing before calling the adi_pwr_SetFreq function?

 

CLKIN in 25Mhz.

 

I have also tried directly setting the PLL_DIV register but I get the same results.

 

Cheers,

Eugene.


Outcomes