Tool/software:
I measured the output channels of the DAC with an oscilloscope, and noticed that sometimes they are not in sync; there is a slight delay or gap between left and right channels. This delay or gap is not constant, it varies slightly from one sound play to the next; i.e. if one sound is played and stopped after some seconds, the next play of the same sound may have this L/R gap. Once the gap is present, it will remain for as long as the sound is played; it varies only between play/stop cycles
I read the DAC inputs with a logic analyzer but I did not see significant differences between plays of the same sound, again I played and stopped one sound after some seconds, and repeat the steps for the same sound; the readings at the DAC input don't show any significant differences; only a few samples differ and for only in one bit, I guess this is because of the setup I have, it may introduce noise on the logic analyzer read channels.
I'm using:
* I2S 24-bit left-justified
* 16 KHz sampling freq
* 1.024 MHz bit clk freq
* 6.14 MHz sysclk freq
My questions are:
* what could cause these variations on the delay of both channels?
* what is the clock jitter tolerance for each clock input? Could this cause channels to be out of sync?
Any ideas are welcomed