wm8731 on VARISCITE DART6-UL no sound

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

wm8731 on VARISCITE DART6-UL no sound

Jump to solution
1,314 Views
paolosantini
Contributor III

I'm facing with a problem. My board,  VARISCITE DART 6-UL based on i.mx6 processor, doesn't sound when I start a "aplay" session from my application.

I tried to use it on the evaluation board where I launch aplay from terminal and it sounds my .wav file with no problem.

During initial boot-up phase, configuration seems appearing as to be right:

Advanced Linux Sound Architecture Driver Initialized.

...

ALSA device list:
  #0: wm8731-audio

...

ALSA: Restoring mixer settings...
But if I try the following:

aplay AudioSample2.wav

logout warns aplay is working:

Playing WAVE 'AudioSample2.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

and disappears when the audio file is finishes.

Unfortunately, no sound comes from my loudspeaker (loudspeaker has no problem, because it sound when I emits a squarewave signal coming from another microcontroller serially linked to.

Alos checking "menuconfig" (see enclosed) all seems to be correctly set.

Any suggestion about?

Tags (2)
0 Kudos
1 Solution
1,171 Views
paolosantini
Contributor III

Thank Diego,

problem solved.

All configuratgion was OK, but GPIO pin was balocked for a different use. After correcting GPIO configuration, magically board begins to play with no problem.

Paolo

Il 24 aprile 2019 alle 22.19 diegoadrian <admin@community.nxp.com> ha scritto:

NXP Community https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg

Re: wm8731 on VARISCITE DART6-UL no sound

reply from Diego Adrian Cuevas https://community.nxp.com/people/diegoadrian?et=watches.email.thread in i.MX Processors - View the full discussion https://community.nxp.com/message/1143521?commentID=1143521&et=watches.email.thread#comment-1143521

>

View solution in original post

0 Kudos
2 Replies
1,171 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

Unfortunately, you are not using a board that is from NXP. I recommend you to go with Variscite, they should help you in a better way. Nevertheless, what I recommend you is to review the asound.conf file and see if the wm8731 is set as default. If not try to modify it to set the wm8731 audio card as default. Otherways, try using

# aplay -D hw:0,0 <your .wav file>

Hope this can help you.

Best regards,

Diego

0 Kudos
1,172 Views
paolosantini
Contributor III

Thank Diego,

problem solved.

All configuratgion was OK, but GPIO pin was balocked for a different use. After correcting GPIO configuration, magically board begins to play with no problem.

Paolo

Il 24 aprile 2019 alle 22.19 diegoadrian <admin@community.nxp.com> ha scritto:

NXP Community https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg

Re: wm8731 on VARISCITE DART6-UL no sound

reply from Diego Adrian Cuevas https://community.nxp.com/people/diegoadrian?et=watches.email.thread in i.MX Processors - View the full discussion https://community.nxp.com/message/1143521?commentID=1143521&et=watches.email.thread#comment-1143521

>

0 Kudos