AnsweredAssumed Answered

CCLK and SCLK of BF533 EZ-KIT

Question asked by rtessari on Aug 29, 2012
Latest reply on Sep 2, 2012 by Prashant

Hi,

 

I am working in an application based on example program named  "Audio Codec TalkThrough - TDM (ASM)".

When I use the default values of CCLK and SCLK , the program runs perfectly, and I can hear the input signal on the output of ez-kit. But when I tried to increase the frequency of CCLK and SCLK the program runs but  I can not hear anything on the output of ez-kit.

 

To change the values of CCLK and SCLK I used those codes :

 

    p0.l = lo(VR_CTL);

    p0.h = hi(VR_CTL);

   

    r0.l = 0x00FB;

    w[p0] = r0.l;

    idle;

 

    p0.l = lo(PLL_CTL);

    p0.h = hi(PLL_CTL);

    r1 = w[p0](z);

    r2 = r1;

    r0 = 0(z);

   

    r0.l = 0x81ff;

    r1 = r1 & r0;

    r0.l = (0x16) << 9; // Changing the MSEL to 594MHz

    r1 = r1 | r0;        // Default MESL is 270MHz

   

    w[p0] = r1;          // Apply PLL_CTL changes.

    ssync;

    idle;  

    ssync;

 

Do you have any idea why i can not hear anything when i change the CCLK and SCLK frequency?

 

thanks.

Outcomes