VS1003 MP3/WMA AUDIO CODEC
Specification Decoder MP3/WMA/MIDI Encoder IMA ADPCM(WAV) MP3 and WAV Streaming SPI Interface VS_DSP Low power DSP processor
SPI Interface Serial Command Interface SCI XCS is low Support Read & Write instructions DREQ low after each SCI operation Serial DATA Interface SDI XDCS is low Support Data input (MP3, WMA)
SCI Registers Setting Mode -Stream mode -Recording mode -Reset Read Stream Data or Recording Data Recording Mode Sampling Rate Gain control Clock setting
Streaming SCI-MODE : Stream mode activation SCI-HDAT WAV : HDAT0 - 0x7761 / HDAT1 - 0x7665 WMA : HDAT0 – Data speed(Bytes/sec) / HDAT1 – 0x574D MIDI : MP3 : HDAT1HDAT0[15:8] HDAT0[7:0] 0x4D reserved 0polyphony HDAT1[15:5]SyncwordHDAT0[8]Private bit HDAT1[4:3]IDHDAT0[7:6]Mode HDAT1[2:1]LayerHDAT0[5:4]Extension HDAT1[0]Protect bitHDAT0[3]Copyright HDAT0[15:12]BitrateHDAT0[2]Original HDAT0[11:10]Sample rateHDAT0[1:0]emphasis HDAT0[9]Pad bit
Recording SCI-MODE SM_ADPCM : Activate ADPCM recording mode SM_LINE_IN : ADPCM recording selector MIC or LINE IN Clock setting SCI-CLOCKF : Internal Clock AICTRL0 : Sampling Rate AICTRL1 : Gain control Reading IMA ADPCM data Sample buffer bit words HDAT1 : status of the buffer HDAT0 : read 16bit words data
Recording RIFF/WAV file header
Recording Internal Clock : 2 * MHz Sampling rate : 8kHz 120ms512Bytes 1sec4267bytes 10sec42667bytes(42KB)
VS1063 Encoders MP3, Ogg Vorbis, PCM, IMA ADPCM Decoders MP3, MPEG4, Ogg Vorbis, FLAC, WMA, WAV(PCM, IMA ADPCM) I2S output interface for external DAC
Power Consumption VS1003 VS1063