cancel
Showing results for 
Search instead for 
Did you mean: 

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

Sn.17
Associate II

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.

5 REPLIES 5
KnarfB
Principal III

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.17
Associate II

how to upload those WAV file into External memory

You have to implement that.

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​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
prain
Senior III

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.