Datasheet
VS1053b Datasheet
9 FUNCTIONAL DESCRIPTION
9.6.1 SCI_MODE (RW)
SCI_MODE is used to control the operation of VS1053b and defaults to 0x4800 (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 PCM/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 10.5.2 for details.
Version: 1.22, 2014-12-19 38