Skip to main content
hukhongcongtu26111993
Associate III
February 23, 2017
Question

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

  • February 23, 2017
  • 3 replies
  • 929 views
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.

    This topic has been closed for replies.

    3 replies

    Max
    ST Employee
    February 23, 2017
    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

    hukhongcongtu26111993
    Associate III
    February 23, 2017
    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. 

    Max
    ST Employee
    February 23, 2017
    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...