Part Number: PROCESSOR-SDK-AM62X
About the SII9022 HDMI AUDIO problem, is it solved now? If it has been solved, could you please provide relevant patches for my evaluation?
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.
Part Number: PROCESSOR-SDK-AM62X
About the SII9022 HDMI AUDIO problem, is it solved now? If it has been solved, could you please provide relevant patches for my evaluation?
Hi Xianbao,
For Audio output via HDMI please follow these steps to enable HDMI Audio on AM62x.
On you SDK linux kernel, please apply these two patches that have been committed:
Since, HDMI audio plays with overlay, u-boot Environment has to point to the dtbo file. I am attaching two files (k3-am625-sk.dtb k3-am625-sk-hdmi-audio.dtbo), please have them copied to the boot directory of the root file system on your SD card. Also modify the uEnv.txt in the boot partition of the SD card to add this line: setenv name_overlays=k3-am625-sk-hdmi-audio.dtbo
In order to have the audio routed to HDMI, you also have to short J24 PINs on the SK board.
Here are the commands and logs for your reference:
root@am62xx-evm:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: AM62xSil9022HDM [AM62x-Sil9022-HDMI], device 0: davinci-mcasp.0-i2s-hifi i2s-hifi-0 [davinci-mcasp.0-i2s-hifi i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
root@am62xx-evm:~# aplay -Dplughw:0,0 16_48k_PerfectTest.wav
Playing WAVE '16_48k_PerfectTest.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
[ 64.443645] davinci-mcasp 2b10000.mcasp: Sample-rate is off by -11776 PPM
[ 78.550686] ti-bcdma 485c0100.dma-controller: chan1 teardown timeout!
root@am62xx-evm:~# aplay -Dplughw:0,0 16_44k_PerfectTest.wav
Playing WAVE '16_44k_PerfectTest.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
[ 111.900554] davinci-mcasp 2b10000.mcasp: Sample-rate is off by -11776 PPM
[ 127.510670] ti-bcdma 485c0100.dma-controller: chan1 teardown timeout!
root@am62xx-evm:~# gst-launch-1.0 filesrc location=piano2.wav ! wavparse ! audioconvert ! alsasink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
[ 348.898743] davinci-mcasp 2b10000.mcasp: Sample-rate is off by -11776 PPM
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock
Got EOS from element "pipeline0".
Execution ended after 0:00:06.964075550
Setting pipeline to NULL ...
[ 356.886668] ti-bcdma 485c0100.dma-controller: chan1 teardown timeout!
Freeing pipeline ...
Hope this helps.
Regards,
Suren