Reading audio from CN11 jack connector on 32F746GDISCOVERY
Hello, is there any example available that implements audio reads from the from CN11 jack connector on 32F746GDISCOVERY board?
Hello, is there any example available that implements audio reads from the from CN11 jack connector on 32F746GDISCOVERY board?
I solved looking into this very thorough video: https://www.youtube.com/watch?v=O2XaCFsWxSw&t=1272s&ab_channel=PizzaBeerEngineering and its associated repo: https://github.com/bootladder/audioprocessor for the STM32F769 Discovery board. I have set up a fork of the original that implements a simple pass-through on the 32F746GDISCOVERY: https://github.com/zanellia/audioprocessor.
Note: Note: Just in case someone else finds this useful, I figured that a simple pass-through can be obtained adapting https://github.com/STMicroelectronics/STM32CubeF7/blob/master/Projects/STM32746G-Discovery/Examples/BSP/Src/audio_loopback.c from the STM32Cube repo. It mostly requires changing this line https://github.com/STMicroelectronics/STM32CubeF7/blob/master/Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_audio.c#L893 such that it allows
INPUT_DEVICE_INPUT_LINE_1
too and fix the gain of the wm8994 codec here https://github.com/STMicroelectronics/STM32CubeF7/blob/master/Drivers/BSP/Components/wm8994/wm8994.c#L310 from 0x0035 to 0x0025 (both right and left channel).
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.