Hello,
I'm trying to get audio data from digital microphone input (Digimic0) of TPS65951, but looks like PDM data is interpreted incorrectly and I see only noise in audio data. Moreover, noice level is different on left and right channel (both are based on identical ADMP521 chips), you can see this on screenshot:
Codec operates in audio mode (OPT_MODE = 1).
If I enable digital loopback (TX1->RX2) I can hear this catched data (noise, but no any sounds). It means that problem caused by codec, not CPU.
If I switch TX1 to Analog microphone I got correct data and can hear sound from microphone by the same digital loopback. It means that TX1 path and RX2 path are configured correct.
I see correct CLK on DIG.MIC.CLK0 line (2.4MHz), correct VDD on MICBIAS1.OUT line (1.8V), and see that microphones output data to DIG.MIC.0 line by oscilloscope.
ADCMICSEL Register = 0x3
What else should I do to get correct audio data from the digital microphone?