VS1063-Attempt

This library attempts to get basic functionality out of a VS1063 chip. Pin assignments here will also reference the Sparkfun BreakoutBoard.

Example Pin Assignments

MBEDVS1063SpeakersSD Card
GNDGNDGND
p5DI
p6DO
p7SCK
p8CS
p11SI
p12SO
p13SCLK
p15RST
p16DREQ
p17BSYNC
p18CS
VUVCC
VOUTVCC
LEFTTIP
RIGHTRNG
GBUFGND

Differences between VS1053 and VS1063

The VS1063 is pin compatible with the VS1053, meaning that any program that uses a 1053 chip should be able to replace it with a 1063 without needing to change the pins. Other changes include:

  • Addition of encoding for MP3, Ogg Vorbis, and more
  • Simultaneous encoding and decoding
  • Updated MP2 and MP3 decoders
  • Ability to use CRC
  • Increased internal clock speed ( 55.3MHz to 67.6MHz )
  • Added a pause mode for the player
  • Added 2 channel FLAC decoding
  • Added Speed shifter and AD and PCM mixers
  • Some changes to the register interface.

For a full list of changes, check here

Example Libraries

We were unable to get functionality from the 1063 chip. We tried porting a number of different 1053 libraries and example programs, including:

Showing Our Attempt

This video shows the basic layout of the board and then one of our running examples. This example is supposed to do simple chip initialization, then read an MP3 file off of the SDcard. This file is sent to the VS1063 and should be played over the speakers. However, this does not occur. Instead, once the chip initialization in finished, the static coming over the speakers is eliminated. Then, when it is supposed to begin playing the MP3 file, it skips to the code that runs after the video is finished without sending any noise over the speakers.

Possible Problems

  • Some problems may be occurring with the change in register numbering. This could cause the mbed to attempt communication with a register that does not perform the function that it expects.
  • A method of changing the volume levels of the output has changed and the code may be unable to effectively control this level.
  • Many memory addresses have changed between the two chips, so any specific accesses to memory will likely not work.
  • A common occurrence during testing was that writing to the SPI bus of the VS1063 would lock use of the mbed until it was powered off.


1 comment on VS1063-Attempt:

25 Feb 2016

Any code for this one please?

Please log in to post comments.