i.MX 8QM MEK - IMX-AUD-IO - Audio out

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

i.MX 8QM MEK - IMX-AUD-IO - Audio out

i.MX 8QM MEK - IMX-AUD-IO - Audio out

Quick notes on testing audio on the i.MX 8QuadMax MEK board with 4.19.35-1.1.0 BSP.

Hardware: 

 - Connect the MCIMX8QM-CPU to the MCIMX8-8X-BB.

 - Connect the IMX-AUD-IO to the Audio Slot 1 on the MCIMX8-8X-BB.

 - Short 2 and 3 on J47 on the MCIMX8-8X-BB

 - Connect an external powered speaker to RCA connectors Audio OUT FR and/or Audio OUT FL on the IMX-AUD-IO

 - Optionally, connect a headphone on J15 on the MCIMX8QM-CPU

 

pastedImage_1.png

Test:

Power on the board.

aplay -l shows the audio interface available.

root@imx8qmmek:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: cs42888audio [cs42888-audio], device 0: HiFi cs42888-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: cs42888audio [cs42888-audio], device 1: HiFi-ASRC-FE (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: wm8960audio [wm8960-audio], device 0: HiFi wm8960-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: imxaudmix [imx-audmix], device 0: HiFi-AUDMIX-FE (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: imxaudmix [imx-audmix], device 1: HiFi-AUDMIX-FE (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0

Play file on powered speaker via cs42888:

root@imx8qmmek:~# aplay -Dhw:0,0 test.wav

Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo

Play file on headphone via wm8960:

root@imx8qmmek:~# aplay -Dhw:1,0 test.wav
No ratings
Version history
Last update:
‎03-18-2020 05:40 PM
Updated by: