Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

netdruinofreak

Member Since 26 Jun 2011
Offline Last Active Sep 29 2011 03:44 PM
-----

Posts I've Made

In Topic: So how does the SD card stuff work anyway?

26 September 2011 - 04:31 PM

Hi Chad,
I am also trying to create an MP3 player using Netduino with an MP3 shield+SD card.
http://www.sparkfun.com/products/10628

However, I can't seem to get the audio to come out. The shield works with my Arduino. When I port the code over to Netduino It did not work. Can you share your set up for the VS1053 (MODE, CLOCK, VOL, etc...)?

I have spent many long nights and weekends without any luck.

Regards,
Richard


I have been trying to get a VB1053 (an MP3 decoder) to play an MP3 file I'm loading off of an SD card on a Netduino (not the Plus). And while it "works" I get an audible clicking sound during playback that I'm guessing is because I'm talking to both the SD card and the VM1053 of the same SPI bus. Even when I try to make everything happen sequentially, (read bytes from SD card, play bytes, read more, play more, etc.) I get the same audio glitch. No matter what I set my buffer size to, the glitch is exactly the same, meaning if I buffer 1k or 20k it's exactly the same.

So, I'm just guessing, but it seems to me the StorageDevice's buffer is being filled asynchronously by the Netduino, and it's cutting into the SPI causing the glitch. Could this be true? Any other ideas/suggestions of what to do next?

I should note, I'm very very new at working with microcontrollers.

Thanks for any help,

Chad


In Topic: Spi prblems with vl1053 (mp3 decoder) - SOLVED

19 September 2011 - 11:12 PM

All problems solved, re-wrote chip select functions using built in instead of manual control. Now, music flows and life is good :)

Thanks for all the help!


Hanzibal,
I got the MP3 shield with the SD card. I am trying get the audio to play with the VS1053. I cannot seem to get audio to output. What is you VS1053 setup (MODE, CLOCK, etc...)

I am able to open a file and stream the data via SPI but the audio is not coming out. I just ordered another MP3 shield (just in case I have a bad one).

Please help. Thank you.

Richard

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.