cancel
Showing results for 
Search instead for 
Did you mean: 

a low-price micro STM32 to read .mp3 file from SD Card ?

MBertocchi
Associate II

Hello friends,
I write this post to ask for a hand in choosing a low -price micro stm32 that can read an .mp3 file from an SD card. The customer wants a really low cost and therefore I cannot go to use microcontroller with 100 pins, but I have to use a really cheap micro that gives me the opportunity to read a .mp3 file from SD. I ask for your willingness to help me!

14 REPLIES 14

@MBertocchi wrote:

can you tell me exactly if I should use SPI or SDIO? 


That's entirely up to you - use whichever fits best with your particular project requirements!

>>What is the SDIO port used for?

The High Speed, 4-bit, peripheral to drive SDMMC cards or eMMC chips.

When you need MBytes/s rather than just MBits/s

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

Hello,

Please check, but I have in memory the STM32G4xx has no SDIO interface.

LCE
Principal

And another thing:

So you read an mp3 file from SD-card - that's all you told us until now.

Be precise in your requests...

So you also want some audio output - but don't forget that inbetween file reading and DAC output you must decode mp3 data to something a (probably very cheap, or even the internal) DAC can understand.
So better check for some libraries for decoding, and which STM32 can handle that.

Andrew Neil
Evangelist III

@MBertocchi wrote:

 really cheap 


If that's your key concern, note that there are cheap chips & modules which do SD-Card MP3-to-audio direct; eg,

https://www.aliexpress.com/item/1005005212215899.html

https://www.amazon.co.uk/DollaTek-Lossless-Decoders-Decoding-Amplifier/dp/B07M6JWMH6