IMX8MQuad audio codec

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX8MQuad audio codec

1,607 Views
prathap_ponnuch
Contributor I

Hi to All,

I am new in this IMX8MQuad processor.

We have an EVK for this IMX8MQuad.

If we check audio part, audio codec is not working.

But when we tried with hdmi audio its working fine.

we checked the following commads to verify audio cards present or not.

# cat /prov/asound/cards then imxhdmiaudio only available.

while booting ALSA device list also shows only #0 imx-audio-hdmi.

What is the issue how to solve this?

In our actual board we are using TLV320DAC3203 how to include this audio codec into our project and how to build after these changes.Which device tree need to changes?

Thanks in advance

Regards,

prathap

0 Kudos
5 Replies

1,489 Views
karangajjar
Senior Contributor II

Hi prathap ponnuchamy,

Have you checked with the prebuilds? With L4.14.98_2.0.0 prebuilds we are getting below cards in cat /proc/asound/cards

root@imx8mqevk:~# cat /proc/asound/cards
0 [wm8524audio ]: wm8524-audio - wm8524-audio
wm8524-audio
1 [imxspdif ]: imx-spdif - imx-spdif
imx-spdif
2 [imxhdmiarc ]: imx-hdmi-arc - imx-hdmi-arc
imx-hdmi-arc
3 [imxaudiohdmi ]: imx-audio-hdmi - imx-audio-hdmi
imx-audio-hdmi

Also, we are able to play sample wav file using aplay. 

Please note that imx8MM and imx8MQ do not have direct support for record. You can follow below link for more details:

Add audio record driver in i.MX8MQ/8MM 

Regards,

Karan Gajjar

0 Kudos

1,489 Views
prathap_ponnuch
Contributor I

HI karan gajjar,

Thanks for replay.

I downloaded L4.14.98. In this which file i need to copy into sdcard.

I am using linux based environment but when i look this its different.

Which environment it will run?

can i test .sdcard file?

Regards,

prathap

0 Kudos

1,489 Views
karangajjar
Senior Contributor II

Hi prathap ponnuchamy,

The binary image file(.sdcard) from the link shared above will run Linux OS. You can refer to i.mx Linux user guide (how to flash .sdcard, ways to boot the board, and other useful information) and i.mx Yocto user guide (how to build the image for the EVK) from the documents in the given link L4.14.98_2.0.0 linux docs.

Referring to the above document will help you get familiar with the EVK.

Regards,

Karan Gajjar

0 Kudos

1,489 Views
prathap_ponnuch
Contributor I

Hi karan,

Now we can able to hear audio codec sound.

problem solved.

We need to include imx8m-ep1.dts into imx8m quad dts file.

Now we can able to see audio codec cards.

Regards,

prathap

0 Kudos

1,489 Views
karangajjar
Senior Contributor II

Hi prathap ponnuchamy,

We are glad you resolved the issue.

Let us know in case of any other concerns.

Regards,

Karan Gajjar

0 Kudos