
VLSI
Solution
y
VS1003 PRELIMINARY
VS1003
8. FUNCTIONAL DESCRIPTION
8.6.1
SCI MODE (RW)
SCI MODE is used to control the operation of VS1003 and defaults to 0x0800 (SM SDINEW set).
Bit
Name
SM DIFF
Function
Differential
Value
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Description
normal in-phase audio
left channel inverted
right
wrong
no reset
reset
no
yes
power on
powerdown
not allowed
allowed
no
yes
right
wrong
rising
falling
MSb first
MSb last
no
yes
no
yes
no
yes
no
yes
microphone
line in
0
1
SM SETTOZERO
Set to zero
2
SM RESET
Soft reset
3
SM OUTOFWAV
Jump out of WAV decoding
4
SM PDOWN
Powerdown
5
SM TESTS
Allow SDI tests
6
SM STREAM
Stream mode
7
SM SETTOZERO2
Set to zero
8
SM DACT
DCLK active edge
9
SM SDIORD
SDI bit order
10
SM SDISHARE
Share SPI chip select
11
SM SDINEW
VS1002 native SPI modes
12
SM ADPCM
ADPCM recording active
13
SM ADPCM HP
ADPCM high-pass filter active
14
SM LINE IN
ADPCM recording selector
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.
Software reset is initiated by setting SM RESET to 1. This bit is cleared automatically.
If you want to stop decoding a WAV, WMA, or MIDI file in the middle, set SM OUTOFWAV, and send
data honouring DREQ until SM OUTOFWAV is cleared. SCI HDAT1 will also be cleared. For WMA
and MIDI it is safest to continue sending the stream, send zeroes for WAV.
Bit SM PDOWN sets VS1003 into software powerdown mode. Note that software powerdown is not
nearly as power efficient as hardware powerdown activated with the XRESET pin.
If SM TESTS is set, SDI tests are allowed. For more details on SDI tests, look at Chapter 9.7.
Version 0.92,
2005-06-07
29