Skip to main content
Grodriguez
Associate III
January 13, 2020
Solved

Speaker output in STM32MP157C-EV1 board

  • January 13, 2020
  • 2 replies
  • 1245 views

Hello all,

I am trying to use the SPEAKER_OUT connector in the STM32MP157C-EV1 board to play sound using a set of regular 8 Ohm (non-amplified / passive) loudspeakers.

I am configuring the wm8994 to enable the SPKOUTL/RP path as described here: https://wiki.st.com/stm32mpu/wiki/Soundcard_configuration#Wolfson_wm8994_output_configuration

When I play a sound file via ALSA (using aplay), the sound signal is very weak. I can hear the sound if I connect a headphone set to the SPEAKER_OUT connector, but not if I connect the regular loudspeakers.

If I am reading the wm8994 datasheet correctly, the SPKOUT path includes a 2W amplifier. Do I have to do anything else in order to enable it?

BR,

Guillermo

This topic has been closed for replies.
Best answer by PatrickF

Hi,

on the STM32MP157C-EV1 board, the Speaker jack is wired to SPKOUTxP outputs only (AC coupled single-ended with medium impedance), to allow a connection to an external amplifier (e.g. line input). It is not possible to connect low impedance differential speaker directly.

If you do your own board, WM8994 allow connection of regular speaker(s) to SPKOUTxP/SPKOUTxN as described in WM8994 documentation.

2 replies

PatrickF
Technical Moderator
January 13, 2020
In order to give better visibility on the answered topics, please click on 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent
Grodriguez
Associate III
January 13, 2020

Hi PatrickF,

No, I am already configuring the wm8994 as described in that post (which is the same info that was later added to the wiki, here: https://wiki.st.com/stm32mpu/wiki/Soundcard_configuration#Wolfson_wm8994_output_configuration)

I do get sound output on the SPEAKER OUT pins, but the signal is so weak (actually barely audible) that it looks like the wm8994 amplifier is NOT enabled. Any hints???

Guillermo

PatrickF
PatrickFBest answer
Technical Moderator
January 13, 2020

Hi,

on the STM32MP157C-EV1 board, the Speaker jack is wired to SPKOUTxP outputs only (AC coupled single-ended with medium impedance), to allow a connection to an external amplifier (e.g. line input). It is not possible to connect low impedance differential speaker directly.

If you do your own board, WM8994 allow connection of regular speaker(s) to SPKOUTxP/SPKOUTxN as described in WM8994 documentation.

In order to give better visibility on the answered topics, please click on 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent
Grodriguez
Associate III
January 14, 2020

Clear, thank you.