English
Language : 

VS1053B Datasheet, PDF (38/79 Pages) List of Unclassifed Manufacturers – Ogg Vorbis/MP3/AAC/WMA/MIDI AUDIO CODEC
VLSI
Solution y
VS1053b preliminary
VS1053B
8. FUNCTIONAL DESCRIPTION
8.7.1 SCI MODE (RW)
SCI MODE is used to control the operation of VS1053b and defaults to 0x0800 (SM SDINEW set).
Bit Name
Function
Value Description
0 SM DIFF
Differential
0 normal in-phase audio
1 left channel inverted
1 SM LAYER12
Allow MPEG layers I & II
0 no
1 yes
2 SM RESET
Soft reset
0 no reset
1 reset
3 SM CANCEL
Cancel decoding current file 0 no
1 yes
4 SM EARSPEAKER LO EarSpeaker low setting
0 off
1 active
5 SM TESTS
Allow SDI tests
0 not allowed
1 allowed
6 SM STREAM
Stream mode
0 no
1 yes
7 SM EARSPEAKER HI EarSpeaker high setting
0 off
1 active
8 SM DACT
DCLK active edge
0 rising
1 falling
9 SM SDIORD
SDI bit order
0 MSb first
1 MSb last
10 SM SDISHARE
Share SPI chip select
0 no
1 yes
11 SM SDINEW
VS1002 native SPI modes
0 no
1 yes
12 SM ADPCM
ADPCM recording active
0 no
1 yes
13 -
-
0 right
1 wrong
14 SM LINE1
MIC / LINE1 selector
0 MICP
1 LINE1
15 SM CLK RANGE
Input clock range
0 12..13 MHz
1 24..26 MHz
When SM DIFF is set, the player inverts the left channel output. For a stereo input this creates virtual
surround, and for a mono input this creates a differential left/right signal.
SM LAYER12 enables MPEG 1.0 and 2.0 layer I and II decoding in addition to layer III. If you enable
Layer I and Layer II decoding, you are liable for any patent issues that may arise. Joint licensing
of MPEG 1.0 / 2.0 Layer III does not cover all patents pertaining to layers I and II.
Software reset is initiated by setting SM RESET to 1. This bit is cleared automatically.
If you want to stop decoding a in the middle, set SM CANCEL, and continue sending data honouring
DREQ. When SM CANCEL is detected by a codec, it will stop decoding and return to the main loop.
The stream buffer content is discarded and the SM CANCEL bit cleared. SCI HDAT1 will also be
cleared. See Chapter 9.5.2 for details.
Bits SM EARSPEAKER LO and SM EARSPEAKER HI control the EarSpeaker spatial processing. If
both are 0, the processing is not active. Other combinations activate the processing and select 3 different
effect levels: LO = 1, HI = 0 selects minimal, LO = 0, HI = 1 selects normal, and LO = 1, HI = 1 selects
extreme. EarSpeaker takes approximately 12 MIPS at 44.1 kHz samplerate.
Version 0.5, 2007-12-03
38