This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM8148 McASP0 capture audio from SiI9135

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_AHCLKR and MCA0_ARX0) of DM8148. 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 all the time.

 Can you help me about this? Where is the error occur?  I appreciate any help of everyone.

  • Tery,

    Please refer to the below wiki page:

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_HDMI_Driver_User_Guide#TI81XX_HDMI_Audio_Support

    Regards,
    Pavel

  • I can also provide you the below pointers:

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/182154.aspx

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/170970.aspx

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/308241.aspx

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/221770.aspx

    Best regards,
    Pavel

  • Thanks for your reply.

    But 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_AHCLKR  3MHz

    MCA0_MCLK    12MHz

     The audio files which I achieved was only 44byte all the time.

  • Hi,

    i have the same behaviour. If i start arecor i only get  a 44byte wav file.

    My codec is working as master providing the Serial clock and the FS. Mcasp and pcm

    Registration are ok.

    Does everybody of you ever solved this issue or have some more informations?

    Regards