STM32F4 Discovery MP3 player working - with source code

This forum is about you. Feel free to discuss anything is related to embedded and electronics, your awesome projects, your ideas, your announcements, not necessarily related to ChibiOS but to embedded in general. This forum is NOT for support.
Marko
Posts: 1
Joined: Fri Jun 15, 2012 7:17 am

Re: STM32F4 Discovery MP3 player working - with source code

Postby Marko » Fri Jun 15, 2012 7:20 am

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...

mr_michael_s
Posts: 13
Joined: Sat Jul 07, 2012 1:08 pm

Re: STM32F4 Discovery MP3 player working - with source code

Postby mr_michael_s » Sat Jul 07, 2012 1:13 pm

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

User avatar
Giovanni
Site Admin
Posts: 14457
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: STM32F4 Discovery MP3 player working - with source code

Postby Giovanni » Sat Jul 07, 2012 1:45 pm

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

mr_michael_s
Posts: 13
Joined: Sat Jul 07, 2012 1:08 pm

Re: STM32F4 Discovery MP3 player working - with source code

Postby mr_michael_s » Sat Jul 07, 2012 11:21 pm

Ah, thanks.
I had not been aware that it's device only....


Michael

alexblack
Posts: 276
Joined: Mon Sep 24, 2012 3:52 pm
Location: Donetsk
Been thanked: 32 times
Contact:

Re: STM32F4 Discovery MP3 player working - with source code

Postby alexblack » Sat Feb 09, 2013 3:44 pm

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.

Stew C
Posts: 1
Joined: Mon Apr 29, 2013 8:47 pm

Re: STM32F4 Discovery MP3 player working - with source code

Postby Stew C » Wed May 08, 2013 2:37 am

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.


Return to “User Projects”

Who is online

Users browsing this forum: psyco and 30 guests