Audio recording on QUAT MI2S interface


#1

I have an external codec connected to QUAT MI2S interface, with only the recording path enabled in slave mode(410 is master, SDTI is grounded).
Used
tinymix 'MultiMedia1 Mixer QUAT_MI2S_TX' 1

to enable the recording.
I can see data on the I2S bus, but the DSP buffer shows only 0(log below, printed 10 bytes).

“msm_pcm_capture_copy:fbytes = 0: size=0: xfer=2048
Sending next buffer to dsp
Returning from capture_copy… 0
6952.669931] pcm_irq_pos = 0
ASM_DATA_EVENT_READ_DONE_V2
buf 0:0:0:0:0:0:0:0:0:0”

Is any configuration missing ??


#2

Hi @sdkumar00,

Would this post help?

http://www.96boards.org/forums/topic/enable-i2s-audio-path/

We also would like to enable I2S capability in the future release.


#3

Hello Akira,
In our case it was a setting on the external codec.
The link you posted is useful, but do note that the driver allows only Qualcomm codecs. You would need to make additional driver for another vendor.