Microcontroller Source Code Examples

These are source code examples that show how to control various VLSI audio ICs as slave decoders/encoders with a microcontroller. The code is written in C to make porting as easy as possible.

Note that these are meant to be used as examples that assist writing your own source code. They might not have all the functionality that is needed for a complete commercial product.

Generic microcontroller examples

These generic microcontroller examples are written in standard C. The few environment-specific parts of the code having to do with SPI bus commutions have not been included.

vs10xx_uc.h

  • Defines symbolic names all user-visible registers their bits for VLSI's current slave decoder ICs.
  • Meant to help when starting a new microcontroller project.
  • Comments on all registers and bits that are available only in some of the ICs.
  • This file has been used for the following Playback and Recording examples.
  • Meant for microcontroller development, not for VS10xx software development with VSIDE.

Modified: 2012-11-27
Version: 1.01
Devices: VS1063, VS1053, VS1033, VS1003, VS1103, VS1011
Download: vs10xx_uc.h

Microcontroller Playback and Recording Example using VS1063

  • Demonstrates using VS1063 as a slave processor
  • See PDF documentation in the package for details

Modified: 2016-05-09
Version: 1.10
Devices: VS1063
Download: vs1063an_playrec.zip

Microcontroller Playback and Recording Example using VS1053

  • Demonstrates using VS1053 as a slave processor
  • See PDF documentation in the package for details

Modified: 2016-05-09
Version: 1.10
Devices: VS1053
Download: vs1053an_playrec.zip

Microcontroller Playback and Recording Example using VS1003

  • Demonstrates using VS1003 as a slave processor
  • See PDF documentation in the package for details

Modified: 2016-05-09
Version: 1.10
Devices: VS1003
Download: vs1003an_playrec.zip

Microcontroller Playback Example using VS1011

  • Demonstrates using VS1011 as a slave processor
  • See PDF documentation in the package for details

Modified: 2016-05-09
Version: 1.10
Devices: VS1011
Download: vs1011an_play.zip

8051 Examples

8051 Modular Player Code for VS1053

  • Demonstrates using VS1053 as a slave coprocessor to an 8051 microcontroller.
  • See HTML documentation inside the zip file.

Modified: 2009-08-07
Devices: VS1053B
Download: playercode1053-Aug2009.zip

8051 Modular Player Code for VS1011, VS1002 and VS1003

  • Demonstrates using VS1011, VS1002 or VS1003 as a slave coprocessor to an 8051 microcontroller.
  • See HTML documentation inside the zip file

Modified: 2008-02-27
Devices: VS1011E, VS1002D, VS1003B
Download: playercode1011-1002-1003.zip

Flashing VS10xx Evaluation KIT V2.5 in Windows

  • Instructions to rewrite the flash image of the 8051 microcontroller

Modified: 2008-10-01
Devices: VS1011E, VS1002D, VS1003B, VS1033D, VS1053B
Download: evakit-flashing.pdf

VS1103 Karaoke Demo software

Download: 8051 + VS1103 Karaoke Demo Software, demonstrating

  • Sending WAVE and MIDI data from 8051 to VS1103
  • Recording WAV file from VS1103
  • Mixing WAVE, MIDI and MIC in VS1103
  • Reading back lyrics data and displaying it on screen
  • For documentation, see \doc\html\index.html inside the zip file.

Please see the schematic and listen the demo recording at VS1103 Karaoke Kit page.

Devices: VS1103B