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

Spi prblems with vl1053 (mp3 decoder) - SOLVED


  • Please log in to reply
21 replies to this topic

#21 hanzibal

hanzibal

    Advanced Member

  • Members
  • PipPipPip
  • 1287 posts
  • LocationSweden

Posted 19 December 2011 - 10:13 AM

I had a quick look at the shield you're using and in order for my code to work you have to change the pin assignments:

My pin#____Your shield pin______Netduino pin#
7__________MP3-RST______________8
5__________MP3-DREQ_____________2
8__________MP3-CS_______________6
6__________MP3-DCS______________7

During initial testing I also used a small mp3 file defined as an array in RAM.

As said, remember to set volume and then simply loop the mp3 by repeatedly sending the data using the
WriteData method.

#22 hanzibal

hanzibal

    Advanced Member

  • Members
  • PipPipPip
  • 1287 posts
  • LocationSweden

Posted 19 December 2011 - 10:20 AM

Be sure to call AWaitDReq for every 32 bytes written or else you will overflow the vs1053




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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.