Hi all,
I need to sample one channel analog audio signal input from sii9135 now. I have connected the I2S ports of sii9135 to McASP0 ports (MCA0_ASFR, MCA0_ACLKR , MCA0_ARX0 and MCA0_AHCLK0) of DM8148.I have configured the sii9135. The audio in HDMI has been output from I2S bus. So what I need to do is capture audio from I2S bus instead of HDMI. I connection the I2S bus in sii9135 to McASP0.
MCA0_ASFR 48kHz
MCA0_ACLKR 3.072MHz
MCA0_AHCLKX 12MHz
I choose DVRRDK_04.00.00.03 as my development environment. SiI9135 can output signal through I2S ports in I2S format. The McASP0 has mapped correct and I can see the ALSA device in Linux. I use “arecord” tool of ALSA to record the audio which come from sii9135. The command is: “arecord -Dplughw:0,2 -r48000 -f S32_LE test.wav” . Unfortunately, I can achieve nothing.
The audio files which I achieved was only 44byte(the head of wav) all the time.
Can you help me about this? Where is the error occur? I appreciate any help of everyone.