Hi,
I have been working on design to interface a digital microphone to the 3256 codec. I am currently using PurePath Studio to achieve this. I have successfully interfaced an analog microphone and played back recordings from it. However, I am having issues with the digital microphone. As per the reference manual, I am using SCLK as my digital mic input and MISO as clock for the digital mic. I have the playback registers configured as well. I am able to see output from the D-mic's DATA and there seems to be output from the codec i2s DOUT as well. I am unable to hear any playback. Could you please help me in case I am missing something here? I have shared the related register settings and sample output screenshot below.
Note: I am sampling at 32kHz.
;-----------------------------------------------------------------------------------
; ADC Channel Configuration
;-----------------------------------------------------------------------------------
reg[ 1][ 51] = 0x68; Mic Bias enabled
reg[ 1][ 52] = 0x00; Route IN3L to LEFT_P with 10K input impedance /off for now
reg[ 1][ 54] = 0x00; Route CM1L to LEFT_M with 10K input impedance //off for now
reg[ 1][ 55] = 0x00 ; Route IN3R to RIGHT_P with 10K input impedance //off for now
reg[ 1][ 57] = 0x00 ; Route CM1R to RIGHT_M with 10K input impedance //off for now
reg[ 1][ 59] = 0x28; Enable MicPGA_L Gain Control, 0dB //SHOULD BE 0 0
reg[ 0][ 81] = 0xD4; Power up LADC/RADC
reg[ 0][ 82] = 0x00; Unmute LADC/RADC
reg[ 0][ 83] = 0x18; left mic 12db vol
reg[ 0][ 84] = 0x18; right mic 12db vol
reg[ 0][ 55] = 0x0E; miso dmic clock
reg[ 0][ 56] = 0x02; SCLK
;-----------------------------------------------------------------------------------
; DAC Channel Configuration
;-----------------------------------------------------------------------------------
reg[ 1][ 12] = 0x08 ; Route LDAC to HPL
reg[ 1][ 13] = 0x08 ; Route RDAC to HPR
reg[ 1][ 14] = 0x09 ; Route LDAC to LOL
reg[ 1][ 15] = 0x08 ; Route LDAC to LOR
reg[ 0][ 63] = 0xD6 ; Power up LDAC/RDAC w/ soft stepping
reg[ 1][ 16] = 0x00 ; Unmute HPL driver, 0dB Gain
reg[ 1][ 17] = 0x00 ; Unmute HPR driver, 0dB Gain
reg[ 1][ 18] = 0x00 ; Unmute LOL driver, 0dB Gain
reg[ 1][ 19] = 0x00 ; Unmute LOR driver, 0dB Gain
reg[ 1][ 9] = 0x3C ; Power down HPL/HPR and LOL/LOR drivers, MAL/MAR
reg[ 0][ 64] = 0x01 ; left output volume controlled by right channel vol
reg[ 0][ 66] = 0x14 ; dac vol
reg[ 0][ 67] = 0x80; headset detection