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...
STM32F4 Discovery MP3 player working - with source code
-
- Posts: 13
- Joined: Sat Jul 07, 2012 1:08 pm
Re: STM32F4 Discovery MP3 player working - with source code
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
Thanks
Michael
- 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
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
Giovanni
-
- Posts: 13
- Joined: Sat Jul 07, 2012 1:08 pm
Re: STM32F4 Discovery MP3 player working - with source code
Ah, thanks.
I had not been aware that it's device only....
Michael
I had not been aware that it's device only....
Michael
-
- 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
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.
Thank you for sample.
Re: STM32F4 Discovery MP3 player working - with source code
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.
Who is online
Users browsing this forum: No registered users and 35 guests