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.

TLV320AIC3111 I2S configuration issue

Other Parts Discussed in Thread: TLV320AIC3111

Hi all,

I am using TLV320AIC3111 codec. and able to control the codec through I2C but not getting data on I2S lines. I am using I2S0 from my hardware,

can anyone suggest me how to configure I2S0 from software side, or how can we conclude which I2S is using from data transfer from software side?

  • Moving to audio forum.
    Regards
  • Hi Nikhil,

    Could you please be more specific about the I2S configuration desired?, you can take a look to this document, it explains how to configure Audio Serial Interface with audio codecs. You can also use AIC3111 GUI to configure the signal routing as you want, save it to a I2C script and then load it into your system.

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Hi Diego,

    I am using Android X86 platform and the available command on this platform are alsa_aplay and alsa_amixer. i made the setting for alsa_amixer but i am unable to find the right command through alsa_aplay to play a audio file through command and my display is not working till now so i can not play it through display.

    **** List of PLAYBACK Hardware Devices ****
    card 0: baytrailaudio [baytrailaudio], device 0: Audio tlv320aic31xx-codec-0 []
    Subdevices: 2/2
    Subdevice #0: subdevice #0
    Subdevice #1: subdevice #1
    card 0: baytrailaudio [baytrailaudio], device 2: BYT_BTSCO snd-soc-dummy-dai-2 []
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: IntelHDMI [IntelHDMI], device 0: IntelHDMI [IntelHDMI]
    Subdevices: 1/1
    Subdevice #0: subdevice #0

    i made the setting alsa_amixer correct and play the command

    alsa_aplay -c 0 <path><audio_file_name>
    i got these errors:
    ALSA lib external/alsa-lib/src/conf.c:3437:(snd_config_hook_load) cannot access file /system/usr/share/alsa/cards/aliases.conf
    ALSA lib external/alsa-lib/src/pcm/pcm.c:2210:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.default
    aplay: main:655: audio open error: No such file or directory

    can you please suggest me how can i play a audio file on it so can probe the I2S signal