Page 2 of 2

Re: STM32F4 Discovery MP3 player working - with source code

Posted: Fri Jun 15, 2012 7:20 am
by Marko
Hi, I've just installed this on my new discovery board, seems to work great :)


At first I thought it wasn't working, as it seems it only plays files in the root dir.
I'm used to bare metal so I need to figure out chibios a bit.. need to rig up a display, and hopefully some sort of search function, or folder play at least...

anyway, thanks for the code...

Re: STM32F4 Discovery MP3 player working - with source code

Posted: Sat Jul 07, 2012 1:13 pm
by mr_michael_s
I would like to get my music files from USB-memory-stick instead of the SD card. Has anybody a good clue how to implement USB mass storage with the STM32f4 discovery and ChibiOS ?

Thanks

Michael

Re: STM32F4 Discovery MP3 player working - with source code

Posted: Sat Jul 07, 2012 1:45 pm
by Giovanni
ChibiOS does not support an USB host capability, it is device only so far. Your best option is to integrate the ST USB host library with ChibiOS.

Giovanni

Re: STM32F4 Discovery MP3 player working - with source code

Posted: Sat Jul 07, 2012 11:21 pm
by mr_michael_s
Ah, thanks.
I had not been aware that it's device only....


Michael

Re: STM32F4 Discovery MP3 player working - with source code

Posted: Sat Feb 09, 2013 3:44 pm
by alexblack
Hi, I was able to play MP3 files on my STM32F103 MCU at 72Mhz on internal DAC. All works fine, sound is pretty, CPU can play 320kbs without problems.
Thank you for sample.

Re: STM32F4 Discovery MP3 player working - with source code

Posted: Wed May 08, 2013 2:37 am
by Stew C
I loaded the prebuilt binary to my board and have the orange light blinking but cannot get any sound. I wired up my SD card exactly as it says in the main.c file. I also tried adding pull-up resistors to the data lines but to no avail. I am using a 1GB SD card with the .mp3 files in the root directory. Anyone have any advice? My RS-232 is coming in the mail tomorrow so I can hook up the UART lines and hopefully see what the problem is.