This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PCM1865 PLL questions

Other Parts Discussed in Thread: PCM1865

Dear TI expert,

I am testing the PCM1865 for an application where there will be rapid changes in the sampling frequency. I try to use such a configuration where the PLL is off. This is in order to avoid PLL locking delays, and also my Fs range is slightly larger than the PLL locking range. The data sheet Table 10 suggests that shutting the PLL off is possible for SCK ratios from 512 to 768, and such ratios seem to be working indeed in my prototype. My preferred SCK ratio, however, would be 256, but when I use it, Dout signal disappears. Is there any way to make it work which such a ratio?

This is not very critical, because I can change my circuitry to higher external clock and then use a higher ratio. However, more important is to know if the ADCs work when I vary the sampling frequency within a range of 1 to 2 by a corresponding variation in the input external clock? I guess if the PLL is completely inactive, there would be no problems, but my concern is on the sentence on the data sheet page 34 that says "The PLL by default is enabled because the on-chip fixed function DSPs require high clock rates to complete all various decimation, mixing and level-detection functions". So, even when I disable PLL, is it still used internally? I do not yet have my prototype programmed to test and try what happens when varying the external clock.

Best Regards,

Jouko

  • Hi Jouko,

    I will look into this and get back to you when I have run some tests.

    Justin
  • Thanks Justin,

    Meanwhile I also noticed some strange behavior: When I configure the PCM1865 according to the table 10 values for the PLL, ADC clocks and DSP clocks, the I2S serial port stops transmitting. The values were:
    SCK ratio = 512, PLL off, DSP1 clock divider = 2, DSP2 clock divider = 2, ADC clock divider = 4.
    However, when I change DSP1 clock divider = 1, then the serial port works again, but the antialiasing filter for obvious reasons does not work correctly. Fs was 20kHz which is not same as in the table, but according to the table, Fs can be both 16kHz and 48kHz with the same parameters. The result is same for both master and slave configuration, and with both types of antialias filters.
    When configuring for the SCK ratio = 512, I guess I need to set the Ratio of Master clock (SCK) to Bit Clock (BCK) = 8 in Page 0, register 38, and SCK to LRCK ratio in master mode value in Page 0, register 39 = 64 (which actually is the bit clock to LRCK ratio?? - you cannot use here a value 512), or did I miss something?

    Jouko
  • Hi Jouko,

    Could you give me the exact clocks you were using/getting for the 20 kHz scenario?

    Justin

  • Hi,

    I gave up the 512 sck ratio case, because the other parts of my circuitry cannot handle the resulting high master clock frequency.
    For the sck ratio 256, it indeed seems to be, like the datasheet says, that you cannot bypass the PLL. I tested the PLL locking delay, and it is really too long for my application. Therefore I need to go back to my old codec where the 256x master clock is working.

    Thanks anyway!
    Jouko