Transcription of VS1063a Datasheet - VLSI
1 VS1063a DatasheetVS1063a / VS1163a / VS8063aMP3 / OGG VORBIS ENCODERAND AUDIO CODEC CIRCUITKey Features Encoders:MP3; Ogg Vorbis; PCM; IMA ADPCM; ( -law, A-law); ADPCM Decoders:MP3 (MPEG 1 & 2 audio layer III (CBR+VBR +ABR));MP2 (layer II) (optional);MPEG4 / 2 AAC-LC(+PNS),HE-AAC v2 (Level 3) (SBR + PS);Ogg Vorbis; FLAC;WMA all profiles(5-384 kbps);WAV (PCM, IMA ADPCM, -law/A-law, ADPCM) Full Duplex Codecs with optional AEC:PCM; ( -law, A-law); ADPCM; IMA ADPCM Streaming support Up to 96 KiB RAM for user code / data Unique ID for user code protection Quiet power-on and power-off I2S output interface for external DAC Serial control and data interfaces Can be used either as a slave co-processoror as a standalone processor UART for debugging purposes New functions may be added with soft-ware and up to 12 GPIO pinsDescriptionVS1063a is an easy-to-use, versatile encoder,decoder and codec for a multitude of contains a high-performance, pro-prietary low-power DSP core VS_DSP4, ROMmemories, 16 KiB instruction RAM and up to80 KiB data RAM for user applications run-ning simultaneously with any built-in decoder,serial control and input data interfaces, up to12 general purpose I/O pins, a UART, as wellas a high-quality stereo ADC, and a variable-sample-rate stereo DAC.
2 Followed by an ear-phone amplifier and a common voltage can act both as an MP3 decoderIC or MP3 encoder IC slave in a systemwith a microcontroller, or as a stand-alone cir-cuit that boots from external SPI MP3-recording audio player Streaming server and client Wireless audio transfer Standalone player and recorder Internet phonesVersion: , 2017-10-061VS1063a DatasheetAdditional Features EarSpeaker Spatial Processing Bass & treble controls Alternatively a 5-channel equalizer AD Mixer allows monitoring A/D con-verter input while listening to stream PCM Mixer allows inserting a sidestreamwhile listening to main stream Adjustable Speed Shifter Operates with a single 12.. 13 MHz or24.. 26 MHz clock Internal PLL clock multiplier Low-power operation High-quality on-chip stereo DAC with nophase error between channels Zero-cross detection for smooth volumechange Stereo earphone driver capable of driv-ing a 30 load Separate voltages for analog, digital, I/O Lead-free RoHS-compliant packageFurther DescriptionVS1063a is a pin-compatible alternative forVLSI Solution s VS1053.
3 It has all the func-tionality of VS1053 (except MP1 and MIDI decoding) and many new features, particu-larly MP3 and Ogg Vorbis full-duplex codec functions for phone ap-plications have been added to are three variants of VS1063a : the full-featured VS1063a , VS1163a without an MP3encoder, and VS8063a without any MP3 factory-programmable unique chip ID pro-vides a basis for digital rights management orunit identification ModesVS1063a operates in one of two host modes:as a slave co-processor or as a used as a slave co-processor VS1063acan operate in three different operation modes:decoder,encoderorcodecmode. IndecodermodeVS1063a receives its input bitstreamthrough a serial input bus. The input streamis decoded and passed through an 18-bit dig-ital volume control to an oversampling sigma-delta DAC. Decoding is controlled via a serialcontrol bus. In addition to the basic decod-ing, it is possible to add application specificfeatures, like DSP effects, to the user RAMmemory, or even to load user modeVS1063a reads audio fromits analog inputs, optionally compresses thedata, which then can be read by the host pro-cessor.
4 Incodec modeVS1063a offers a full-duplex audio used as a standalone processor theVS1063a can boot either from SPI EEPROMor FLASH memory. Alternatively code anddata can be provided by a host CodeUsers can write their own user interface orsignal processing code for the VS1063a us-ing VSIDE (VLSI Solution s Integrated Devel-opment Environment).As a default, there are 16 KiB of free codeRAM and about 4 KiB of free data RAM foruser plugin applications. Depending on theapplication, the data RAM can be expandedto the full 80 KiB that is available in : , 2017-10-062VS1063a DatasheetCONTENTSC ontentsVS1063 Datasheet Front Page1 Table of Contents3 List of Figures61 Disclaimer72 Licenses73 Definitions84 Product Variants85 Characteristics & Maximum Ratings .. Operating Conditions .. Characteristics .. Consumption .. Characteristics .. Characteristics - Boot Initialization.
5 126 Packages and Pin .. 137 Connection Diagram, LQFP-48168 SPI Bus Pin Descriptions .. Native Modes (New Mode, recommended) .. Compatibility Mode (deprecated, do not use in new designs) Request Pin DREQ .. Protocol for Serial Data Interface (SPI / SDI) .. in VS10xx Native Modes (New Mode, recommended) .. Timing Diagram in VS10xx Native Modes (New Mode) .. in VS1001 Compatibility Mode (deprecated, do not use in newdesigns) .. SDI Mode (deprecated, do not use in new designs) .. Protocol for Serial Command Interface (SPI / SCI) .. Read .. Write .. Multiple Write .. Timing Diagram .. Examples with SM_SDINEW and SM_SDISHARED set .. SCI Writes .. SDI Bytes .. Operation in Middle of Two SDI Bytes .. 279 Supported Audio Formats28 Version: , 2017-10-063VS1063a Audio Formats Overview .. Audio Decoders.
6 MP3 (MPEG layer III) Decoder Formats (Not VS8063a) . MP2 (MPEG layer II) Decoder Formats (Not VS8063a) .. Ogg Vorbis Decoder Formats .. AAC (ISO/IEC 13818-7 and ISO/IEC 14496-3) DecoderFormats .. WMA Decoder Formats .. FLAC Decoder Formats .. RIFF WAV Decoder Formats .. Audio Encoding Formats .. MP3 (MPEG layer III) Encoding Formats ( VS1063a Only) Ogg Vorbis Encoding Formats .. RIFF WAV Encoding Formats .. 3510 Functional Main Features .. Decoder Data Flow of VS1063a .. Encoder Data Flow of VS1063a .. Codec Data Flow of VS1063a .. EarSpeaker Spatial Processing .. Serial Data Interface (SDI) .. Serial Control Interface (SCI) .. SCI Registers .. SCI_MODE (RW) .. SCI_STATUS (RW) .. SCI_BASS (RW) .. SCI_CLOCKF (RW) .. SCI_DECODE_TIME (RW) .. SCI_AUDATA (RW).
7 SCI_WRAM (RW) .. SCI_WRAMADDR (W) .. SCI_HDAT0 and SCI_HDAT1 (R) .. SCI_AIADDR (RW) .. SCI_VOL (RW) .. SCI_AICTRL[x] (RW) .. 5311 Clocking .. Hardware Reset .. Software Reset .. Low Power Mode .. Decode Mode .. Playing a Whole File .. Cancelling Playback .. Fast Play .. Fast Forward and Rewind without Audio .. Maintaining Correct Decode Time .. Feeding PCM Data .. Encode Mode .. Encoding Control Registers .. 59 Version: , 2017-10-064VS1063a The Encoding Procedure .. Reading Encoded Data Through SCI .. File Headers .. Playing Encoded Data .. Encoder Sample Rate Considerations .. Encode Monitoring Volume .. MP3 (format 5) Encoder Specific Considerations ( VS1063a Only) .. Ogg Vorbis (format 6) Encoder Specific Considerations.
8 Estimated Minimum Encoder/Decoder Delays .. Codec Mode (Full-Duplex) .. SPI Boot .. I2C Boot .. Extra Parameters (Parametric Structure) .. Parametric: chipID, version, config1 .. Parametric: Player Configurations .. Parametric: VU Meter .. Parametric: AD Mixer .. Parametric: PCM Mixer .. Parametric: EQ5 5-band Equalizer .. Parametric: Speed Shifter .. Parametric: EarSpeaker .. Parametric: Encoding .. : WMA .. : AAC .. : Ogg Vorbis .. SDI Tests .. Sine Test .. Pin Test .. SCI Test .. Memory Test .. New Sine and Sweep Tests .. I2S Output .. Clock Speed Requirements .. Clock Speed Requirements for Decoders .. Clock Speed Requirements for Encoders .. Clock Speed Requirements for DSP Algorithms .. 8712 VS1063a Version Firmware Changes Between VS1053b and VS1063a , 2011-04-13.
9 8813 VS1063a Errata9014 Latest Document Version Changes9215 Contact Information93 Version: , 2017-10-065VS1063a DatasheetLIST OF FIGURESList of Figures1 Pin configuration, LQFP-48 .. 132VS1063a in LQFP-48 packaging .. 133 Typical connection diagram using LQFP-48 .. 164 SDI in VS10xx Native Mode, single-byte transfer .. 205 SDI in VS10xx Native Mode, multi-byte transfer,X 1.. 206 SDI timing diagram .. 217 SDI in VS1001 Mode - one byte transfer. Do not use in new designs! .. 228 SDI in VS1001 Mode - two byte transfer. Do not use in new designs! .. 229 SCI word read .. 2310 SCI word write .. 2411 SCI multiple word write .. 2412 SPI timing diagram .. 2513 Two SCI operations .. 2614 Two SDI bytes .. 2615 Two SDI bytes separated by an SCI operation .. 2716 Decoder data flow of VS1063a .. 3717 Encoder data flow of VS1063a .. 3818 Codec data flow of VS1063a .
10 3919 EarSpeaker externalized sound sources vs. normal inside-the-head sound .. 4020 Example EQ5 response request .. 7721 Example EQ5 responses at different volume settings .. 77 Version: , 2017-10-066VS1063a Datasheet2 LICENSES1 DisclaimerAll properties and figures are subject to Datasheet assumes that theVS1063a Patchespackage, available , has been loaded and information is provided in two documents calledVS1063a Hardware Guide, andVS1063a Programmer s LicensesVS1063a contains WMA decoding technology from product is protected by certain intellectual property rights of Microsoft and cannotbe used or further distributed without a license from contains AAC decoding technology (ISO/IEC 13818-7 and ISO/IEC 14496-3) whichcannot be used without a proper license from Via Licensing Corporation or individual contains spectral band replication (SBR) and parametric stereo (PS) technologiesdeveloped by Coding Technologies.