SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By douglaskbell
#191410
Can uncompressed MP3 audio data be sent from Arduino board, by SPI, to Sparkfun MP3 Player shield instead of from the SD card on the Player shield?

Instead of using SD card on Player board, I want to send the compressed MP3 data from a Particle Photon board on the Particle shield shield, by SPI, to the VS1053B codec chip on Player board, and then to amplifier for speakers.

Particle Shield Shield is attached to Particle Photon board, which has STM32F205RGY6 120Mhz ARM Cortex M3.

Particle Photon board uses its WiFi to receive uncompressed MP3.
By skimask
#191418
douglaskbell wrote:Can uncompressed MP3 audio data be sent from Arduino board, by SPI, to Sparkfun MP3 Player shield instead of from the SD card on the Player shield?

Instead of using SD card on Player board, I want to send the compressed MP3 data from a Particle Photon board on the Particle shield shield, by SPI, to the VS1053B codec chip on Player board, and then to amplifier for speakers.

Particle Shield Shield is attached to Particle Photon board, which has STM32F205RGY6 120Mhz ARM Cortex M3.

Particle Photon board uses its WiFi to receive uncompressed MP3.
Wha-What?
User avatar
By robertsonics
#191435
The VS1053 expects to receive the contents of an MP3 file which is compressed. It uncompresses it on the fly and produces analog audio. The data doesn't need to be from an SD card. However, it does require that you deliver the compressed data fast enough to prevent the VS1053's buffer from under-running, which will produce audible clicks and pops. As long as you can keep up with it's demand for more data (determined by both the bit rate and sample format) it won't care where it's coming from.