speaker output in STM32MP157C-EV1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-07 2:54 AM
HI, All.
I would like use speaker output in STM32MP157C-EV1. I revised the wiki but there aren't references about how play audio with speaker output. Is it enable speaker output to this board? Is it possible enable this output to play audio?
Regards!
Alex.
Solved! Go to Solution.
- Labels:
-
Audio
-
ST-Boards
-
STM32MP15 Lines
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-12 5:52 AM
Working alsa config for EV1:
amixer -c 0 cset name='AIF1DAC1 Volume' '96' '96'
amixer -c 0 cset name='DAC1L Mixer AIF1.1 Switch' 'on'
amixer -c 0 cset name='DAC1R Mixer AIF1.1 Switch' 'on'
amixer -c 0 cset name='DAC1 Switch' 'on','on'
amixer -c 0 cset name='DAC1 Volume' '96','96'
amixer -c 0 cset name='SPKL DAC1 Volume' '50' '50'
amixer -c 0 cset name='SPKR DAC1 Volume' '50' '50'
amixer -c 0 cset name='SPKL DAC1 Switch' 'on'
amixer -c 0 cset name='SPKR DAC1 Switch' 'on'
amixer -c 0 cset name='SPKL Output Switch' 'on'
amixer -c 0 cset name='SPKR Output Switch' 'on'
amixer -c 0 cset name='Speaker Mode' 'Class AB'
amixer -c 0 cset name='Speaker Volume' '50' '50'
amixer -c 0 cset name='Speaker Mixer Volume' 3
amixer -c 0 cset name='Speaker Reference' 0
amixer -c 0 cset name='Speaker Switch' 'on'
This use case will be added to wiki:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-07 3:03 AM
Speaker is not enabled in our examples deliveries. Need to change some Codec driver configuration.
See https://wiki.st.com/stm32mpu/wiki/Audio_codecs_hardware_components#Wolfson_wm8994
and STM32MP15 evaluation board sound card configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-12 5:52 AM
Working alsa config for EV1:
amixer -c 0 cset name='AIF1DAC1 Volume' '96' '96'
amixer -c 0 cset name='DAC1L Mixer AIF1.1 Switch' 'on'
amixer -c 0 cset name='DAC1R Mixer AIF1.1 Switch' 'on'
amixer -c 0 cset name='DAC1 Switch' 'on','on'
amixer -c 0 cset name='DAC1 Volume' '96','96'
amixer -c 0 cset name='SPKL DAC1 Volume' '50' '50'
amixer -c 0 cset name='SPKR DAC1 Volume' '50' '50'
amixer -c 0 cset name='SPKL DAC1 Switch' 'on'
amixer -c 0 cset name='SPKR DAC1 Switch' 'on'
amixer -c 0 cset name='SPKL Output Switch' 'on'
amixer -c 0 cset name='SPKR Output Switch' 'on'
amixer -c 0 cset name='Speaker Mode' 'Class AB'
amixer -c 0 cset name='Speaker Volume' '50' '50'
amixer -c 0 cset name='Speaker Mixer Volume' 3
amixer -c 0 cset name='Speaker Reference' 0
amixer -c 0 cset name='Speaker Switch' 'on'
This use case will be added to wiki:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-12 7:19 AM
Hi, Bernard!
Perfect, I've done a quick test and I can now play sound through the speakers.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-13 5:00 AM
I have done some test. I've increased the volume of SPKL,SPKR and Speaker to 100%
I have checked that the sound through the speaker output is lower than the headphone output, It doesn't make sense...
Is there any other general/specific control to increase the output volume of the speakers?
Thanks!
