Datasheet

VS1053b Datasheet
10 OPERATION
WriteVS10xxRegister(SCI_MODE, ReadVS10xxRegister(SCI_MODE) |
SM_ADPCM | SM_LINE1);
#ifdef I_HAVE_THE_VS1053B_PATCHES_PACKAGE
/* Strongly recommended to use the VS1053b Patches package. Get it at
http://www.vlsi.fi/en/support/software/vs10xxpatches.html */
LoadVS1053PatchesPackage(); /* Loads patches and starts recording */
#else
/* If not using the VS1053b Patches package, you need to do these steps */
WriteVS10xxRegister(SCI_MODE, ReadVS10xxRegister(SCI_MODE) | SM_RESET);
WaitUntilDreqIsHigh(); /* Takes less than 10 milliseconds */
WriteVS10xxPatch();
#endif
selects 16 kHz, stereo mode with automatic gain control and maximum amplification of 4×.
It is strongly recommended to always run the VS1053b Patches package, available at
http://www.vlsi.fi/en/support/software/vs10xxpatches.html , when encoding. If you are not run-
ning the VS1053b Patches package, you need to implement WriteVS10xxPatch() for the exam-
ple above. The function must perform the following SCI writes:
Register Reg. No Value
SCI_WRAMADDR 0x7 0x8010
SCI_WRAM 0x6 0x3e12
SCI_WRAM 0x6 0xb817
SCI_WRAM 0x6 0x3e14
SCI_WRAM 0x6 0xf812
SCI_WRAM 0x6 0x3e01
SCI_WRAM 0x6 0xb811
SCI_WRAM 0x6 0x0007
SCI_WRAM 0x6 0x9717
SCI_WRAM 0x6 0x0020
SCI_WRAM 0x6 0xffd2
SCI_WRAM 0x6 0x0030
SCI_WRAM 0x6 0x11d1
SCI_WRAM 0x6 0x3111
SCI_WRAM 0x6 0x8024
SCI_WRAM 0x6 0x3704
SCI_WRAM 0x6 0xc024
SCI_WRAM 0x6 0x3b81
SCI_WRAM 0x6 0x8024
SCI_WRAM 0x6 0x3101
SCI_WRAM 0x6 0x8024
SCI_WRAM 0x6 0x3b81
SCI_WRAM 0x6 0x8024
SCI_WRAM 0x6 0x3f04
SCI_WRAM 0x6 0xc024
SCI_WRAM 0x6 0x2808
SCI_WRAM 0x6 0x4800
SCI_WRAM 0x6 0x36f1
SCI_WRAM 0x6 0x9811
SCI_WRAMADDR 0x7 0x8028
SCI_WRAM 0x6 0x2a00
SCI_WRAM 0x6 0x040e
This small and incomplete patch is also available from VLSI Solution’s web page
http://www.vlsi.fi/en/support/software/vs10xxpatches.html by the name of VS1053b IMA AD-
PCM Encoder Fix.
Version: 1.22, 2014-12-19 54