12.07.2015 Views

VS1003 Datasheet - VLSI Solution

VS1003 Datasheet - VLSI Solution

VS1003 Datasheet - VLSI Solution

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>VS1003</strong>9 OPERATION9.5 SPI BootIf GPIO0 is set with a pull-up resistor to 1 at boot time, <strong>VS1003</strong> tries to boot from external SPImemory.SPI boot redefines the following pins:Normal ModeGPIO0GPIO1DREQGPIO2SPI Boot ModexCSCLKMOSIMISOThe memory has to be an SPI Bus Serial EEPROM with 16-bit addresses (i.e. at least 1 KiB).The serial speed used by <strong>VS1003</strong> is 245 kHz with the nominal 12.288 MHz clock. The firstthree bytes in the memory have to be 0x50, 0x26, 0x48. The exact record format is explainedin the Application Notes for VS10XX.9.6 Play/DecodeThis is the normal operation mode of <strong>VS1003</strong>. SDI data is decoded. Decoded samples areconverted to analog domain by the internal DAC. If no decodable data is found, SCI_HDAT0and SCI_HDAT1 are set to 0 and analog outputs are muted.When there is no input for decoding, <strong>VS1003</strong> goes into idle mode (lower power consumptionthan during decoding) and actively monitors the serial data input for valid data.All different formats can be played back-to-back without software reset in-between. Send atleast 4 zeros after each stream. However, using software reset between streams may still be agood idea, as it guards against broken files. In this case you shouldt wait for the completion ofthe decoding (SCI_HDAT0 and SCI_HDAT1 become zero) before issuing software reset.9.7 Feeding PCM data<strong>VS1003</strong> can be used as a PCM decoder by sending to it a WAV file header. If the lengthsent in the WAV file is 0 or 0xFFFFFFF, <strong>VS1003</strong> will stay in PCM mode indefinitely (or untilSM_OUTOFWAV has been set). 8-bit linear and 16-bit linear audio is supported in mono orstereo.Version: 1.06, 2012-03-16 42

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!