Audio on STM32F4_DISCOVERY
Posted: Sat Jan 09, 2016 7:38 pm
Hello everyone,
I've seen that Erika seems to support the audio features of the STM32F4 Discovery board indeed:
-for the library "STM32F4_DISCOVERY" it is possible to set the option "USEAUDIO = TRUE;" in the oil config file
-and in the folder "Erika_SVN/contrib/st/STM32F4-Discovery" there are the files "inc/stm32f4_discovery_audio_codec.h" and "src/stm32f4_discovery_audio_codec.c"
I've tried to follow the instructions written in "stm32f4_discovery_audio_codec.c" to playout some sound but I didn't succeed... Does anyone have some code examples? I'm interested both in sound playback and sound acquisition from the microphone.
Thanks in advance!
I've seen that Erika seems to support the audio features of the STM32F4 Discovery board indeed:
-for the library "STM32F4_DISCOVERY" it is possible to set the option "USEAUDIO = TRUE;" in the oil config file
-and in the folder "Erika_SVN/contrib/st/STM32F4-Discovery" there are the files "inc/stm32f4_discovery_audio_codec.h" and "src/stm32f4_discovery_audio_codec.c"
I've tried to follow the instructions written in "stm32f4_discovery_audio_codec.c" to playout some sound but I didn't succeed... Does anyone have some code examples? I'm interested both in sound playback and sound acquisition from the microphone.
Thanks in advance!