English
Language : 

VS1002D Datasheet, PDF (34/54 Pages) List of Unclassifed Manufacturers – MP3 AUDIO CODEC
VLSI
Solution y
VS1002d
VS1002D
9. OPERATION
9.4 SPI Boot
If GPIO0 is set with a pull-up resistor to 1 at boot time, VS1002d 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 VS1002d 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.
9.5 Play/Decode
This is the normal operation mode of VS1002d. SDI data is decoded. Decoded samples are converted
to analog domain by the internal DAC. If there bad problems in the decoding process, the error flags of
SCI HDAT0 and SCI HDAT1 are set to 0 and analog outputs are muted.
When there is no input for decoding, VS1002d 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
VS1002d 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, VS1002d will stay in PCM mode indefinitely. 8-bit linear and 16-bit linear
audio is supported in mono or stereo.
Version 1.0, 2005-04-27
34