I am trying to just do a very basic input to output so that I can test my external hardware interfaces before we start any I2S handling, but I cannot seem to route the audio through the codec as I would think that I can. Maybe I am not configuring all of the registers that I need to?
I am trying to basically directly connect MIC2L to the Right LOP/M Differential Output not applying any gain (0dB) through the chain. I am trying to do this by connecting MIC2L to the Left PGA and then routing the PGA_L output to the Right LOP/M bypassing all digital processing entirely (no I2S interface connected yet).
I have solid 0.707Vrm SE 3kHz sine wave from my function generator connected to MIC2L through a simple AC coupling cap to block the DC bias from the codec. I am measuring the signal (DC Referenced) after the capacitor and can see the codec adding the proper DC bias to operate from 0vp to 2Vp as I would expect. I also am measuring the Right LOP/M output but I am not seeing anything at all out of the codec.
I am using a Linux machine to control the I2C configuration registers and believe I am setting all of the registers correctly, but perhaps I am missing some settings?
Here are the registers and settings I am applying:
i2cset -y 1 0x18 0x01 0x80 Self-clearing software reset
i2cset -y 1 0x18 0x00 0x00 Sets to use Page 0
i2cset -y 1 0x18 0x11 0x0F Connects MIC2L to Left ADC PGA Mixer and 0dB gain
i2cset -y 1 0x18 0x0F 0x00 Set Left-ADC PGA to not Muted & gain of 0dB
i2cset -y 1 0x18 0x51 0x80 PGA_L Output Routed to Left LOP/M
i2cset -y 1 0x18 0x56 0x09 LEFT_LOP/M not muted, fully powered up
And here is the i2c dump after applying these settings:
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 00 00 10 04 00 00 00 00 00 00 01 00 00 00 00 ...??......?....
10: 80 0f ff 78 78 78 78 78 78 06 00 fe 00 00 fe 00 ??.xxxxxx?.?..?.
20: 00 00 00 00 80 00 00 00 00 00 00 80 80 00 00 00 ....?......??...
30: 00 00 00 04 00 00 00 00 00 00 04 00 00 00 00 00 ...?......?.....
40: 00 04 00 00 00 00 00 00 04 00 00 00 00 00 00 00 .?......?.......
50: 00 80 00 00 00 00 0b 00 00 00 00 00 00 00 10 00 .?....?.......?.
60: 00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 00 ......?.........
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
80: 00 00 00 10 04 00 00 00 00 00 00 01 00 00 00 00 ...??......?....
90: 80 0f ff 78 78 78 78 78 78 06 00 fe 00 00 fe 00 ??.xxxxxx?.?..?.
a0: 00 00 00 00 80 00 00 00 00 00 00 80 80 00 00 00 ....?......??...
b0: 00 00 00 04 00 00 00 00 00 00 04 00 00 00 00 00 ...?......?.....
c0: 00 04 00 00 00 00 00 00 04 00 00 00 00 00 00 00 .?......?.......
d0: 00 80 00 00 00 00 0b 00 00 00 00 00 00 00 10 00 .?....?.......?.
e0: 00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 00 ......?.........
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Any help would be greatly appreciated.
Thank you,