Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Using the VS1011, VS1002, VS1003 and VS1033 Media Codecs VLSI Solution Oy Tampere Finland VLSI Solution Oy Tampere Finland Information here is non-authorative. Always check datasheet for details! Using the VLSI Solution VS1011, VS1002, VS1003 and VS1033 media codecs - basic notes for the design engineer Presentation held by Panu-Kristian Poiksalo Application engineer [email protected] VLSI Solution Oy Tampere Finland Information here is non-authorative. Always check datasheet for details! VDD, CLK, RST ● Like any other digital circuit, the VS10xx codecs require 3 basic thigs: – Power – Clock – Reset VLSI Solution Oy Tampere Finland Information here is non-authorative. Always check datasheet for details! Power ● ● ● Different Codecs have different power requirements. All codecs can be run from a single 2.6V voltage, but might not be optimal solution New processing technology allows separate, lower voltage for CPU core – Lowers power consumption VLSI Solution Oy Tampere Finland Information here is non-authorative. Always check datasheet for details! Volts VDD Ranges 3.6 3.5 3.4 3.3 3.2 3.1 3 2.9 2.8 2.7 2.6 2.5 2.4 2.3 2.2 2.1 VDD MIN/MAX 1003 AVDD (Analog) 1003 CVDD (Core) 1003 IOVDD (I/O) 1033 AVDD (Analog) 1033 CVDD (Core) 1033 IOVDD (I/O) VLSI Solution Oy Tampere Finland Information here is non-authorative. Always check datasheet for details! 1011 AVDD (Analog) 1011 DVDD (Core+I O) 1 Linear Regulator Solution 2.6V VLSI Solution Oy Tampere Finland Information here is non-authorative. Always check datasheet for details! Important! No inductors - Use Ground Plane! - All Grounds Together! (AGND/DGND) VLSI Solution Oy Tampere Finland Information here is non-authorative. Always check datasheet for details! Clock ● Clocking options – Internal Oscillator ● – External Clock to XTALI ● ● Can use XTAL or Ceramic resonator CMOS level or “strong” XTALOUT from microcontroller's oscillator XTAL recommendation: 12.288 ... 14.000 MHz VLSI Solution Oy Tampere Finland Information here is non-authorative. Always check datasheet for details! Clocking Important! VLSI Solution Oy Tampere Finland Information here is non-authorative. Always check datasheet for details! Clock Selection ● ● VS1011 and 1002 have clock doubler – Possible to select FRQ = XTALIN or XTALIN x 2 – XTALIN from 12.288 (not all bitrates supported) to 14 Mhz or from 24.576MHz to 28 MHz VS1003 and VS1033 have clock multiplier – Many more selectons available – XTALIN from 8 MHz to 14.5 Mhz – FRQ is XTAL1 x 1 ... XTAL1 x 4.5 – FRQ can be up to 49 MHz VLSI Solution Oy Tampere Finland Information here is non-authorative. Always check datasheet for details! Core FRQ needed ● ● ● ● 28 MHz is needed to support all MP3 formats with bass and treble enhancers 24.576 MHz is enough for most but not all bitrates (320k vbr not ok) Plug-ins, user applications, spectral enhancers etc need more MHz. Small bitrate files can be decoded with less MHz to lower power consumption VLSI Solution Oy Tampere Finland Information here is non-authorative. Always check datasheet for details! Core FRQ needed ● For VS1033, XTAL x 3.0 is normal selection – ● ● Also you can allow the core to use up to 1.5x more clock if more cpu power is temporarily needed for decoding WMA streams XTALIN x (SCMULT + SCADD) must not exceed chip maximum (e.g. 49 Mhz) Example: XTALIN is 13Mhz: – Clock Multiplier: 2.5 to get 32.5 Mhz basic FRQ – Allowed addition: 1.0 to get extra 13 Mhz when needed – Total maximum is 13 x (2.5 + 1.0) = 45.5 MHz VLSI Solution Oy Tampere Finland Information here is non-authorative. Always check datasheet for details! MIDI files ● ● ● ● MIDI synthesis uses all available basic FRQ More MHz means more notes playing at the same time Select high SCMULT when playing MIDI files for best sound quality Use normal / low SCMULT to use less power VLSI Solution Oy Tampere Finland Information here is non-authorative. Always check datasheet for details! RESET ● ● Recommendation: drive xRST from microcontroller pin to get HW reset if needed Powerup/Powerdown reset circuitry is driven from IOVDD (not CVDD!) – If CVDD falls below spec before IOVDD, pops/clicks/sounds can happen – This is important mainly in the standalone player VLSI Solution Oy Tampere Finland Information here is non-authorative. Always check datasheet for details! Pull unused inputs LOW ! ● ● Unused inputs can draw up to 2 mA extra leakage power each! GPIO pins are used for boot mode selection – ● ● Floating GPIO pins can result in wrong boot mode and chip malfunction It is OK to use only 1 resistor shared for all unused inputs TEST and RX pins need to be pulled HIGH ! ● No resistor needed VLSI Solution Oy Tampere Finland Information here is non-authorative. Always check datasheet for details! ESD Protection ● ● Use ESD protection for all signals that go to external connector – GBUF, LEFT, RIGHT – Line Input – External Microphone If ESD protection is not used, attaching headphone or line input can damage chip (~0.1% probability?) VLSI Solution Oy Tampere Finland Information here is non-authorative. Always check datasheet for details! VLSI Solution Oy Tampere Finland Information here is non-authorative. Always check datasheet for details! Thank you for your attention. Please ask some questions! You can also ask questions by email: - [email protected] for the whole audio solution support team - [email protected] for app.eng. Panu-Kristian Poiksalo - [email protected] for app.eng. Pekka Lehtonen VLSI Solution Oy Tampere Finland Information here is non-authorative. Always check datasheet for details!