Problems with VS1053B Board

Writing software that inputs and/or outputs audio and performs DSP algorithms such as filters, new codecs or audio effects.
alex123
User
Posts: 2
Joined: Sun 2012-02-19 19:17

Problems with VS1053B Board

Postby alex123 » Sun 2012-02-19 19:42

I'm working on a simple board that will play MP3 files. I bought the LCSOFT board that has the VS1053B on it -http://www.virtualvillage.com/development-board-for-vs-1053-mp3-module-decoder-bu2001-028.html

I can communicate with the chip but the chip refuses to even generate the test sine wave.
I pretty much read all the posts about VS1053 and verified all the signals sevferal times. Verified 3.3V and 1.8V regulators on the board. Tried the SDI shared mode first. Then added the XDCS line - nothing. After the hardware reset I only hear a loud click in the speakers - that's all. I'm stuck. I'd appreciate any help.

The SCI registers after reset
0x00: 0x4890
0x01: 0x0048
0x02: 0x0000
0x03: 0x0000
0x04: 0x0000
0x05: 0xac45
0x06: 0x0000
0x07: 0x0000
0x08: 0x0000
0x09: 0x0000
0x0a: 0x0000
0x0b: 0x0000
0x0c: 0x0000
0x0d: 0x0000
0x0e: 0x0000
0x0f: 0x0000

After my initialization
0x00: 0x48b0 // test mode enabled
0x01: 0x0040
0x02: 0x0000
0x03: 0x8301
0x04: 0x0000
0x05: 0xac45
0x06: 0x0000
0x07: 0x0000
0x08: 0x0000
0x09: 0x0000
0x0a: 0x0000
0x0b: 0x4040
0x0c: 0x0000
0x0d: 0x0000
0x0e: 0x0000
0x0f: 0x0000

Here is the sequence to start the sine test mode
VS_XDCS_0;
SDI_Write(0x53);
SDI_Write(0xef);
SDI_Write(0x6e);
SDI_Write(0x7e);
SDI_Write(0x0);
SDI_Write(0x0);
SDI_Write(0x0);
SDI_Write(0x0);
VS_XDCS_1;

Thanks,
Alex

User avatar
pasi
VLSI Staff
Posts: 1279
Joined: Thu 2010-07-15 16:04

Re: Problems with VS1053B Board

Postby pasi » Mon 2012-02-20 9:58

alex123 wrote:0x05: 0xac45


VS1053b on your board seems to be booting into real-time MIDI mode (samplerate 44100Hz). You should pull GPIO0 and GPIO1 low to prevent that.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

alex123
User
Posts: 2
Joined: Sun 2012-02-19 19:17

Re: Problems with VS1053B Board

Postby alex123 » Tue 2012-02-21 2:27

You're right! The board I bought doesn't have a pull-down res on pin 34 (GPIO1). It only has 100k on GPIO0. I just shorted pin 33 and 34 and it started to work. 8-)
I appreciate your help.

GoForSmoke
User
Posts: 4
Joined: Wed 2013-05-22 1:19

Re: Problems with VS1053B Board

Postby GoForSmoke » Wed 2013-05-22 1:38

Sorry, I didn't see this when I checked my posts last time so I thought it was lost.
Last edited by GoForSmoke on Thu 2013-05-23 23:10, edited 1 time in total.

GoForSmoke
User
Posts: 4
Joined: Wed 2013-05-22 1:19

Re: Problems with VS1053B Board

Postby GoForSmoke » Thu 2013-05-23 3:47

I also have LCSOFT VS1053 and VS1003 boards and sing the frustration blues real bad!

The examples I see and try to modify into working are for the Sparkfun and other breakout boards.
When Pasi tells to pull 2 pins LOW and Alex says it works I get this idea that those 2 pins have a circuit on the LCSOFT module that is not the same on the others and just maybe changes to how I use those pins is all that I need, too.

I am not an engineer, just an old hobbyist that used to write code to pay the bills. But I know a bit more hardware than just changing lights. Still, here I am. Stuck!

If there is anything I need to do to get answers then just tell me! I've never even tried to read the registers before, or should I say yet?

I've also been looking the VS1000 Audio Module over. Now I'm trying to find people who will buy 70 or 80 of those if I buy 100. Wish me luck!

Neal Orr

jayanthd
User
Posts: 3
Joined: Wed 2016-03-23 12:27

Re: Problems with VS1053B Board

Postby jayanthd » Wed 2016-03-23 12:28

Hi

I have LC Soft MP3 Player module. Please tell me which two pins I have to short or what modification I have to do so that it plays MP3 files ?

User avatar
pasi
VLSI Staff
Posts: 1279
Joined: Thu 2010-07-15 16:04

Re: Problems with VS1053B Board

Postby pasi » Wed 2016-03-23 13:10

VS1053b boots in real-time MIDI mode if GPIO0 is low and GPIO1 is high. To prevent this, either pull down GPIO1 or pull up GPIO0 (or pull down both or pull up both).
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

jayanthd
User
Posts: 3
Joined: Wed 2016-03-23 12:27

Re: Problems with VS1053B Board

Postby jayanthd » Wed 2016-03-23 13:47

Can you please show which pins are GPIO0 and GPIO1 ? I don't see any where on the board where it is mentioned GPIOx.

User avatar
Henrik
VLSI Staff
Posts: 979
Joined: Tue 2010-06-22 14:10

Re: Problems with VS1053B Board

Postby Henrik » Wed 2016-03-23 14:17

jayanthd wrote:Can you please show which pins are GPIO0 and GPIO1 ? I don't see any where on the board where it is mentioned GPIOx


I'm not familiar with the LCSOFT board, but Googling with words "lcsoft vs1053b board" lead me to this page:
http://www.bajdi.com/lcsoft-vs1053-mp3-module/

Is this the same as your board? If so, there is the solution for you because the author had exactly the same problem as you have. Even better, the page actually links to this very discussion thread!

So, in this case, solder VS1053b pins 33 (GPIO0) and 34 (GPIO1) together. You get the VS1053b pin order from the VS1053b Datasheet, available at http://www.vlsi.fi/en/products/vs1053.html .

(Oh, I just noticed you'va asked the same question there, too.)

Kind regards,
- Henrik
Good signatures never die. They just fade away.

jayanthd
User
Posts: 3
Joined: Wed 2016-03-23 12:27

Re: Problems with VS1053B Board

Postby jayanthd » Wed 2016-03-23 14:30

I have seen that page but I don't see anywhere where it mentiones GPIO0 and GPIO1 pins that is please somebody show the two pins.


Return to “DSP and Audio Software”

Who is online

Users browsing this forum: No registered users