English
Language : 

VS1011E Datasheet, PDF (37/49 Pages) List of Unclassifed Manufacturers – MPEG AUDIO CODEC
VLSI
Solution y
VS1011e
VS1011E
9. OPERATION
9.4 SPI Boot
If GPIO0 is set with a pull-up resistor to 1 at boot time, VS1011e tries to boot from external SPI memory.
SPI boot redefines the following pins:
Normal Mode
GPIO0
GPIO1
DREQ
GPIO2
SPI Boot Mode
xCS
CLK
MOSI
MISO
The memory has to be an SPI Bus Serial EEPROM with 16-bit addresses (i.e. at least 1 KiB). The serial
speed used by VS1011e is 490 kHz with the nominal 24.576 MHz clock. The first three bytes in the
memory have to be 0x50, 0x26, 0x48. The exact record format is explained in the Application Notes for
VS10XX.
If SPI boot succeeds, SCI MODE is left with value 0x0800.
9.5 Play/Decode
This is the normal operation mode of VS1011e. SDI data is decoded. Decoded samples are converted to
analog domain by the internal DAC. If no decodable data is found, SCI HDAT0 and SCI HDAT1 are set
to 0 and analog outputs are muted.
When there is no input for decoding, VS1011e goes into idle mode (lower power consumption than
during decoding) and actively monitors the serial data input for valid data.
9.6 Feeding PCM data
VS1011e can be used as a PCM decoder by sending to it a WAV file header. If the length sent in the
WAV file is 0 or 0xFFFFFFF, VS1011e will stay in PCM mode indefinitely. 8-bit linear and 16-bit linear
audio is supported in mono or stereo.
9.7 SDI Tests
There are several test modes in VS1011e, which allow the user to perform memory tests, SCI bus tests,
and several different sine wave tests.
All tests are started in a similar way: VS1011e is hardware reset, SM TESTS is set, and then a test
command is sent to the SDI bus. Each test is started by sending a 4-byte special command sequence,
followed by 4 zeros. The sequences are described below.
Version 1.04, 2007-10-08
37