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.

Can't get i2s(MCBSP2) audio working over hdmi

Other Parts Discussed in Thread: AM3517, TLV320AIC23

We're using the am3517 chip on a logic PD som MII module on our board, running debian linux.  We're trying to use the ad9889b hdmi transmitter.  The video is working just fine, but we're unable to get any sound.  We trying to use I2s audio over MCBSP2 connected to the I2s input on the ad9889b chip from analog devices.  when I try to use the alsa player(aplay) I get many errors of this sort "tlv320aic23_write cannot write 00c to register R5", I don't think we have the tlv320aic23 on our board.  I'm wondering if I'm missing something hardware wise, do I need an audio codec chip? or should it be possible to transmit audio to the i2s input on the ad9889b directly from MCBSP2 and I'm just missing/ incorrectly using a driver.

Bryan

  • Try disabling SoC Audio support for OMAP3517 / AM3517 EVM in the kernel configuration, this might be the part that is causing the AIC errors.  This is under

    Device Drivers
    -> Sound card support (SOUND [=y])
    -> Advanced Linux Sound Architecture (SND [=y])
    -> ALSA for SoC audio support (SND_SOC [=y])
    Selects: SND_OMAP_SOC_MCBSP [=y] && SND_SOC_TLV320AIC23 [=y]

  • ok.. So now it just seems not not have a sound card driver registered.
    
    
    ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
    ALSA lib conf.c:4170:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
    ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
    ALSA lib conf.c:4170:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
    ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
    ALSA lib conf.c:4170:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
    ALSA lib conf.c:4649:(snd_config_expand) Evaluate error: No such file or directory
    ALSA lib pcm.c:2190:(snd_pcm_open_noupdate) Unknown PCM default
    aplay: main:654: audio open error: No such file or directory
    
    
    I'm having some difficulty finding some linux drivers for the ad9889b chip.  There don't seem to be any in the kernel menu config anywhere, or on analog devices website. 
    We were able to get the video working by manually communicating with the chip over i2c.