cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get example of playing WAV file in micro sdcard and DAC on stm32f4 discovery board?

hukhongcongtu26111993
Associate II
Posted on February 23, 2017 at 03:35

Hello! I want to use STM32 cube mx and stm32f4 discovery board to play WAV(or other format) file in micro sdcard use DAC of stm32. I search on google but don't have result. Can anyone help me? Thanks.

3 REPLIES 3
Max
ST Employee
Posted on February 23, 2017 at 04:18

Hello,

did you check the projects in

\Projects\STM32F4-Discovery\Applications\Audio\Audio_playback_and_record

and 

\Projects\STM32F4-Discovery\Examples\DAC\DAC_SignalsGeneration

in the STM32Cube_FW_F4 directory?

regards,

Max

Posted on February 23, 2017 at 09:12

Yep. I did it. but I want from SD card to DAC only. not use I2S or CS43L22. 

Posted on February 23, 2017 at 14:16

Then at this point, you may need to dirty your hand a bit and merge the 2 examples.

Sending the data to the DAC instead of the I2S is not that difficult...