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.
Hi, I need a DAC with AES/EBU input, so I used DIR9001 and PCM1793. The problem is that left signal from PCM1793 is not correct (is not a sine) . Could you please check the schematic below? Thanks in advance.
Hi Claudio,
If the LEFT output is not a sine wave, what is it? Could you share an scope output of the channel compared to RIGHT output?
Thanks,
Paul
Hi Andy,
as I've responded to Paul, I've modified the circuit and the problem is that left and right channels are different. The generator works correctly, indeed I used it with an other DAC.
Hi Claudio,
This looks similar to a formating issue of the I2S. Is it possible your edge timing is marginal so that the DAC is latching the data offset by 1 bit? A good check would be to just invert the LRCK and see if the issue switches to the right channel. I recommend you capture a few I2S frames to see if the data is in the correct bit position.
Thanks,
Paul
Hi Claudio,
My concern is that your LRCK seems to be at 1.8V logic but the BCK is 3.3V Could this be an MCU issue? The minimum VIH (voltage-input: high) level for this device is 2V. Seems like you are on the border of that so you could be seeing inconsistent results. Try correcting that first.
Thanks,
Paul
Can you measure the PCM output on the pins themselves? I think you should compare VOUTL+, VOUTL-, VOUTR+, VOUTR- to check if the error is actually being created in the output amplifier stage.
Thanks,
Paul
This is very interesting. I think we are at the point where we must confirm the actual data on the bus. Now I am pretty confident the DIR and PCM are configured correctly (both 24-bit standard I2S).
Can you set you SPDIF input to be a square wave at fS/2? As the output seems to have some kind of rectification, I am concerned the MSB of the DIN line is being incorrectly sampled or ignored.
Can you show LRCLK and the data on the same trace? And then LRCLK and BCLK?
Is LRCLK truly 64 bit clocks wide, with 32 for left and 32 for right?
If you had a four-channel 'scope you could monitor BCLK, LRCLK and data at the same time, that would help.
Have you been able to change your digital source? For example, use a different source for the DIR9001. I would like to rule out the digital source being an issue. I would be worthwhile to verify if the data is actually correct. A square wave would make that easier.
The VOUTR trace looks like what happens when you feed the DAC an impulse (delta function) -- one sample at full scale with all other samples zero. You can see the sinc from the reconstruction filter. (BTW, you should have a sinc function sample/wave file for testing DACs.)
So that is a clue.
I can't count how many BCLKs you have in LRCLK high and low time.
Maybe the DAC chip is bad? I'm not a fan of shotgunning parts. Do you have another board built up that you can test?
Yes Paul, as I wrote you yesterday I used a square wave at fs=32 Khz, I post again the results:
VOUTL-/VOUTL+:
VOUTR-/VOUTR+:
Moreover, I've tried all the other sources available in my generator(sweep, chirp, delay,pnoise,wnoise,polarity,dolby,dts) and the right output wave on the dac is always cutted, so I think that it is damaged. Anyway, before mounting another one, is the schematic correct in your opinion? My major doubt is about the connection between the AES/EBU input and DIR9001.
There are 32 BCLKs in LRCK high and 32 in low time, I've also checked the analogical and the digital feed of the dac and they are correct, so I think that the dac chip is damaged and I've ordered other 2 chips.
Hi Claudio,
Sorry for the confusion, when I saw that square wave I thought it was the LRCK, not the output. This looks as expected, where two channels are not latching the MSB correctly.
I think at this point replacing the device is the best option.
The AES input looks okay to me, but I am not 100% on your source. I do not think that would cause this issue.
Thanks,
Paul
Can you confirm some DC measurements around the final stage? Could the output be clipping? Is there any assembly issues? You are also zoomed in quite a bit. Can you widen the time scale to the same 400µs/division? You might be seeing the actual switching of the delta-sigma modulator.
Hi Paul,
I've finally solved the problem: I forgot to put the bypass capacitor between the ground and the inverting input of LM833.
Best regards,
Claudio Fiorentini