Skip to main content
Visitor II
March 18, 2025
Question

WM8994 Audio Codec on STM32H747i-DISCO

  • March 18, 2025
  • 1 reply
  • 876 views

Hello, 

I am having a difficult time with the WM8994 audio codec inside the STM32H747i-DISCO board, i am able to write to the registers and pass through analog audio through the speakers when avoiding any ADC and DAC signal routing but i am having a difficult time with setting those registers as im not receiving any speaker audio output when going through the mixer. ive tried setting the I2S CKIN as well as PLL clocks to SAI, configuring only SAI1 Tx and RX as well as DMA2 streams 4 and 1 but my audio buffers are empty. i have zero clue what is going on as ive re confirmed all the appropriate register writes are correct and signal paths are enabled. ive looked at the SAI and DMA settings of the BSP audio code and still no luck. 

I provided a link to my github to my main c file only. Please help

 

https://github.com/Johan-Pirsch/ADC_WM8994/blob/main/src/main.c

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    May 16, 2025

    Hello @Jpirsch 

    Please refer to the example below: 

    Projects/STM32H735G-DK/Examples/SAI/SAI_AudioPlay