2016-11-20 05:50 AM
Hi,
I'am trying to get the audio from WM8994 line input.The BSP driver seems rather incomplete, it works with the 4 mems mics but not with the line input from the codec.Is there somewhere any source code example for that ? anyone facing the same problem ?I can share some code that tries to do playback from line in to headphone out if someone interested.RegardsFrancois #stm32f769i-disco-audio-wm89942016-11-21 12:47 AM
Hello,
You can refer to the example under in the path: \STM32Cube_FW_F7_V1.5.1\Projects\STM32F769I-Discovery\Applications\Audio\Audio_playback_and_recordYou can check how this example was implemented and get inspiration to develop your application, it may helps you. You find more details on how to use the example in the readme.txt file.Here is the STM32746G-Discovery user manual to have more information about Audio hardware features on the board.You can share your application in our forum, it may be very helpful for Community users. Regards2016-11-21 04:49 AM
2016-12-06 09:28 AM
Out of curiosity, how noisy is the audio in your line in to headphone out passthrough? That configuration is unusable on the STM32F746 discovery board due to noise, so I've been considering moving to this dev kit for a proof of concept (even though it has more flash and peripherals than I need). Thanks.
2016-12-08 07:34 AM
Unfortunatly i have the same problem, it's very noisy...
2017-01-08 05:18 PM
Did you change the ISR handlers as well (looks like you might be using DMA2_Stream4_IRQHandler)? I've been attempting to get the passthrough going with your changes but haven't had much luck yet. Any chance you could share those changes as well if so? Thanks.
2017-01-08 06:47 PM
Never mind. I figured it out and I was missing
void DMA2_Stream4_IRQHandler(void)
{
HAL_DMA_IRQHandler(haudio_in_sai.hdmarx);
}
void DMA2_Stream1_IRQHandler(void)
{
HAL_DMA_IRQHandler(haudio_out_sai.hdmatx);
}�?�?�?�?�?�?�?�?�?
Thanks.
2017-03-06 01:19 PM
Hi Guys, will really appreciate if you can post whole working zipped project , struggling since months to get analog MIC work. Really appreciate Thanks
2017-03-24 12:05 AM
Hi,
Thanks for the code. It works perfectly fine for Line in input and headphone output. However, I noticed that it is not working for speaker output. I tried changing the output device to OUTPUT_DEVICE_SPEAKER as well as gave CODEC_AUDIOFRAME_SLOT_13. What am I missing here?
2017-04-04 05:55 PM
Hello,
i would be very grateful for a copy of this project, i am struggling to get audio to work on the STM32F769I-Disco....
many thanks in advance!