12.07.2015 Views

VS1033 - MP3/AAC/WMA/MIDI AUDIO CODEC - VLSI Solution

VS1033 - MP3/AAC/WMA/MIDI AUDIO CODEC - VLSI Solution

VS1033 - MP3/AAC/WMA/MIDI AUDIO CODEC - VLSI Solution

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>VLSI</strong><strong>Solution</strong> y<strong>VS1033</strong>c<strong>VS1033</strong>C9. OPERATION9.3 Software ResetIn some cases the decoder software has to be reset. This is done by activating bit 2 in SCI MODE register(Chapter 8.7.1). Then wait for at least 2 µs, then look at DREQ. DREQ will stay down for at least 20000clock cycles, which means an approximate 1.6 ms delay if <strong>VS1033</strong> is run at 12.288 MHz. After DREQis up, you may continue playback as usual.If you want to make sure <strong>VS1033</strong> doesn’t cut the ending of low-bitrate data streams and you want to doa software reset, it is recommended to feed 2052 zeros (honoring DREQ) to the SDI bus after the file andbefore the reset. This is especially important for <strong>MIDI</strong> files.If you want to interrupt the playing of a WAV, <strong>AAC</strong>, <strong>WMA</strong>, or <strong>MIDI</strong> file in the middle, set SM OUTOFWAVin the mode register, and send data honouring DREQ (with a three-second timeout) until SM OUTOFWAVis cleared (SCI HDAT1 will also be cleared) before continuing with a software reset. For <strong>WMA</strong> and<strong>MIDI</strong> it is safest to continue sending the stream, send zeroes for WAV.Version 1.00, 2008-02-01 45

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

Saved successfully!

Ooh no, something went wrong!