I am trying to build a sound input for Raspberry Pi 3B using CS5340-CZZ as an ADC. I am basically using it according to the typical connection diagram in its datasheet, where I have a signal from a microphone amplified by a LM4808 on the input. I have connected a 8.192MHz clock on the MCLK pins and configured it to the Single-Speed Master Mode, but I am getting this on the SCLK (PCM clock) and LRCK (PCM frame) pins: So as you can see the signal on the SCLK pin is irregular and the signal on the LRCK pin has a wrong frequency. I also tried to use the chip in the Slave Mode, in which I of course get the correct clock signals generated by the RPi, but then the chip seems to be sending no respose on the SDOUT pin. Could the problem be caused by the fact, that I have the chip soldered on a SMD to breadboard adapter and the rest of my circuit is on the breadboard? Or is the chip itself broken? Or is it caused by something else altogether?
I have now returned to this project of mine, I have finally realised my silly mistake. According to the typical connection diagram there should be a 5.1Ω resistor between VA and VD pins, but I accidentally originally put a 5.1kΩ resistor there. After replacing the resistor with the correct one the ADC works all right.