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.

AM437x HDMI Audio issue

Other Parts Discussed in Thread: TLV320AIC3111


Hi all,

I am using the AM437x GP-EVM(1.4a) and ti-processor-sdk-linux-am437x-evm-01.00.00.00.

I use am437x-gp-evm-hdmi.dtb and execute "runMpeg4AacDec.sh"

I can see the video, but i can't hear the audio.

I have probed the McASP1 Lines and have confirmed that the Master-Clock, FrameSync and Bit-clocks are proper from the McASP side.

Can somebody from TI point us to the right patch for getting HDMI Audio working on AM43xx GP EVM.

Thanks.

From Will Hsu

  • Hi,

    I will ask the SW team to check this.

  • Hi,

    Have you enabled all kernel configurations, similar to the ones pointed here:
    processors.wiki.ti.com/.../Sitara_Linux_Audio_BeagleBoneBlack_HDMI

    Best Regards,
    Yordan
  • Will,

    In addition to checking out the wiki page Yordan pointed out, you also might want to make sure you are pointing to the right ALSA device. You can use "aplay -l" to quickly see what ALSA devices are available. From there, you can tell aplay to specify which device to use using -D option. Look here for more details. There are some sample .wav files in the filesystem you can use to quickly test things out (see here for an example).

    One thing to note about that BeagleBone black HDMI audio wiki--I wrote those instructions for SDK 7.01, and I haven't looked into the 3.14 kernel in the current SDK, so some things may have changed and those directions may not work exactly as listed.

  • Hi Jelliott and Yordan,
    Thanks for your suggest.
    I use the pre-build Image.


    -----------------------------------------------------------
    I use "am437x-gp-evm.dtb". the results are as follows

    root@am437x-evm:~# aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: AM437xGPEVM [AM437x-GP-EVM], device 0: davinci-mcasp.0-tlv320aic3x-hifi tlv320aic3x-hifi-0 []
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    root@am437x-evm:~# aplay /usr/share/sounds/alsa/Front_Left.wav
    Playing WAVE '/usr/share/sounds/alsa/Front_Left.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
    root@am437x-evm:~#

    I can hear the sound from headphone out (J16).


    -----------------------------------------------------------
    I use "am437x-gp-evm-hdmi.dtb". the results are as follows

    root@am437x-evm:~# aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: HDMI [HDMI], device 0: davinci-mcasp.0-hdmi-hifi hdmi-hifi-0 []
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    root@am437x-evm:~# aplay /usr/share/sounds/alsa/Front_Left.wav
    Playing WAVE '/usr/share/sounds/alsa/Front_Left.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
    [ 59.081044] sii9022 1-003b: No matching mclk divider 12000000/48000 != 256
    [ 59.096646] davinci-mcasp 4803c000.mcasp: Inaccurate BCLK: 24000000 Hz / 16 != 1536000 Hz
    root@am437x-evm:~#

    I can't hear the sound from HDMI display.

    Thanks a lot.

    Form Will Hsu

  • Hi Will Hsu,

    Consider rebuilding your kernel, with the hdmi audio settings recommended in above posts .
    I checked ti-processor-sdk-linux-am437x-evm-01.00.00.00 and in the default menuconfig & omap2plus_defconfig all HDMI audio options are included as modules <M>. Try rebuilding the kernel with:
    <*> Sound card support
    <*> Advanced Linux Sound Architecture
    <*> ALSA for SoC audio support
    <*> SoC Audio for TI DAVINCI or AM33XX/AM43XX chips
    <*> SoC Audio for the AM33XX chip based boards
    < *> SoC Audio for the AM43XX and TLV320AIC3111 based board
    <*> HDMI Audio for the AM33XX chip based boards with TDA998x

    Also consider the remarks Elliot pointed in his post.

    Best Regards,
    Yordan
  • Hi Yordan and Jelliott,

    It's working.

    I can hear the sound from HDMI display. 

    Thanks a million.

    Form Will Hsu