Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to use vs1011 decoder?

Status
Not open for further replies.

shreyas_patel21

Full Member level 3
Joined
Jan 4, 2011
Messages
181
Helped
15
Reputation
30
Reaction score
14
Trophy points
1,298
Activity points
2,325
Hi all,

I am planning to use vs1011 decoder to play some mp3 using any microcontroller like pic or avr.

I read the datasheet of vs1011 but I am confusing how to use this decoder.

what is the sequence commands that we should send to vs1011 using SPI?
Or should we send mp3 file directly using SPI?

I mean there must be some sequence of commands that tells vs1011 to start decoding and all..

I hope my question is understandable..


thank you
 
Last edited:

it is a time ago when I read the datasheet of the vs1011, but it is a little bit like this:

the vs1011 has a buffer where you can send the file to it. the vs1011 gives a signal to the microcontroller if the buffer is full. In that case you need to stop the datastream. That is because the time to decode and playback is much slower than you can send data. So it is possible to get the data from a mass storage device, and send it by your microcontroller to the vs1011. The disadvantage is that the whole mp3 file is passes the microcontroller.

It is also possible to connect the vs1011 directly to your mass storage device. Then, you only need to select the correct memoryblock from your memory and you only need to clock. The data goes direct into the vs1011.

Maybe if the buffer is full it's starts to decode, maybe you need to set a bit in one of the registers. I don't know, but it is probably easier than you actually think.

Hope this wil help.
 

tahnk you weller,

have you used it before?

if yes then can you try to read datasheet again and help me regarding this?
 

Hi,

I used VLSI 1011 chips before, they are a bit hard to get starting, but once you got it it's pretty straight forward.

Are you developing board or using proven design board and developing codes?

There is no major INT command, you read the MP3 hex and shift it to VLSI, it can take only 32-byte, then it will give High on one pin, then you stop a while then shift again, the VLSI will decode the MP3 and give audio output.

Read the MANUAL line by Line, nothing to be missed.

When 1st using my problem was MSB-LSB arrangement, I was reading MSB---LSB and shifting LSB----MSB to VLSI.

Another problem is I use Hardware SPI on MCU to shift the MP3, it would not work nicely, do bit-banging, meaning, you shift each bit to VLSI.

As you might aware there is two SPI port on VLSI, one for control and one for MP3, control is where volume is there, make sure you set the volume to high level.

Use HEX Editor, to see the MP3 hex file and make sure you sent correct sequence.

Now-days we are using 1053, let me know how else I can help

M.Pathma
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top