2016-09-03 10:15 AM
HI
how can i play audio files with WM8994 and DISCOVER 746 board?thank you2016-09-04 05:58 AM
You'd need to use a software CODEC to convert the WMA, MP3, OGG or whatever into a PCM format that can be pumped to the audio codec.
2016-09-04 06:36 AM
Or a
.2016-09-05 02:16 AM
Hi ghr.hadi,
I recommend you the SAI-Audio'' example in the package located at this path: STM32Cube_FW_F7_V1.4.0\Projects\STM32756G_EVAL\Examples\SAI\SAI_Audio This example uses an audio codec driver wm8994 located at this path STM32Cube_FW_F7_V1.4.0\Drivers\BSP\Components\wm8994. The audio codec driver consists of three independent layers: - Codec Hardware layer: which controls and communicates with the audio codec (WM8994) implemented on the evaluation board. - MAL (Media Access Layer): which controls and interfaces with storage media storing or providing the audio file/stream. - The high layer: which implements overall control and interfacing API allowing to perform basic audio operations (Init, Play, Pause, Resume, Stop, Volume control and audio file pointer management) -Hannibal-2016-09-05 02:55 AM
Hi
thank youdo you have a document for SAI and this cub example?2016-09-05 02:56 AM
thank you
this a last way for me2016-09-05 02:58 AM
thank you too
do you have an library or code for do this?2016-09-05 04:52 AM
Hi ghr.hadi,
Check the SAI (serial Audio interface) parth in the STM32F7 reference manual . The code of example is in the location that I have already mentionned. There is another example in the same package called ''Audio_playback_and_record'' ready for use on STM32746G-Discovery at this path STM32Cube_FW_F7_V1.4.0\Projects\STM32746G-Discovery\Applications\Audio Here is the STM32746G-Discovery user manual . You find in page 15 a description of the Audio hardware and software enviroment. For the example follow the instructions on the readme files. -Hannibal-2016-09-05 07:57 AM
Hi
thank youi can play WAV files now.how can i play .MP3 and .WMA filles too?ST site do not have C code for decode .MP3 and .WMA filles or i can not find it.if you have it please share with me.thank you2016-09-05 08:24 AM
I need this C code
software CODEC to convert the WMA, MP3, OGG or whatever into a PCM format
any one can hellppppppp?thank you