Other Parts Discussed in Thread: PCM3052A
I am working with the codec PCM3052A and have some problems to operate the DAC.
First, the system is connected to a codec dsPIC33EP256MU806 through I2C and I2S buses.
In another application than previously realized, but using a dsPIC with more pins, the system operated correctly.
The system clock is a crystal (F = 4.194304 MHz) , which in the codec results in a sampling frequency of 16384Hz. The I2C bus is working correctly, because I can adjust the codec parameters .
The I2S bus also seems to be working properly, and that the waveform, amplitude and frequency of the signals are according to expectations .
The circuit used to implement the codec is suggested on page 41 of the datasheet it. The only change I made to him is that because it 's only going to use the line inputs , did not include R1, R2 C9 and C10 , and MINP minm leaving open. Note that the line input is selected by software .
The problem I have is that the DAC output is not working properly . Specifically , there is a 1 Vpp noise therein.
If a send a 24 bits test signal generated within the DSP, it seems that since the bit 23 to bit 16 , the signal becomes well . From bit 15 to bit 8 noise is generated and is the 8LSB's are well converted .
A test that I did was to send the zero signal level from the DSP codec and check the appearance of the noise , however if I turn off the codec ( / PWRDN = 0) the noise disappears . So in principle I have ruled out the problem was external to the circuit.
Notably mounted three units have this prototype and 3 have the same fault .
Also, I checked the settings , levels and frequencies of the most important signals with those of the previous prototype , which works properly and there are no differences .
To verify that no noise was due to a noise problem at the source, I checked the waveforms , and have added 10uF capacitors next to the power pins of the codec.
I would therefore like to know if possible if this issue can estarse owing to lack of components and minm MINP .
I would appreciate any information that allows me to determine the origins of the problem or the solution .
Thank you very much.
Alejandro