Datasheet

VS1053b Datasheet
9 OPERATION
WriteVS10xxPatch()
should perform the following SCI writes (only for VS1053b and VS8053b):
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 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, and it is also part of the VS1053b patches package.
9.8.2 Reading PCM / IMA ADPCM Data
After PCM / IMA ADPCM recording has been activated, registers SCI_HDAT0 and SCI_HDAT1
have new functions.
The PCM / IMA ADPCM sample buffer is 1024 16-bit words. The fill status of the buffer can
be read from SCI_HDAT1. If SCI_HDAT1 is greater than 0, you can read as many 16-bit words
from SCI_HDAT0. If the data is not read fast enough, the buffer overflows and returns to empty
state.
Note: if SCI_HDAT1 768, it may be better to wait for the buffer to overflow and clear before
reading samples. That way you may avoid buffer aliasing.
In IMA ADPCM mode each mono IMA ADPCM block is 128 words, i.e. 256 bytes, and stereo
Version: 1.13, 2011-05-27 52