VS1053 reading MP3 data from SD card

Designing hardware that use VLSI Solution's devices as the system controller for the entire design.
Post Reply
cjf12harry
User
Posts: 5
Joined: Thu 2012-05-17 3:30

VS1053 reading MP3 data from SD card

Post by cjf12harry » Thu 2012-05-17 4:31

VS1053 Schemetic.jpg
VS1053 Schemetic.jpg (196.3 KiB) Viewed 3515 times
My application : an MP3 player
Microcontroller: PIC18F
Music Data Storage: SD card

My question:
Can the VS1053 read data directly from SD card?

More elaboration:
I saw many application examples on the VLSI website, for example the Hifi USB player. They used a micro-controller to read in music data from the SD card and pass it to VS1053 for decoding. In this application, the FAT file system is programmed to the microcontroller.

Is it possible to feed the music data directly from SD card to VS1053 chip? In that case, how to establish the file system on the VS1053 chip? How to program the chip without the evaluation board? The datasheet does not mention anything concerning the internal programming of the chip, could you direct me relevant resources?

I attach the pre-designed schematic for you reference. Thank you.
VS1053 Schemetic.jpg
VS1053 Schemetic.jpg (196.3 KiB) Viewed 3515 times

User avatar
Panu
VLSI Staff. Currently on holiday.
Posts: 2681
Joined: Tue 2010-06-22 13:43

Re: VS1053 reading MP3 data from SD card

Post by Panu » Tue 2012-06-26 17:51

Hi!

The HiFi player and the Stand-Alone Player both connect the SD card directly without a microcontroller. So yes it's possible.

VS1053 does not contain any flash memory: the program that the HiFi player or the Stand-Alone player is running is loaded from an external SPI flash (25LC640 or bigger) to RAM inside the VS1053 during boot, and executed from the RAM.

It's possible to develop the software with VSIDE. VSIDE contains templates "3-button player" and "HiFi player" than can be used as the starting point. Or you can use the "Stand-Alone player" software even without any modifications. It is here: http://www.vlsi.fi/en/support/evaluatio ... board.html

External prommer or VSIDE or RS-232 cable to your unit can be used to burn the boot flash.

The SD card connections in the schematic should be similar to the HiFi player's and the Stand-Alone player's SD card connection to the VS1053.

-Panu
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

arlaor
User
Posts: 7
Joined: Tue 2019-04-23 21:54

Re: VS1053 reading MP3 data from SD card

Post by arlaor » Wed 2019-05-08 19:00

Panu wrote:
Tue 2012-06-26 17:51
Hi!

The HiFi player and the Stand-Alone Player both connect the SD card directly without a microcontroller. So yes it's possible.

VS1053 does not contain any flash memory: the program that the HiFi player or the Stand-Alone player is running is loaded from an external SPI flash (25LC640 or bigger) to RAM inside the VS1053 during boot, and executed from the RAM.

It's possible to develop the software with VSIDE. VSIDE contains templates "3-button player" and "HiFi player" than can be used as the starting point. Or you can use the "Stand-Alone player" software even without any modifications. It is here: http://www.vlsi.fi/en/support/evaluatio ... board.html

External prommer or VSIDE or RS-232 cable to your unit can be used to burn the boot flash.

The SD card connections in the schematic should be similar to the HiFi player's and the Stand-Alone player's SD card connection to the VS1053.

-Panu

Hi Panu

I'm trying to build a board that includes a VS1053 module and an ESP32-WROVER module and I need to leave open the possibility of connecting in the future, an SD module of these https://www.adafruit.com/product/254. my questions is: in addition to the PSRAM that has the ESP32 WROVER (4MB / 8MB), it is necessary to add more PSRAM or dedicate a PSRAM chip to the VS1053 to play .aac files from SD CARD?.
Another question:
I have seen that the following pins are used to connect the SD MMC module:
VS1053 / SD CARD
9 DCLK / DO
8 DREQ / DI
10 GPIO3 / SCLK
34 GPIO1 / CS
Can I leave these pins directly connected to header pin connectors without placing 100K resistors to GND between the pins of the VS1053 and the header pin connectors? or should I solder these resistors so that it does not generate a malfunction of the VS1053 while the SD CARD module is not connected to header pin connectors?
Thanks Panu

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

Re: VS1053 reading MP3 data from SD card

Post by pasi » Thu 2019-05-09 9:46

If it's all the same to you, I would recommend vs1063a, it has a slightly faster HE-AAC decoder.

- vs10xx has no access to PSRAM, it can only use what's internal.
- It is highly recommended to have pull-down on GPIO1 - vs1053b has a real-time MIDI mode, which gets activated on boot if GPIO0 is low and GPIO1 is high. (If GPIO1 is floating, its state varies - simply moving a hand closer could flip the state.) It's not an issue when GPIO0 has a pull-up in normal operation, but can make programming and reprogramming harder.
- When you have SD card connected, you also need a pull-up on the SD data output (DCLK/GPIO2), because it uses open-drain drive.
- Other pull-downs mainly prevent the SD card from getting confused on power-up.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

arlaor
User
Posts: 7
Joined: Tue 2019-04-23 21:54

Re: VS1053 reading MP3 data from SD card

Post by arlaor » Thu 2019-05-09 13:01

pasi wrote:
Thu 2019-05-09 9:46
If it's all the same to you, I would recommend vs1063a, it has a slightly faster HE-AAC decoder.

- vs10xx has no access to PSRAM, it can only use what's internal.
- It is highly recommended to have pull-down on GPIO1 - vs1053b has a real-time MIDI mode, which gets activated on boot if GPIO0 is low and GPIO1 is high. (If GPIO1 is floating, its state varies - simply moving a hand closer could flip the state.) It's not an issue when GPIO0 has a pull-up in normal operation, but can make programming and reprogramming harder.
- When you have SD card connected, you also need a pull-up on the SD data output (DCLK/GPIO2), because it uses open-drain drive.
- Other pull-downs mainly prevent the SD card from getting confused on power-up.
Hi pasi, thanks for you recommend
On my hands I have vs1053b and I want know if is possible make work the idea with sd card and Esp32 wrover
For my country, Colombia, vs1063 isn't find in sale or import for high cost.
What is the recommendation for my question with vs1053?

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

Re: VS1053 reading MP3 data from SD card

Post by pasi » Thu 2019-05-09 16:21

The list is for vs1053 and when working with SD cards in general.

Also make sure you have good enough powering for the SD card. New cards can draw a lot of power.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

arlaor
User
Posts: 7
Joined: Tue 2019-04-23 21:54

Re: VS1053 reading MP3 data from SD card

Post by arlaor » Thu 2019-05-09 16:33

pasi wrote:
Thu 2019-05-09 16:21
The list is for vs1053 and when working with SD cards in general.

Also make sure you have good enough powering for the SD card. New cards can draw a lot of power.
Hi pasi

then use the vs1053b for this project would be a waste of time for the problems that would be generated when using it with an SD CARD module, is it correct?

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

Re: VS1053 reading MP3 data from SD card

Post by pasi » Mon 2019-05-13 9:37

arlaor wrote:
Thu 2019-05-09 16:33
then use the vs1053b for this project would be a waste of time for the problems that would be generated when using it with an SD CARD module, is it correct?
As I see it, I listed design considerations, not problems.

If you use SD cards, you need to take into account things that are relevant when using SD cards - the physical interface and powering.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

Post Reply