Skip to main content
Visitor II
July 27, 2020
Question

How to Upload some audio file .WAV . to STM32f030C8t6 controller

  • July 27, 2020
  • 4 replies
  • 1938 views

How to Upload some audio file .WAV . to STM32f030C8t6 controller based on memory capacity. Which is the right tool use to upload WAV file into flash memory and how to send it through UART commands.

My Actual Application is Upload WAV file to MCU and certain time need send that uploaded file to GSM module thorough AT Commands.

    This topic has been closed for replies.

    4 replies

    Super User
    July 27, 2020

    You can extend the memory using SPI flash or RAM chips or a SD card in SPI mode.

    Note that .wav is a container format which can hold different types of audio data. So you should restrict the type of audio you support, e.g. 16-bit unsigned PCM data.

    Sn.17Author
    Visitor II
    July 27, 2020

    how to upload those WAV file into External memory

    Super User
    July 27, 2020

    You have to implement that.

    Graduate II
    July 27, 2020

    If you implement protocol and flashing code on the STM32 you could us a Terminal application and send file with X-Modem type implementation.

    If you coded an external loader you might be able to use STM32 Cube Programmer​

    Visitor II
    July 27, 2020

    If you have choice to add SD card to your project, and your MCU support USB, you can access ​SD card through USB storage class and send files from PC to SD card. then you can use FATFS in MCU side to read SD card and use your audio.