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.

TLV320ADC3101 PLL jitter

I have a design where I have a low frequency MCLK (812 kHz) with some phase jitter. The PLL then produces all clock signals for 48 kHz sample rate. There is noise in digital output that depends very much on phase jitter in MCLK signal.

The analog input is a waveform at 6 kHz that is synchronous with WCLK.

1) Are there any special limits for phase jitter/clock frequency for MCLK when using PLL?

2) Would a RC oscillator be better than the PLL for CODEC_CLKIN?

3) Would a Crystal oscillator be better than the PLL for CODEC_CLKIN?

The waveform is a stable baseline with a pulse, 50 microseconds long, rise & fall time 5 microseconds. For 8 consecutive samples, I get 6 points at baseline and 2 at pulse.

However, output digital data shows the step and the baseline with stable values, but the baseline is not flat.

When I adjust the pulse position in the 8 sample interval (I can adjust it in BCLK steps) and/or the pulse width, the baseline values will change to new values, but I have not yet found any values that will make the baseline flat.

4) Can this be caused by the digital filter?

I have tried to make a program with PurePath program that just sends data through without any processing. It was just input with 4 decimator and output, connected together. I have not tested that yet.

5) Is it correct that such a program should be several hundred bytes of code?

Kurt Mirdell

  • Hi, Kurt,

    I'm not sure we have much experience in the conditions that you want to operate.

    I have asked my colleague to comment if he has any recommendations for you.

    Is this an audio application?

    Does anyone in the community have any experience with such conditions?

    -d2

  • Hi Dan,

    It is not an audio application, but the circuit is great in my application with the PGA and possibilities to switch inputs. I have two working in parallell. I don't need absolute accuracy since I will make quotients of measured values, but I need stable values. From what I have seen so far on my own the reference frequency (MCLK) has to have low jitter, especially if the frequency is low.

    It would be nice with some insight in the PLL operation. Why is lowest MCLK according to the datasheet 512 kHz?

    Since I have seen the problem in my prototype, it would be nice to know more so I don't get big problems in production.

    It would also be nice if I could get some verification about the miniDSP. I think that the filter is messing up my data, and that it would be much better for me to just get ADC values directly. However, when I tried to do that I got a unreasonably long program to load into to the miniDSP. I can try what I got, but I would appreciate some comment if such a program should be so large.

    Kurt

  • Hi Kurt,

    The PLL is designed to maintain datasheet performance if the MCLK has less than 100 ps RMS cycle to cycle jitter. The faster the clock is, the better. You will find that even at 512 kHz, performance can suffer.

  • Converter Apps said:

    Hi Kurt,

    The PLL is designed to maintain datasheet performance if the MCLK has less than 100 ps RMS cycle to cycle jitter. The faster the clock is, the better. You will find that even at 512 kHz, performance can suffer.

    Thanks very much for this info. It should be in the data sheet. I assume that means that clock source has to be directly from a crystal oscillator, and that you should also avoid using a timer in a micro to generate MCLK.

    A bad clock source would probably first be noticed as more noise, and would probably affect all ADCs.

    I have tried to find specifications on jitter for microcontrollers. In this project, I am testing micros from TI and ST, but there is no jitter specifications. I would assume that internal RC oscillators will have more jitter than 100 ps.

    Will direct clock from a micro with crystal oscillator generally have less than 100 ps jitter or would I need a separate  oscillator?

    Kurt

  • Hi Kurt,

    In the audio world, we tend to use xtal oscillators that are exactly 256 x the sample rate (i.e. 12.288 MHz for 48 ksps). Then you don't need to use the PLL.

    You might want to post your micro question on one of the micro forums. I am sure they would have more experience and be able to provide some feedback.

  • Hi,

    I have verified that I get much better results when using the clock from a crystal controlled micro, in my design a STM8L.